The HTML anchor tag defines a hyperlinks that links a page to anchor page. Anchor tag can create a link to another page as well as files, location or any other URL. The "href" attribute is the most important attribute of the HTML tag, which links to the destination page or URL.
By default, links will appear as follows in most of the browsers.
An unvisied link is underlined and blue.
A visited link is underlined and purple.
An active link is underlined and red.
However you can overwrite this using CSS.
HTML Link Syntax:
Links are specified in HTML using the <a> tag.
A hyperlink can be given to word, group of words, or image
<a href="url">Text Link</a>
By default anchor tag links open in same browsers window.
Target attribute specify the location of the link. If you want to open the link in new tab use target attribute _blank.
Click on this-link to go on home page of Tutorialsmint.