Share via


? xml-stylesheet XHTML Element

Send Feedback

The ? xml-stylesheet element is used to associate a style sheet with a document. The element has no closing tag, but does have a special closing character format.

Using this Element

This element can be used within a web page with attributes.

This element can be used within scripts where it will have properties, events and methods.

Attributes

Attribute Value PPC SP Description
alternate yes or no Yes Yes Alternate stylesheets are explicitly ignored.
href   Yes Yes Identifies the CSS style file to be used.
media   Yes Yes  
  all Yes Yes  
  handheld Yes Yes  
  screen Yes Yes  

Scripting Properties

This element has no scripting properties.

Scripting Events

This element has no associated events.

Scripting Methods

This property has no associated methods.

Requirements

Pocket PC: Windows Mobile 5.0 and later
Smartphone: Windows Mobile 5.0 and later
OS Versions: Windows CE 5.01 and later

See Also

XHTML Elements

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.