XHTML problem

wxdqz

New Member
I've got a problem. The validator says error on Line 27, column 5: document type does not allow element "body" here.
It also says there is an error on Line 35, column 6: end tag for "html" which is not finished.

Here is the code:

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Texas History</title>
<meta name="description" content="" />
<meta name="keywords" content="" />
<meta name="generator" content="AceHTML 5 Freeware" />
<style type="text/css">
<!--
body {
scrollbar-face-color: #000000;
scrollbar-darkshadow-color: #000000;
scrollbar-shadow-color: #0000CC;
scrollbar-highlight-color: #0000FF;
scrollbar-3dlight-color: #0000CC;
scrollbar-track-color: #FFFFFF;
scrollbar-arrow-color: #FFFFFF;
background-color:#c0c0c0;
}
-->
</style>
</head>
<body>
<div style="text-align:center;">
<iframe src=http://www.webdeveloper.com/forum/archive/index.php/"c:/ryan/texas.htm" width="950" height="50"></iframe>
<iframe src="test.htm" width="950" height="500"></iframe>
</div>
</body>
</html>
 
Back
Top