HTML Hyperlink Anchor Tag

HTML anchor a tag enables you to create the Hyperlink text on the HTML web page that allows the users to navigate from one page to another. HTML Hyperlink anchor a tag does not works without its very important "href" attribute. HTML a tag href attribute accepts the URL path for the destination web page. When user clicks on HTML hyperlinked text then it navigates him to the specified href path.

HTML Hyperlink-Anchor a Tag Attributes

1. href

2. target

3. id

4. name

5. title

6. rel

7. rev

You can learn about the HTML a tag and its attributes from the tutorial followed by the code page link provided at the end of this sample.

Now let's learn and practice the code for HTML anchor tag along with its attributes from the following sample:

Edit this code and click update to view output
OUTPUT: