PHP4 Bug #1814: <SCRIPT> tag not HTML 4.0 complient
| From: | sven at zen dot org | Date: | Thu, 22 Jul 1999 00:36:26 +0000 |
| Subject: | PHP4 Bug #1814: <SCRIPT> tag not HTML 4.0 complient | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-8932@lists.php.net to get a copy of this message | ||
From: sven@zen.org
Operating system: any
PHP version: 4.0 Beta 1
PHP Bug Type: Feature/Change Request
Bug description: <SCRIPT> tag not HTML 4.0 complient
I would like my HTML document, even with all the PHP scripts in, to be HTML 4.0 complient. To do
PHP code that is HTML 4.0 complient one has to do:
<SCRIPT LANGUAGE="php">
but the "LANGUAGE" option is deprecated in the HTML 4.0 standard. The correct option line
should be:
<SCRIPT TYPE="application/x-httpd-php">
And also, the following doesn't work:
<SCRIPT LANGUAGE="php" TYPE="application/x-httpd-php">
So I can't even shove the TYPE attribute in to make validators happy.