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.
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.
a href="mailto:vkwoodard@aol.com">Email me</a>
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.