Click to return to the DHTML, HTML     
LI Element | LI Object     LISTING Element | LISTING...     DHTML Objects    
Web Workshop  |  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!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.