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>
    <title>Links to specific part on the HTML page</title>
    <meta charset="UTF-8">
  <div id="header">
   <h1 id="headline">Links to specific part on the HTML page</h1>
<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>
<div id="footer">
    <p><a href="#headline">Back to headline</a></p>


Back to headline

Privacy Policy