Log in

View Full Version : Language Tab?



Cotec
07-25-2010, 06:40 PM
I have come across this eror a lot, but it seems to be an autoatic code put in by Joomla;

Line 6, Column 18: there is no attribute "LANGUAGE"
<SCRIPT LANGUAGE="JavaScript">

An example can be found at Seedspace.org (http://www.seedspace.org)

I am wondering if this is viewed as an error will it effect my website at all, or can I just leave this code in there. Also is it a bad slice of code?

djr33
07-26-2010, 01:56 AM
It's mostly an irrelevant error: it will just be ignored by any browser that does not recognize it.
However, there is a problem: any browser that does not recognize that would need the newer attribute, "type", instead of "language". Because this does not have it, that means some browsers will just ignore it.

So what you have is both extra and not enough: it doesn't hurt to have the extra old version (but it doesn't help either) and not having the new version is bad.