0
Welcome Guest! Login
0 items Join Now

W3 Validator 34 Errors, 28 Warnings

  • W3 Validator 34 Errors, 28 Warnings

    Posted 14 years 8 months ago
    • Just passed my site thgouth the Markup Validator and got a heap of errors.

      I've knocked this number down quite a bit by editing content but these are still present.

      Apart from joomla cache and rokgzipper i don't have anything else changing the files.

      Should I be worried, what's the best way to deal with this?


      validator.w3.org/check?uri=http%3A%2F%2F...ator%2F1.1#line-1412
    • Roeland_A!'s Avatar
    • Roeland_A!
    • Preeminent Rocketeer
    • Posts: 10193
    • Thanks: 71

    Re: W3 Validator 34 Errors, 28 Warnings

    Posted 14 years 8 months ago
    • The best way to deal with it is to follow all the recommendations :)
      Start of to fix the easy ones, the first one for example, you just need to specify the attribute.
      The problem I think is mainly in one component or mod where the coder was not particalurly interested in valid html, this one is particularly easy to fix,
      Line 2276, Column 30: required attribute "type" not specified 
      <script language="javascript">✉ 
      The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element. 
       
      Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.

      do a codesearch for
      <script language="javascript">
      and simply replace with
      <script type="text/javascript">
      Codesearch is easily done for an entire site with dreamweaver, so if you don't have that, get a trial version and work with that.
      Then read up on how to alter the javascripts itself, there are the most errors.
      Adding CDATA to the javascript will also make a difference, if it is not already there.
      It will exclude javascript from the browser its parser, so it will validate easier.
      I hope that helps.
    • *Karma comes in many forms, my personal favourite is the random saucepan from the sky* J.Spencer 17-02-2009
  • Re: W3 Validator 34 Errors, 28 Warnings

    Posted 14 years 8 months ago
    • Thanks Roeland

      It been a fun ride so far getting rid of them. I do have dreamweaver, so I'll plug away on that.

      It seems HD FLV Player is resonsible for most of it

      Thanks for your help.

Time to create page: 0.049 seconds