2011-11-29 19:39, Elli Vizcaino wrote:

In practice it is best to omit the type attribute, since it serves no useful
purpose but can cause harm if misspelled.

Thanks! I thought the type attribute was required.

It's required in HTML 4. In HTML5 drafts, it isn't.

So w/o it, a document will still validate and be interpreted as it should be?

Browsers treat the content as a CSS stylesheet, yes. No, the HTML markup won't validate, unless you're using HTML5.

Yucca
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to