W3C home > Mailing lists > Public > www-validator@w3.org > September 2016

Re: Having trouble validating code block...

From: Philip Taylor <P.Taylor@Rhul.Ac.Uk>
Date: Tue, 6 Sep 2016 09:19:25 +0100
To: Zachary Hall <zhall79@yahoo.com>, "www-validator@w3.org" <www-validator@w3.org>
Message-ID: <57CE7C0D.3030802@Rhul.Ac.Uk>
I do not think that you require the frameset DTD here, Zachary -- that is intended for pages that use frames, not iframes.
Philip Taylor
Zachary Hall wrote:
> /When I attempt to validate the below code block I receive two errors.  What exactly am I supposed to do to correct this issue?/
> /Line 10, Column 6/: document type does not allow element "body" here
> |<body*>*|
> |/Line 24, Column 7/: end tag for "html" which is not finished
> |</html*>*|
> |
> |<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>Teenage Mutant Ninja Turtles</title> <meta name="description" content="Teenage Mutant Ninja Turtles"/> <meta name="author" content="Joe Austin" /> <link rel="stylesheet" href="chapter12.css" type="text/css"></link> </head> <body> <div class="left"> <iframe src="Donatello.html" width="80%" height="80%" scrolling="yes"></iframe> </div> <div class="right"> <iframe src="Leonardo.html" width="80%" height="80%" scrolling="yes"></iframe> </div> <div class="left"> <iframe src="Michelangelo.html" width="80%" height="80%" scrolling="yes"></iframe> </div> <div class="right"> <iframe src="Raphael.html" width="80%" height="80%" scrolling="yes"></iframe> </div> </body> </html>|
> ||


Philip Taylor
Received on Tuesday, 6 September 2016 08:20:07 UTC

This archive was generated by hypermail 2.3.1 : Friday, 23 September 2016 09:38:19 UTC