This page contains an example of the HTML code required for creating a link to another web page.
An HTML link is one of the easiest things to do in HTML - you can link to another website within minutes, using one line of code. Having said that, there are lots of other things you can do with HTML links. For example, you can link images, change the color of your HTML links, open a link in a new window, and much more.
Basic HTML Link
Here's an example of a basic HTML link:
As you can see, the HTML link is created using the
<a> tag - otherwise known as the 'anchor' tag. All HTML links are created with the
More HTML Link Codes
You can do much more with HTML links. Here are more HTML link codes - each one catering for a specific purpose.
- HTML link code
- Open link in new window
- Pop up windows
- HTML image link
- HTML email links
- About HTML links (from the HTML tutorial)
- HTML redirect code
- CSS links (remove underline, hover over effect, etc)