Sams Teach Yourself HTML 4 in 24 Hours

Sams Teach Yourself HTML 4 in 24 Hours

By Dick Oliver

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 readers can easily send you messages. Table 7.1 summarizes the two attributes of the <a> tag discussed in this hour.

Table 7.1. HTML Tag and Attributes Covered in Hour 7

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.
  href="&hellip" The address of the document or anchor point to which to link.
  name="&hellip" The name for this anchor point in the document.
  id="&hellip" Used exactly like name. (Include both name and id for maximum past and future compatibility.)

Share ThisShare This

Informit Network