W3C home > Mailing lists > Public > www-validator@w3.org > June 2003

frameset does not allow body where strict does

From: Dozo Doorzon <rlammers@angelfire.com>
Date: Mon, 23 Jun 2003 11:45:46 +0100
To: www-validator@w3.org
Message-ID: <MPMPGIKMBPCEEAAA@angelfire.com>

The following html-file does not pass the validator. If the doctype is changed to strict it does pass. 
The error is: document type does not allow element ... here.

Your first answer probably would be that strict is the correct definition to use since there are no frameset elements in the file. The problem is the file is a menu which has HREF's with a target defined. And target is not in the strict-definition.

R. Lammers


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" 
     "http://www.w3.org/TR/html4/frameset.dtd"> 
<HTML>
   <HEAD>
      <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
      <TITLE>My first HTML document</TITLE>
   </HEAD>
   <BODY>
      <P>Hello world!
   </BODY>
</HTML>



____________________________________________________________
Get 25MB of email storage with Lycos Mail Plus!
Sign up today -- http://www.mail.lycos.com/brandPage.shtml?pageId=plus 
Received on Monday, 23 June 2003 06:50:08 GMT

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