W3C home > Mailing lists > Public > www-html@w3.org > November 2000

Re: <script> tag

From: Yuu Morita <yuu@os.rim.or.jp>
Date: Fri, 17 Nov 2000 14:35:17 +0900
Message-ID: <136001c05058$2b750f90$1300a8c0@yuu1>
To: "Gonzalo Rubio" <g.rubio@ieee.org>, <www-html@w3.org>
"<script />" is invalid as HTML documents.
Even if you're writing XHTML documents, I believe that using "<script></script>" is better because any browsers are rendering as
HTML documents.

----- Original Message -----
From: Gonzalo Rubio
To: www-html@w3.org
Sent: Friday, November 17, 2000 1:46 PM
Subject: <script> tag


> Hello.
>
> I have a doubt and I wonder if anyone could help me:
>
> Since the <script> tag is and empty tag, can I write <script language="javascript" src="whatever.js" />,
> instead of <script language="javascript" src="whatever.js"></script>
>
> Thanks,
>
> PS: I'm sorry if the question is TOO obvious.
>
> PS2: Forgive me for my english
>
> ---------------------------------------------------------------------------------
> Gonzalo Rubio
> Vicedirector de Publicidad / Publicity Vicedirector
> Rama Estudiantil IEEE de Fceia Rosario / Fceia IEEE student Branch, Rosario
> Argentina
Received on Friday, 17 November 2000 00:35:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:44 GMT