Re: help, please, understanding my problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 5:32 PM +0000 2/22/10, Ashley Sheridan wrote:
On Mon, 2010-02-22 at 12:33 -0500, tedd wrote:


At 3:15 PM +0000 2/22/10, Ashley Sheridan wrote:
Also, your script tags need a type attribute:

 ><script language="javascript" type="text/javascript">


Actually, you only need this:

<script type="text/javascript">

The language attribute will throw an error in validation.

Cheers,

tedd


Never thrown an error for me! I guess it depends on what doctype you use?

I was trying to be discreet.

The "language" attribute has been depreciated. If you use a "transitional" DOCTYPE, then it won't throw an error -- but the "language" attribute is outdated and some consider it poor coding practice to use depreciated attributes.

Cheers,

tedd

--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux