Anchor is a tag which creates a hyperlink to another webpage or a specific location on the same webpage
- Example: <a href=”https://google.com”>Google</a>
- Description: <a> refer to anchor tag and href is target link/path to navigate. here on click of Google, it will navigate to google.com.
1 2 3 4 5 6 7 8 9 |
<!DOCTYPE html> <html> <head> <title>Title</title> </head> <body> <a href="https://google.com">Google</a> </body> </html> |