- From: Frank Tobin <ftobin@uiuc.edu>
- Date: Fri, 17 Nov 2000 01:39:03 -0600 (CST)
- To: Gonzalo Rubio <g.rubio@ieee.org>
- cc: www-html@w3.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Gonzalo Rubio, at 01:46 -0300 on Fri, 17 Nov 2000, wrote: > 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> According to the XHTML DTD, script is not an empty tag; it contains PCDATA; hence, you cannot use <script />. From the DTD: <!ELEMENT script (#PCDATA)> While the PCDATA may be empty, this not mean that the element <script> is empty. - -- Frank Tobin http://www.uiuc.edu/~ftobin/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: pgpenvelope 2.9.0 - http://pgpenvelope.sourceforge.net/ iEYEARECAAYFAjoU4JoACgkQVv/RCiYMT6MVGwCfd92MKcvbuy/3IBeipNhOIjd+ hB4AniWpB+xBEZMcAVhhbSG98p50dqw3 =nB3o -----END PGP SIGNATURE-----
Received on Friday, 17 November 2000 02:39:07 UTC