Style Attribute Module (deprecated)


 

Reference: *Style Attribute Module at the W3C

Elements in this Module

The Style Attribute Module declares only attributes.

Common Attributes Declared by this Module

The Style Attribute Module declares the following Common Attribute in the Core Attribute Collection:

Description

This module is deprecated: see the W3C page on *The XHTML 1.1 Document Type.
Use of this module is discouraged in order to promote the separation of style from content.

The Style Attribute Module declares the style attribute, which may be applied to most elements in order to assign element-specific style declarations directly within the XHTML. For CSS styles, declarations made using the style attribute have higher precedence than other declarations applying to the same element, for the same degree of importance (Ref: *W3C CSS 2.1; The Cascade).

If you use the style attribute in your document, you should indicate the MIME type of the style declarations (typically "text/css") in a Content-Style-Type HTTP header.


Page Footer & Copyright

Copyright © Sally Maughan 2005-2009 (Page last updated on 16 May 2009)

*Valid XHTML 1.1 - hosted by *Openstrike

Content based on the W3C Working Draft: *XHTML 1.1 and Recommendation: *XHTML Modularisation 1.1.

W3C, XHTML, XML, HTML, CSS and MathML are *Trademarks of the W3C (*MIT, *ERCIM, *Keio) with which the site's author has no connection.


Up, Next & Previous Links

Your Location

Home > XHTML 1.1 Home > XHTML 1.1 Indexes > Module Index (XHTML 1.1) > Style Attribute Module (XHTML 1.1) (deprecated)