Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 139
  • Last Modified:

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.
0
100questions
Asked:
100questions
  • 2
1 Solution
 
GaryCommented:
Just add a blank link

<a href="">Some Link</a>
0
 
100questionsAuthor Commented:
This doe not work, it brings you to the index file
0
 
GaryCommented:
<a href="#">Some Link</a> 

Open in new window

0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now