HTML Links - HTML Internal Link

  • HTML Internal Link is linked within the same web page. This link can be absolute path or relative path.

  • HTML internal link name is followed by head sign(#). HTML <a> tag is use for anchor point name, which is referred to a internal link into a same page.

  • When click on this anchor link, It's referred link automatically scrolls and display on browser.

  • Example: <a name="Lession.1"> link can be referred as <a href="#Lession.1">Lession.1</a> automatically.

Example

<html>
<head>
</head>
<body>
  <a href="#Lession.1">Lession.1</a> <br />
  <a href="#Lession.2">Lession.2</a> <br />
  <a href="#Lession.3">Lession.3</a> <br />
  <a href="#Lession.4">Lession.4</a> <br />
  <br />

  <a name="Lession.1">Introduction of Lession.1</a>
  <p>This is sub topic.1</p>
  <p>This is sub topic.2</p>  
  <p>This is sub topic.3</p>
  <p>This is sub topic.4</p>  
  <br />
  <br />
  <a name="Lession.2">Introduction of Lession.2</a>
  <p>This is sub topic.1</p>
  <p>This is sub topic.2</p>
  <p>This is sub topic.3</p>
  <p>This is sub topic.4</p>   
  <br />
  <br />
  <a name="Lession.3">Introduction of Lession.3</a>
  <p>This is sub topic.1</p>
  <p>This is sub topic.2</p> 
  <p>This is sub topic.3</p>
  <p>This is sub topic.4</p>  
  <br />
  <br />
  <a name="Lession.4">Introduction of Lession.4</a>
  <p>This is sub topic.1</p>
  <p>This is sub topic.2</p>
  <p>This is sub topic.3</p>
  <p>This is sub topic.4</p>
</body>
</html>

Run it...   »