Re: HTML 5 and the type attribute

> 
> In HTML 5 it is legal, and it is been supported by
> every browser for a 
> long time, to omit the type attribute on the style
> element starting tag.
> 
> However, the CSS validator still seems to require
> the type attribute. 
> I.e. a page containing this code will have its CSS
> code validated:
> 
> <style type="text/css">
> /* CSS rules here */
> </style>
> 
> This code will be ignored:
> 
> <style>
> /* CSS rules here */
> </style>
> 
 This is not the bug about HTML 5 only.
 In HTML 4.01 and XHTML 1.1 Markup validation Service did
not complain the line below.

<link rel="stylesheet" href="xx/xxx.css">

But CSS Validator ignore the css files specified above.

                                      TAKAHASHI Makoto.

--------------------------------------
Thanks 10 years!  Yahoo! Shopping and Yahoo! Auctions
http://pr.mail.yahoo.co.jp/ec10years/

Received on Monday, 7 September 2009 00:56:12 UTC