|
|
|
|
|
by eyelidlessness
3567 days ago
|
|
> The "bad input" is, arguably, no longer bad input. What? Yes it is! Defined behavior for invalid markup doesn't make that markup valid. HTML5 doesn't refuse to accept anything that HTML 4 accepted. Defining behavior for invalid markup does not even impact "be liberal in what you accept", the scope of what is accepted hasn't changed. It affects "be conservative in what you send", in particular it more closely matches that half of the principle. |
|
It does. It doesn't accept NET syntax, i.e., `p/This is contents of a p elements/`. (No browser ever supported this, but because HTML 4 is defined to be an SGML application and it's DTD allows NET syntax to be used, it is theoretically conforming HTML 4.)