• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

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



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint