FREE HTML CODE
Search HTML Code

HTML Link

This page contains various HTML link codes - HTML codes for creating links 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:
Example of a basic HTML link.

Here's the code used in the above example:

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 <a> tag. You can also use JavaScript to create links, but you'd only do this if you're trying to do something more complicated than HTML can handle.
| More