Anchor <A> ... </A>

Read this tip to make your life smarter, better, faster and wiser. LifeTips is the place to go when you need to know about Tags Defined and other Html topics.

How do I use an anchor tag?

Anchor <A> ... </A>


Definition:

Provides a clickable link to another webpage or a specific point within a document.

Attributes:

ACCESSKEY="TEXT" ; CHARSET="TEXT" ; COORDS="X1,Y1,X2,Y2,ETC.." ; HREF="URL" ; NAME="TEXT" ; REL="TEXT" ; REV="TEXT" ; SHAPE="(RECT|CIRCLE|POLY|DEFAULT)" ; TABINDEX="NUMBER" ; TARGET="WINDOW".

Suggested usage:

Anchors should be the innermost elements in nested markup. However, you cannot nest anchors within other anchors. A closing tag is required.

Example:

<A HREF="http://www.html-tips.com" target="_blank">Html-Tips.com</A>

   

Comments

Nobody has commented on this tip yet. Be the first.



Name:


URL: (optional)


Comment:


Not finding the advice and tips you need on this Html Tip Site? Request a Tip Now!


Guru Spotlight
Jolyn Wells-Moran