Приглашаем посетить
Культурология (cult-lib.ru)

Summary

Previous Page
Table of Contents
Next Page

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.

You learned that when you're creating links to other people's pages, 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="address"

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

target="_blank"

Opens the linked page in a new browser window but doesn't conform to XHTML requirements (there is a JavaScript workaround).



Previous Page
Table of Contents
Next Page