W3C home > Mailing lists > Public > public-html@w3.org > March 2012

[Bug 16231] New: Why do I have to end the script tag when loading a script from an external resource? I have to do: <script src="foo.js"></script> I think it should be enough to do: <script src="foo.js" />

From: <bugzilla@jessica.w3.org>
Date: Mon, 05 Mar 2012 13:21:32 +0000
To: public-html@w3.org
Message-ID: <bug-16231-2495@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16231

           Summary: Why do I have to end the script tag when loading a
                    script from an external resource? I have to do:
                    <script src="foo.js"></script> I think it should be
                    enough to do: <script src="foo.js" />
           Product: HTML WG
           Version: unspecified
          Platform: Other
               URL: http://www.whatwg.org/specs/web-apps/current-work/#top
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P3
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: contributor@whatwg.org
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


Specification: http://dev.w3.org/html5/spec/
Multipage: http://www.whatwg.org/C#top
Complete: http://www.whatwg.org/c#top

Comment:
Why do I have to end the script tag when loading a script from an external
resource?

I have to do:
<script src="foo.js"></script>
I think it should be enough to do:
<script src="foo.js" />

Posted from: 212.247.162.243
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20100101
Firefox/10.0.2

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Monday, 5 March 2012 13:28:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:17:46 GMT