We have known a little before about the tags of the form of HTML in this chapter we will go into detail about the tags of HTML.<a> It reflects a hyper link.The tag has href=”” attribute in which a link to another page is given which needs to be linked.
If you want to bookmark a document, then we can come and make those bookmarks with the help of tags.This is also called hyperlink, which is used to link one page to another page.
Here is an example of how a page is linked to another page with the help of tags.
Now when we come and click on this tag, it will take us to our web site learnhtmlcoding.
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Hyper Link</title> </head> <body> <a href="https://learnhtmlcoding.com">Click on this link</a> </body> </html>
By default in most browsers, the link looks like this.
- A visited link is underlined and purple.
- An active link is underlined and red.
- An unvisited link is underlined and blue.
All modern browsers support this property of HTML.