Re: Having trouble validating code block...

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