W3C home > Mailing lists > Public > www-validator@w3.org > December 2009

not able to validate frame code.

From: Charulata Trivedi <charulat@qcc.mass.edu>
Date: Fri, 4 Dec 2009 13:33:49 -0500
Message-ID: <75D62AAEBCCC714189C8B9B16C02C3AE020D2AD1@HOBBES.campus.qcc.edu>
To: <www-validator@w3.org>
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">


<title>XHTML web page</title>


<frameset rows="10%, *">

 <frame src="logo.htm" />

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

  <frame src="list.htm" />

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




The error is: 

Validation Output: 2 Errors 

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


‚úČ <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 



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

(image/png attachment: image001.png)

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:59:15 UTC