HTML Intro

HTML Intro Quiz

HTML Intro Exercise

HTML Basics

HTML Basic Quiz

HTML Basic Exercise

HTML Advance

HTML Advance Quiz

HTML Advance Exercise

HTML Tags List

HTML Global Attributes

HTML Attributes


What is an Anchor tag in HTML

What is an Anchor tag in HTML?


An anchor tag is basically used for linking two web pages, sections, or website templates in HTML. It is defined in the following ways:-

<a href=”#” target=”link”></a>

In this, "href" is attribute of anchor tag used to identify sections in document and "link" is defined in the target attribute, which is to be linked.

Code Explanation

All Tutorials related to FAQs

All Sections related to HTML