Anchor tag allows a text to be clickable to go to another webpage. In other words, we write a text and wrap that text inside anchor tag to make that text clickable.
We link another webpage URL in the anchor tag using href attribute.
<html> <head> <title>Page Title</title> </head> <body> <a href="https://www.google.com/"> Click </a> </body> </html>
When you target the mouse over the Click link, a small hand would be shown with the underline.
Attributes Of Anchor Tag
“href” is an attribute of anchor tag and it contains webpage URL.
<a href="https://www.google.com/"> Click </a>