HTML Internal Linking
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>
<footer>
<a href="#top">Back to Top</a>
</footer>
</body>
</html>