Results 1 to 2 of 2

Thread: Language Tab?

  1. #1
    Join Date
    Jul 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Language Tab?

    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

    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?

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    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.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •