 |
NICE FAQ Script
PHP FAQ / Knowledgebase / Articles Script |
|
|
|
 |
Document relationships: the LINK element |
Start tag: required, End tag: forbidden
Attributes defined elsewhere
- id, class (document-wide identifiers)
- lang (language information), dir (text direction)
- title (element title)
- style (inline style information )
- onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup (intrinsic events )
- href, hreflang, type, rel, rev (links and anchors)
- target (target frame information)
- media (header style information)
- charset(character encodings)
This element defines a link. Unlike A, it may only appear in the HEAD section of a document, although it may appear any number of times. Although LINK has no content, it conveys relationship information that may be rendered by user agents in a variety of ways (e.g., a tool-bar with a drop-down menu of links).
This example illustrates how several LINK definitions may appear in the HEAD section of a document. The current document is "Chapter2.html". The rel attribute specifies the relationship of the linked document with the current document. The values "Index", "Next", and "Prev" are explained in the section on link types. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<HTML>
<HEAD>
<TITLE>Chapter 2</TITLE>
<LINK rel="Index" href="../index.html">
<LINK rel="Next" href="Chapter3.html">
<LINK rel="Prev" href="Chapter1.html">
</HEAD>
...the rest of the document... |
|
| |
| User
Comments |
| |
|
There are no
comments posted for this article. Click here
to become first one to post a comment. |
|
|
|
| |
| |
|
| Additional
Info |
| |
| |
| Article
# |
648 |
| Posted
on |
19-11-2008 |
| Viewed |
263
times |
|
| |
|
|
|
| |
| Related
Articles |
|
| |
|
|
| |
|
|
|
|
|
|
|