W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2009

[whatwg] HTML 5 Script Tag

From: Cready, James <jcready@rtcrm.com>
Date: Fri, 14 Aug 2009 11:48:23 -0400
Message-ID: <C6AAFF87.4B2F%jcready@rtcrm.com>
> 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
Received on Friday, 14 August 2009 08:48:23 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:15 UTC