Home > Articles > Web Development > HTML/CSS

  • Print
  • + Share This
This chapter is from the book

Summary

The <a> tag is what makes hypertext "hyper." With it, you can create clickable links between pages, as well as links to specific anchor points on any page. This hour focused on creating simple links to other pages using either relative or absolute addressing to identify the pages.

When creating links to other people's pages, you learned that it's important to include the full Internet address of each page in an <a href> tag. For links between your own pages, include just the filenames and enough directory information to get from one page to another.

Table 3.1 summarizes the <a> tag discussed in this hour.

Table 3.1 HTML Tags and Attributes Covered in Hour 3

Tag/Attribute

Function

<a>...</a>

With the href attribute, creates a link to another document or anchor.

Attributes

href="..."

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

target="_blank"

Opens the linked page in a new browser window.


  • + Share This
  • 🔖 Save To Your Account