Alternatively referred to as a link, a hyperlink is an icon, graphic, or text in a document that links to another file or object. The World Wide Web is comprised of hyperlinks linking trillions of pages and files to one another. For example, Computer Hope home page is a hyperlink to the main page of Computer Hope.
Why are hyperlinks used on web pages?
What happens when you click a hyperlink?
When you click, tap, or select a hyperlink, the browser leaves the current page you are viewing and opens the link for the new page. For example, you could click on any of the links below to find out more information related to hyperlinks.
Note: It is also possible to create a hyperlink (named anchor) to a location on the same page. For example, the links at the beginning of this page are all named anchors to each of the headings on this page.
Why are some hyperlinks different colors?
For usability, many websites (including Computer Hope) change the color of visited hyperlinks as a way to let the reader know what page they have already visited. For example, unless you have already viewed our motherboard page, the link should be blue. However, the link to this hyperlink page should be purple because you've visited the page, since you are reading it now.
How can I click a link without using a mouse?
A keyboard can also perform the same action as a click by pressing either the Spacebar key or the Enter key on the keyboard. For example, you can press the Tab key repeatedly to navigate through each of the links on this page. When you get to a link you want to "click" and visit, you can press the Enter key to follow that link.
How to create a hyperlink on an image
In HTML there is two ways you can create a hyperlink on an image. If you want to link the complete image you can place the img tag within the anchor tag. If you want to create a hyperlink in only part of the image you would create an image map.