Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Ah, I just checked, and no you can't. So I guess that's a third difference. Thanks for the correction!

Another correction I noticed when looking that up: I meant to say XHTML 1.0 Transitional, not 1.1. 1.1 was Strict-only.



And thinking about it weren't value-less attributes also illegal? I remember doing a lot of

    <button disabled="disabled">...</button>
in XHTML, instead of

    <button disabled>...</button>
in HTML.

Even SGML has problems with expressing an attribute like that from what I remember reading of someone's attempt to specify HTML 5 using an SGML DTD.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: