Skip to Content
Web Design in a Nutshell, 3rd Edition
book

Web Design in a Nutshell, 3rd Edition

by Jennifer Robbins
February 2006
Intermediate to advanced
826 pages
63h 42m
English
O'Reilly Media, Inc.
Content preview from Web Design in a Nutshell, 3rd Edition

Name

link

Synopsis

<link />

Defines the relationship between the current document and another document. Although it can signify such relationships as index, next, and previous, it is most often used to link a document to an external style sheet.

Attributes

Core(id, class, style, title), Internationalization, Events

charset=" charset "

Specifies the character encoding of the target document. See Chapter 6 for information on character sets.

href=" URL "

Identifies the target document.

hreflang=" language code "

Specifies the base language of the target document. See Chapter 6 for a list of two-letter language codes.

media="all|screen|print|handheld|projection|tty|tv|projection|braille|aural"

Identifies the target medium for the linked document so an alternate style sheet can be accessed. The media attribute is explained in more detail in Chapters 16 and 36.

rel=" relationships "

Describes one or more relationships from the current source document to the target. Common relationship types include stylesheet, next, prev, copyright, index, and glossary.

rev=" relationships "

Specifies one or more relationships of the target document back to the source (the opposite of the rel attribute).

target="name"

Defines the default target window for all links in the document. Often used to target frames.

type=" resource "

Shows the media or content type of an outside link. The value text/css indicates that the linked document is an external Cascading Style Sheet.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning Responsive Web Design with HTML5 and CSS3

Beginning Responsive Web Design with HTML5 and CSS3

Jonathan Fielding

Publisher Resources

ISBN: 0596009879Errata Page