HTML
HTML introduction
HTML basics
HTML colors
HTML backgrounds
HTML text
HTML font
HTML text formatting
HTML entities
Display tags
HTML links
Email links
Types of links
HTML images
HTML image maps
HTML tables
HTML frames
HTML forms
Fieldset/legend tags
HTML stylesheets
Div/span tags
HTML layout
HTML marquees
HTML multimedia
HTML meta tags
HTML document types
HTML base tag
HTML scripts
URL formatting
Encoding and decoding
HTML summary

Programming

Programming intro
Java

Markup

First webpage guide
XHTML

Style & Layout

CSS

Browser scripting

Javascript
VBScript
AJAX

Server scripting

PHP
ASP

Making money online

Make money online

HTML links

Links are used to create connections to other documents and other resources such as images or sound files on the world wide web.

This lesson focuses on:

The <a> tag

The <a> (anchor) tag is the tag used to create links on a webpage.

Attributes of the <a> tag:

Examples

Linking to other websites
This example demonstrates linking to other websites.

Linking to pages in other directories
This example demonstrates linking to pages in other directories.

See more HTML links examples

Exercises

Create a page that links to various search engines (google, yahoo, altavista, lycos, etc). [Click here to see solution]

Create a page that links to five different pages on different websites that should all open in a new window. [Click here to see solution]

See more HTML links exercises

Practice

Online code editor
Practical examples
Practical exercises
Step-by-step tutorials

Reference

Terms glossary
Reference material

Rate this site

Rate this site
Visitor comments