HTML Introduction HTML Basics HTML Editor HTML Basic Tags HTML Document HTML Attributes HTML Formatting HTML Links HTML Bookmark HTML Imggages HTML images HTML Table HTML Lists HTML Forms

HTML Links - Bookmark

HTML are used to create link within a web page. It is useful when a webpage is long than one or more page.Steps to create bookmark are :
1. First create a bookmark using id attribute.
<h1 id=“exp1”> bookmark example<h2>
2. Add a link to the bookmark name within the page.
<a href=“exp1”> Visit bookmark example<h2>


Try It Yourself