Summary


This hour has shown you two uses for the <a> tag not covered in Hour 3. You learned how to create named anchor points within a page and how to create links to a specific anchor. You also saw how to link to your email address so that readers can easily send you messages. You even learned how to protect your email address from spammers. The hour concluded by showing you how to link to Wikipedia encyclopedia topics from your own pages. Table 6.1 summarizes the two attributes of the <a> tag discussed in this hour.

Table 6.1. HTML Tags and Attributes Covered in Hour 6

Tag/Attribute

Function

<a></a>

With the href attribute, creates a link to another document or anchor; with the name attribute, creates an anchor that can be linked to.


Attributes

href="address"

The address of the document or anchor point to which to link.

docEmphasis">name"

The name for this anchor point in the document.





SAMS Teach Yourself HTML and CSS in 24 Hours
Sams Teach Yourself HTML and CSS in 24 Hours (7th Edition)
ISBN: 0672328410
EAN: 2147483647
Year: 2005
Pages: 345

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net