0% found this document useful (0 votes)
23 views2 pages

HTML Internal Linking

Uploaded by

Muthamil0593
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views2 pages

HTML Internal Linking

Uploaded by

Muthamil0593
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

HTML Internal Linking

Internal linking in HTML allows you to create links within the same webpage,
helping users jump to specific sections of a page. This is achieved using anchors
(<a> tag) and HTML element id attributes.

<!DOCTYPE html>
<html>
<head>
<title>Internal Linking Example</title>
</head>
<body>

<nav>
<a href="#section1">Section 1</a> |
<a href="#section2">Section 2</a> |
<a href="#section3">Section 3</a> |
<a href="#top">Back to Top</a>
</nav>

<h1 id="top">HTML Internal Linking</h1>

<h2 id="section1">Section 1</h2>


<p>This is the content of Section 1.</p>
<p>This is the content of Section 1.</p>
<p>This is the content of Section 1.</p>
<p>This is the content of Section 1.</p>
<p>This is the content of Section 1.</p>
<p>This is the content of Section 1.</p><p>This is the content of Section
1.</p>
<p>This is the content of Section 1.</p>
<p>This is the content of Section 1.</p>
<p>This is the content of Section 1.</p>
<p>This is the content of Section 1.</p><p>This is the content of Section
1.</p>
<p>This is the content of Section 1.</p>
<p>This is the content of Section 1.</p>
<p>This is the content of Section 1.</p>
<p>This is the content of Section 1.</p>

<h2 id="section2">Section 2</h2>


<p>This is the content of Section 2.</p>
<p>This is the content of Section 2.</p>
<p>This is the content of Section 2.</p>
<p>This is the content of Section 2.</p>
<p>This is the content of Section 2.</p>
<p>This is the content of Section 2.</p>
<p>This is the content of Section 2.</p>
<p>This is the content of Section 2.</p>
<p>This is the content of Section 2.</p>
<p>This is the content of Section 2.</p>
<p>This is the content of Section 2.</p><p>This is the content of Section
2.</p>

<h2 id="section3">Section 3</h2>


<p>This is the content of Section 3.</p>
<p>This is the content of Section 3.</p>
<p>This is the content of Section 3.</p>
<p>This is the content of Section 3.</p>
<p>This is the content of Section 3.</p>
<p>This is the content of Section 3.</p>
<p>This is the content of Section 3.</p><p>This is the content of Section
3.</p>
<p>This is the content of Section 3.</p>
<p>This is the content of Section 3.</p><p>This is the content of Section
3.</p>

<footer>
<a href="#top">Back to Top</a>
</footer>
</body>
</html>

You might also like