Sams Teach Yourself Internet and Web Basics All in One

What's in a Link?

Every link has two parts. Creating links is a simple matter of choosing a spot on the page for the link and then supplying both parts :

  • The link text ” the actual text (or graphic) that appears on the page to represent the link. When a visitor activates a link, he or she clicks the link text to activate the unseen URL underneath.

  • The link location ” the URL describing the page, file, or Internet service to be accessed when the link is activated.

You can create menus or directories of links, like those shown in Figure 23.1, by making each link a separate line in a list. But links don't have to be on separate lines, as Figure 23.1 shows. You can use any words or phrases in your page as links, including headings (or words in headings), words in body text paragraphs, list items, or even single characters in any paragraph property.

Figure 23.1. Links ( underlined ) in text and by themselves in a menu.

The link text takes on the paragraph properties of the text it is inserted into or closest to, but you can change the paragraph properties of the link text at any time, just as you would for any other text. The underlying link is undisturbed by such changes.

Категории