This is an ad.
 
Webmonkey Kids
Webmonkey Kids
Lessons
Projects
Playground
Tools

Paragraphs
icon Aligning Text
Bold Text
Italic Text
Line Breaks
Comment
Links
Mailto



Parents and Teachers:
Find out how your kids can use Webmonkey for Kids as a learning tool at home or in the classroom with our Planning Guide.

Send us feedback

Lesson B: Messing with Your Text
Links


<a href="?"> creates a link

</a> closes a link

Without links, the Web would be useless. After all, links are what make the Web a web. You can add links that connect your page to other sites on the Net.

Before you make a link, you need the URL of the page you're linking to. (The URL is that "http://www.whatever.com" thingy that makes up Web addresses.)

Then decide which word (or words) on your page will act as the link. The link will be the hot spot, where people can click if they want to go somewhere else. Links are generally underlined and appear on the browser in a different color than the rest of the text (they usually show up as blue unless you make them another color).

To create a link, you should sandwich your selected words between the "anchor" tags (<a href="?"> and </a>), replacing the "?" with the correct URL.

The HTML for a link looks like this:

<a href="http://www.hits.org/">Visit Hits.org</a>!

And would appear in a browser like this:

Visit Hits.org!

Back

Next Page