image name/id

From: Alexander Shpack (oshpack@viva-solutions.com)
Date: Fri, Jul 06 2001

  • Next message: Jonathan Wilson: "W3C HTML Validation Service Results are failing on good pages"

    Date: Fri, 6 Jul 2001 05:35:28 -0400 (EDT)
    Message-ID: <3B45873A.9090509@viva-solutions.com>
    From: Alexander Shpack <oshpack@viva-solutions.com>
    To: www-validator@w3.org
    Subject: image name/id
    
    Sorry for my bad english...
    
    I validate my page.
    SGML parser generate a error
         *  Line 35, column 64:
    
    ... width="20" height="16" alt="" name="k1"><a href="consulting/ ...
    ^
    
           Error: there is no attribute "NAME" for this element
    (in this HTML version)
    ^^^^^^^^^^^^^^^^^^^^^^
    My DOCTYPE is
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
             "http://www.w3.org/TR/REC-html40/loose.dtd">
    
    
    In http://www.w3.org/TR/REC-html40/loose.dtd document IMG tag have a 
    NAME property. This property present in latest HTML 4.0 specification, 
    but validator check my page according 
    http://www.w3.org/TR/1998/REC-html40-19980424/ old version of HTML4.0 
    specification :(((
    Where is True?
    Netscape navigator haven't access to image source via ID :(