not able to validate frame code.

The code is shown below and the errors appear below. Not sure why this is happening. I have checked several web sites. 

<?xml version="1.0" encoding="utf-8" standalone="no" ?>

<!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" lang="en">

<head>

<title>XHTML web page</title>

</head>

<frameset rows="10%, *">

 <frame src="logo.htm" />

 <frameset cols="20%, *" />

  <frame src="list.htm" />

  <frame src="sample1.htm" name="desc"/>

 </frameset>

</frameset>

</html>

The error is: 


Validation Output: 2 Errors 


1.       Line 14, Column 11: end tag for element "frameset" which is not open 

</frameset>

✉ <http://validator.w3.org/feedback.html?uri=;errmsg_id=79#errormsg>  

The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem. 

If this error occurred in a script section of your document, you should probably read this FAQ entry <http://validator.w3.org/docs/help.html#faq-javascript> . 

2.      Line 14, Column 11: XML Parsing Error: Opening and ending tag mismatch: html line 4 and frameset 

</frameset>

 

NOTE: Whenever possible, give the address of the document you were checking. 

Received on Saturday, 5 December 2009 14:29:41 UTC