Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does <a href="#">Click here</a> mean? [closed]

Tags:

html

What does <a href="#">Click here</a> mean?

like image 757
Unknown Avatar asked Apr 26 '11 10:04

Unknown


People also ask

What does a href do in HTML?

Definition and Usage. The href attribute specifies the URL of the page the link goes to. If the href attribute is not present, the <a> tag will not be a hyperlink. Tip: You can use href="#top" or href="#" to link to the top of the current page!

Whats does href mean?

(Hypertext REFerence) The HTML code used to create a link to another page. The HREF is an attribute of the anchor tag, which is also used to identify sections within a document.


2 Answers

It means "Render a hyperlink that takes the visitor to the top of the page and label it with the, distinctly uninformative, text Click here"

like image 140
Quentin Avatar answered Oct 25 '22 13:10

Quentin


<a  href="#Bookmark1" target="frame1">
  Link text that leads to Bookmark1 in the current document
</a>

<a  href="http://www.foo.com/index.html#Bookmark1" target="frame1">
  Link text that leads to Bookmark1 in index.html at www.foo.com
</a>

If no Bookmark is specified in the HREF statement, the browser will default to the top of the document.

From Hyperlink [A Href]

like image 22
CloudyMarble Avatar answered Oct 25 '22 12:10

CloudyMarble