anchor tag code example
Example 1: anchor tag
The HTML element (or anchor element), with its href attribute,
creates a hyperlink to web pages, files, email addresses, locations
in the same page, or anything else a URL can address. Content within
each should indicate the link's destination.
Use:
Example 2: a tag html
Text in link
Example 3: html anchor tag
The tag defines a hyperlink, which is used to link from one page to another.
The most important attribute of the element is the href attribute, which indicates the link's destination.
By default, links will appear as follows in all browsers:
1. An unvisited link is underlined and blue
2. A visited link is underlined and purple
3. An active link is underlined and red
Creating a link to programmingquest.com:
Visit ProgrammingQuest