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.



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.




PHP General Mailing List (
To unsubscribe, visit:

Reply via email to