Re: <script> tag

"<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 UTC