HTML A <a> Tag
The HTML A <a> element, called anchor element, it used to create a hyperlink to another webpage or another location within the same webpage.
The hyperlink created by an anchor element is applied to the text, image, or other HTML content which is nested between the opening and closing <a> tags.
There are three types of link:
- An unvisited link is underlined and blue
- A visited link is underlined and purple
- An active link is underlined and red
<!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <title>a tag</title> </head> <body> <h1> a tag </h1> <a href="https://www.codingtag.com">Visit codingtag.com!</a> </body> </html>
Pavan Singh Jan 18, 2022
This was very easy to understand. Great Job sir
Rahul Rao Jan 18, 2022