What is a hyperlink?
A hyperlink is a clickable element on a webpage that takes you to another location when you click it.
That location can be:
- another page on the same website
- a different website
- a specific section within a page
- a file (like a PDF or image)
- an email address
Simple explanation
A hyperlink is usually text or an image that you click to go somewhere else.
Example on a webpage:
- Click “Contact Us” → it opens the contact page.
- Click “Download the PDF” → it downloads a file.
How it works in HTML
Hyperlinks are created with the anchor (<a>) tag.
Example:
<a href="https://example.com">Visit Example</a>
href = the destination of the link- Visit Example = the clickable text
What users usually see
Hyperlinks are often:
- blue
- underlined
- change color after being clicked
Example:
Learn more about our programs.
Here, “Learn more” could be the hyperlink.
If you're creating a tutorial, I can also show:
- a visual diagram of how hyperlinks work
- a simple beginner definition vs technical definition
- how hyperlinks differ from anchors (since you asked about that earlier).