W3C home > Mailing lists > Public > www-validator@w3.org > July 2007

Re: This page is not Valid HTML 4.01 Frameset!

From: MiSsInGnO <missingno@ifrance.com>
Date: Tue, 03 Jul 2007 20:13:34 +0200
Message-ID: <468A91CE.1070801@ifrance.com>
To: www-validator@w3.org

Actually, there is an attribute called "frameborder", but it belongs to 
the frame tag, not the frameset tag as used on this page.
The attribute is defined in http://www.w3.org/TR/html4/loose.dtd :

<!ATTLIST FRAME

  %coreattrs;                          -- id, class, style, title --
  longdesc    %URI;          #IMPLIED  -- link to long description
                                          (complements title) --
  name        CDATA          #IMPLIED  -- name of frame for targetting --
  src         %URI;          #IMPLIED  -- source of frame content --
  frameborder (1|0)          1         -- request frame borders? --
  marginwidth %Pixels;       #IMPLIED  -- margin widths in pixels --
  marginheight %Pixels;      #IMPLIED  -- margin height in pixels --
  noresize    (noresize)     #IMPLIED  -- allow users to resize frames? --
  scrolling   (yes|no|auto)  auto      -- scrollbar or none --
  >

So if you really want to use the frameborder attribute, use it on the 
right tag (i.e.: use it on the frame tag).
But as others have already pointed out, you should probably avoid using 
frames altogether.

Hope this helps.


Andreas Prilop wrote:
> On Tue, 3 Jul 2007, Glenn Freeman wrote:
>
>   
>>>> there is no attribute "FRAMEBORDER"
>>>>         
>>> Delete the attribute
>>>       
>> if i delete the attribute
>>     
>
> ... then the validator says:
>
> | To show your readers that you have taken the care to create
> | an interoperable Web page, you may display this icon
> | on any page that validates.
> | <img src="http://www.w3.org/Icons/valid-html401"
> |      alt="Valid HTML 4.01 Frameset">
>
> Probably it goes inside <noframes> </noframes> -
> however, the validator is silent about this.
>
>   
Received on Tuesday, 3 July 2007 18:13:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:24 GMT