+ 6
In link insertion href meaning??
<a href""=></a> here
3 Respostas
+ 6
("A" is for "anchor", "HREF" is for "hypertext reference") The href attribute specifies the URL of the page the link goes to.
+ 4
you could also use the value in the href attribute to navigate to an element on the current page (ex: at the bottom of the page you could have a "scroll to top" link)
<a href="#myDiv">scroll to top</a>
or if u don't want it to navigate to anything
<a href="javascript:null();">my link</a>
or you could even do inline JavaScript
<a href="javascrpt:alert('hello world');">click me</a>
+ 1
simple, you use tag 'a' with attribute href when you need to put a link in your web page, or an anchor... so, the 'a' is name of teg and href is attribute that specify a URL, address of another site or another HTML file in your directory... success