★ wanayoo — archive 1999 http://www.msdn.microsoft.com/workshop/author/dhtml/reference/objects/link.aspNouvelle recherche | Portail wanayoo
MSDN Online Web Workshop   All Products  |   Support  |   Search  |   microsoft.com Home  
microsoft.com Home
  Home  |   Magazines  |   Libraries  |   Developer Centers  |   Resources  |   Downloads  |   Search MSDN
 
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=/old?u=http%3A%2F%2Fwww.msdn.microsoft.com%2Fworkshop%2Fauthor%2Fdhtml%2Freference%2Fobjects%2F%3C%2FB&y=1999>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="/old?u=http%3A%2F%2Fwww.msdn.microsoft.com%2Fworkshop%2Fauthor%2Fdhtml%2Freference%2Fobjects%2Fstyles.css&y=1999">