Name
<LINK> — NN 4 IE 3 HTML all
Synopsis
<LINK>...</LINK>
End Tag: Forbidden
Unlike the
A
element (informally called a link when it
contains an HREF
attribute), the
LINK
element belongs inside the
HEAD
element and is a place for the document to
establish links with external documents, such as style sheet
definition files or font definition files. By and large, browsers
have yet to exploit the intended powers of this element. A variety of
attributes let the author establish relationships between the current
document and potentially related documents. In theory, some of these
relationships could be rendered as part of the document or browser
controls. Implementations of this element in both Navigator 4 and
Internet Explorer 4 are rather weak compared to the HTML 4.0
specification. At the same time, several attributes (and all event
handlers) defined in the HTML 4.0 specification aren’t very
helpful because they more typically apply to elements that actually
display content on the page. No explicit document content is rendered
as a result of the LINK
element. Some of those
attributes may be listed by mistake or merely for consistency. They
are listed here, but because they are not implemented in browsers,
they are supplied for informational purposes only.
Example
<HEAD> <TITLE>Section 3</TITLE> <LINK REV="Prev" HREF="sect2.html"> <LINK REL="Next" HREF="sect4.html"> <LINK REL="stylesheet" TYPE="text/css" HREF="myStyles.css"> </HEAD>
Object Model Reference
- IE
[window.]document.all.elementID ...
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.