HTML Hyperlink is used to link from one page to another. Use “<a> tag” to create a Hyper link. In <a> tag href attribute needed link’s destination.
Some Hyperlinks terms are in HMTL:-
- Visited Link:- A visited link is underlined and purple.
- Hover Link:- Move the mouse over a link, the mouse arrow will turn into a little hand.
- Active Link:- The default link color for browsers is blue. The default link color for browsers is blue. (Non visited)
Q: How to create a hyperlink in HTML?
Answer: You have to use <a> tag to insert (create) a hyperlink in an HTML page.
Example code for HTML Hyperlink
<a href="https://www.google.com/">Google Link</a>
The tag indicates where the hyperlink starts and the tag indicates where it ends.
Read more: HTML a tag( HTML anchor tag)
Do comment if you have any doubts and suggestions on this tutorial.
Note: The All HTML Examples codes are tested on the Firefox browser and the Chrome browser.
OS: Windows 10
Code: HTML 5 Version