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" 
      <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
      <TITLE>My first HTML document</TITLE>
      <P>Hello world!

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 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:37 UTC