This page is Not Ready

Notice: The WebPlatform project has been discontinued when the Stewards partnership agreement ended in September 2015. This site has been frozen, and the assets we have created will remain.

contentStyleType

Notes

Remarks

Do not set the contentStyleType property. If you try to set this property, it causes an error.

Because CSS is the only common language for inline styling, and because CSS is the default language if you do not specify the contentStyleType property, all browsers do not support this property well. As a result, the contentStyleType property and its corresponding attribute are deprecated. You should not use this property in new content. Future versions of the SVG specification might remove this property.

Syntax

Standards information

See also

Related pages

Attributions