HTML Tidy

 
 
HTML tidy is a command line tool which automatically checks html/xhtml/xml pages for mistakes and tidy up sloppy editing into nicely layed out markup. The tool can be used for a very wide range of platforms.

Originally created by Dave Raggett and now maintained by the open source community at Source Forge.

HTML tidy is distributed at no charge for commercial or non-commercial use and made available under the W3C license.

The latest HTML tidy version can be downloaded from: http://tidy.sourceforge.net

The HTML tidy configuration options quick reference can be found at: http://tidy.sourceforge.net/docs/quickref.html

rss feed

Quick guides






HTML Tidy error messages.



Information
none

Operating system used
Windows XP Home Edition Version 5.1 SP 2


Procedure
  1. Message: Warning: '<' + '/' + letter not allowed here?

    The error message can be caused by the following code:
    <script type="text/javascript" language="JavaScript"> 
    //<![CDATA[
     document.write('<a href="http://www.mobilefish.com">'); 
     document.write('Goto mobilefish.com.'); 
     document.write('</a><br />');
    //]]> 
    </script>    
    
    To solve this error message:
    <script type="text/javascript" language="JavaScript"> 
    //<![CDATA[
     document.write('<a href="http://www.mobilefish.com">'); 
     document.write('Goto mobilefish.com.<'); 
     document.write('/a><br />');
    //]]> 
    </script>    
    
  2. Message: Warning: <a> attribute "id" has invalid value "3dsmax"

    The error message can be caused by the following code:

    <a name="3dsmax" id="3dsmax"></a>

    To solve this error message:

    A name and id must not start with a number.

    <a name="max3ds" id="max3ds"></a>