a
Create either a hyperlink anchor (href attribute), fragment
identifier (name attribute), or tool tip
identifier (title attribute).
Usage:
<a href="" title="" name="" target="" style="">
</a>
| Tag Attribute | Used To... |
|---|---|
| href | Specify the URL of a hyperlink target. |
| title | Provide a tooltip for a hyperlink or text block. |
| name | Specify the name of a fragment identifier. |
| target | Define the name of the frame or window to recieve the referenced document.
In an e-mail, the best practice would be set this to target="_blank"
so the link doesn't open up in the client's mail reader.. |
| style | Specify an inline style for this tag. |
Best Practice Examples:
Using as a hyperlink (href):
<a href="http://www.laughingotter.com/pleasure/galleries/flashGallery01.html" target="_blank"><font face="Times,serif;" size="2" style="font-size: 1.1em;">See Our Photo Gallery!</font></a>
See Our Photo Gallery!
Using as a page fragment marker (name):
<a href="#foobar"><font face="Times,serif;" size="2" style="font-size: 1.1em;">Jump to the other section</font></a>
...
<a name="foobar"></a>
The next bit...
Jump to the other section
...
The next bit...
Using as a tooltip (title - hover your mouse over the hyperlink):
<a href="http://www.laughingotter.com/pleasure/galleries/flashGallery01.html" target="_blank" title="Photo Gallery using Flash and ActionScript"><font face="Times,serif;" size="2" style="font-size: 1.1em;">See Our Photo Gallery!</font></a>
See Our Photo Gallery!
NOTES:
In a text-only e-mail, write ONLY the absolute URL of your hyperlink.
Inline styling (style="color: #0000CC;") can be used within the <a> tag
to ensure the hyperlink remains a particular color. Also, as a redundancy, use the <u>...</u> tags
inside the <a>...</a> tags to ensure the hyperlink is underlined (and/or include inline styling via
style="text-decoration: underline").
This reference was created for Innovyx by Steve Cartoon Q3 2007. All rights reversed.
And here we are down somewhere else in the document...
Go Back Up