HTML 4 Kids: Lesson Week 6

External Links

External links are links to other pages. These pages might be to another page in your site, or some other site.

<a href="http://www.askjeeves.com">AskJeeves</a>

The Link Tag
a href="URL"
Provide the URL of the site you want to link to. This information will not appear on the screen. It will appear in the message area at the bottom of the browser window when you point to the linking text.
The Linking Text
The linking text is between the <a href> tag and the </a> tags. This text will be blue unless you specify another link color in the body tag. The cursor will turn into a pointing hand when the mouse passes over it.
</a>
This completes the link.

Internal Links

Use internal links to make an index for the page. When these links are clicked on, the target are pop to the top of the browser window.

The Link
<a href="#books">Favorite Books</a>
Preceed the internal link name with a pound sign.
The Target
<a name="books">
Mark the location with the name tag.

Email Links

a href="mailto:vkwoodard@aol.com">Email me</a>

Substitute any email address after the colon. This link will open the window to write an email message. The email address will automatically be inserted for the recipient.

Title Attribute in a Link

You can add the title attribute to a link and you will get a pop-up box that to describe the link. Just add title="your description" to the link tag.

<a href="http://www.askjeeves.com" title="A Good Search Site">Ask Jeeves</a>

Using a Graphic for a Link

You can show a picture instead of text as the link.  Replace the text with the image tag.
<a href="#books"><img src = "book.gif></a>
Return