Intradocument Hyperlink

Also known as a named document link, is linking to a location on the same page and to specific locations on another web page.
To link to a specific location on a web page, use an anchor tag with pound sign # and the id attribute.
The pound sign # indicates that you’re pointing to a spot on the same page.
The id attribute must be a unique value and cannot contain spaces.
EXAMLE: go to footer







<!DOCTYPE html>
<html>
  <head>
    <title>Links to specific part on the HTML page</title>
    <meta charset="UTF-8">
  </head>
  <body>
  <div id="header">
   <h1 id="headline">Links to specific part on the HTML page</h1>
  </div>
<h2>Intradocument Hyperlink</h2>
 <p>Also known as a named  <font color="red">document link</font>,  
is linking to a location on the same page and to specific locations on another web page.<br>
To link to a specific location on a web page, use an anchor tag with  pound sign  
<font color="red">#</font> and the  <font color="red">id</font> attribute.<br>
The pound sign <font color="red">#</font> indicates that you’re pointing to a spot on the same page.<br>
The <font color="red">id</font> attribute must be a unique value and can not contain spaces.<br>
EXAMLE: <a href="#footer">go to footer</a>
 </p>
<br>
<div id="footer">
 <h4>FOOTER</h4>
    <p><a href="#headline">Back to headline</a></p>
</div>
  </body>
</html>



FOOTER

Back to headline