LINK Element | LINK Object

DHTML, HTML, & CSS

LINK Element | LINK Object


Enables the current document to establish links to external documents.

HTML Syntax

<LINK
    DISABLED
    HREF=url
    ID=value
    MEDIA=SCREEN | PRINT | ALL
    REL=STYLESHEET
    REV=STYLESHEET
    TITLE=text
>

Remarks

The LINK element can be used only within the HEAD tag.

The LINK element does not require a closing tag.

This element is available in HTML as of Microsoft® Internet Explorer 3.0, and in script as of Internet Explorer 4.0.

Members

Example

This example uses the LINK element to apply an external style sheet, called styles.css, to the page.

<LINK REL=stylesheet HREF="styles.css">

Back to topBack to top

Did you find this topic useful? Suggestions for other topics? write us!Internet Link

© 1999 microsoft corporation. all rights reserved. terms of useInternet Link.