[whatwg] HTML 5 Script Tag
gregory.houston at gmail.com
Thu Aug 6 13:56:40 PDT 2009
On Thu, Aug 6, 2009 at 3:36 PM, Cready, James<jcready at rtcrm.com> wrote:
> Is there any good reason why a <script> tag with the src attribute specified
> can’t be self-closing?
> I feel like, if you’re including an external JS file, the syntax should look
> more like the <link> tag used to include CSS files or even the <img> tag
> with it’s src attribute.
This makes sense to me as well. Last week a user of my framework
and it turned out he was trying to self-close the script tags in the
header. So for at least some percentage of people the intuited
expectation is that the script tag can be self-closing like the link
User Interface Design and Frontend Development
More information about the whatwg