Anchors

Posted by admin | Posted in HTML Tutorial | Posted on 11-08-2010-05-2008

0

An anchor can be given a name of its own, this name is used for the internal linking within the page.

  • <h2>HTML Links and Anchors<a name=”top”></a></h2>
  • <h2>HTML Text Links<a name=”text”></a></h2>
  • <h2>HTML Email<a name=”email”></a></h2>

Now create the reference links, placing the # symbol followed by the name of the anchor in the href of the new link.

Anchor Code:

  • <a href=”#top”>Go to the Top</a>
  • <a href=”#text”>Learn about Text Links</a>
  • <a href=”#email”>Learn about Email Links</a>

Local Links:

  • Go to the Top
  • Learn about Text Links
  • Learn about Email Links

Write a comment

Twitter Users
Enter your personal information in the form or sign in with your Twitter account by clicking the button below.