Link to home
Start Free TrialLog in
Avatar of E=mc2
E=mc2Flag for Canada

asked on

How do I insert a link in an html webpage which is the name of the file itself?

I need an HTML command which when inserted in an HTML webpage, it will pick up the name of the html file and it links to it as well.

Ie

A web page called NewInformation.html.
When I open NewInformation.html,   I want somewhere in the page the NewInfomation to show and when you click on it it must link to itself.
Avatar of Gary
Gary
Flag of Ireland image

Just add a blank link

<a href="">Some Link</a>
Avatar of E=mc2

ASKER

This doe not work, it brings you to the index file
ASKER CERTIFIED SOLUTION
Avatar of Gary
Gary
Flag of Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial