Quackit Logo
HTML
CSS
Scripting
Database
Hosting
Design
XML

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:

CodeResult

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 <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 HTML Link Codes

You can do much more with HTML links. Here are more HTML link codes - each one catering for a specific purpose.

Enjoy this page?

  1. Link to this page (copy/paste into your own website or blog):
  2. Link to Quackit using one of these banner ads.

Thanks for supporting Quackit!

Sponsored Link: Design CODE-FREE Websites