[whatwg] May <style> have an id value?

David Håsäther hasather at gmail.com
Wed Aug 22 13:12:26 PDT 2007


Ivo Emanuel Gonçalves wrote:

> HTML 4.01 and XHTML 1.1 do not allow id="" in <style>.  Does HTML 5  
> allow it?

Yes, it's a global attribute[1].

> If not, that would be something I would like to request.

Why? Not that I don't agree, but you should always provide a use case :-)


[1] http://www.whatwg.org/specs/web-apps/current-work/#global

-- 
David Håsäther



More information about the whatwg mailing list