[whatwg] HTML 5 Script Tag
Cready, James
jcready at rtcrm.com
Fri Aug 14 08:48:23 PDT 2009
> No elements in text/html can be self-closing.
Except of course for the following: <area> <base> <br> <col> <command>
<embed> <hr> <input> <img> <link> <meta> <param> and <source>
And these "obsolete elements" still supported by legacy UAs: <basefont>
<bgsound> and <wbr>
> Generally speaking I think we should avoid making the platform have too
> many redundant features, however illogical some of them might be.
<article> == <section> == <div>
<aside> == <details> == <figure>
<i> == <em>
<b> == <strong>
<span> == <mark>
<caption> == <legend> (if it was allowed inside <table>)
> I agree that some people expect this. I don't think that making it work
> with exactly one element and dependent on the presence of an attribute is
> the way to improve this situation, however.
It already works this way. The browser ignores everything inside the
<script> tag the moment you put these three letters inside the brackets:
"src"
--
James W Cready
More information about the whatwg
mailing list