Site hosted by Angelfire.com: Build your free website today!

HTML>HTML Links>Anchored Links

 

Anchored Link Mailto Link

The Anchored Link Tag

The anchored link tag, <a> allows you to link to other pages you may have created or to any resource on the Web such as another webpage, an image, a sound file, a movie, etc.

To add a link you use the <a href="location"> opening tag and </a> closing tag.

The <a> tag is used to create an anchor to link, the href attribute is the address of the document to link to. This can be the name of one of your pages or in the case where it is a page on the web, the URL address of the page you wish to browse. This is the address as displayed by your browser.

Whatever appears between the <a> and </a> will become underlined and coloured. If you click on the underlined text it will send the browser to the location within the location quotes.

Example

Try it out for yourself!

Examine the HTML code below. Cut and paste (Ctrl v + Ctrl c) the following HTML code into the form window below and press the check it out button to see the resulting webpage.

<html>
<head><title>Anchored Links</title></head>
<body>
<h2>Links</h2>
<p>So you want to search the web, why not try the<a href="http://www.google.com/">Google</a> search engine!
</body>
</html>

Creating your own webpage

Follow these simple steps to create your own webpage and to view your created webpage in your browser.

HTML Definition List TagHTML Definition List TagHTML Mailto TagHTML Mailto Tag

 

 

HTML OverviewHTML RequirementsHTML TagsHTML Document StructureViewing HTML Source CodeHTML Heading TagHTML Paragraph TagHTML Line Break TagHTML Comment TagHTML Horizontal Rule TagHTML Block Quote TagsHTML Font Size AttributeHTML Font Colour TagHTML Font Type TagHTML Teletype TagHTML Alignment TagHTML Ordered ListsHTML Unordered ListsHTML Definition ListsHTML Mailto Link TagsHTML Image TagsLets create a webpageTake the HTML QuizHTML Quick Reference GuidePublishing your Website