472,338 Members | 1,729 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,338 software developers and data experts.

HTML error helppp!!!!!!

Hi all, I am trying to validate my first web site and most of the common errors that i am getting are the following!!! I am sure you can help me thanks in advance.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"



<title>Orchid Care </title>
<meta http-equiv="content-Type"
Content="text/html; charset=utf-8">
<link href="..\css\style1.css.html" rel="stylesheet" type="text/css">

<div id="care">

<h3> Orchid Care </h3>


<center><h4><i><b>Orchid Pests and Diseases</b></i></h4></center>
<center><a href=".\care_pages\control_approaches.html">CONTRO L APPROACHES</a></center>
<center><a href=".\care_pages\physical_factors.html">PHYSICAL FACTORS</a></center>
<center><a href=".\care_pages\insects.html">INSECTS</a></center>
<center><a href=".\care_pages\diseases.html">DISEASES</a></center>

</div><!.. end of Care div ..>


The errors are
Line 13, Column 5: document type does not allow element "BODY" here.
<body> ✉
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).

Line 35, Column 6: end tag for "HTML" which is not finished.
</html> ✉
Most likely, you nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>

Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, in HTML the <head> element must contain a <title> child element, lists (ul, ol, dl) require list items (li, or dt, dd), and so on.
Jan 26 '08 #1
1 1382
428 256MB
A page using the frameset dtd does not have a body element- replace it with <frameset>, or use another dtd that is not expecting a frameset.
Jan 26 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

by: news | last post by:
Saw an example of code recently that used this: echo <<<HTML $error $x INVALID DOMAINS<DIV align="center">$display</DIV> HTML; I would have...
by: Keiron Waites | last post by:
Please see the problem in action here: http://www.leadbullet.biz/contact.php If you mouse over the fields, you will see that text is shown on the...
by: Kenneth Keeley | last post by:
Hi I have created a Web.config file with theses settings: <customErrors mode="RemoteOnly" defaultRedirect="/errorpages/generic.aspx"> <error...
by: Larry Tate | last post by:
I am wanting to get those cool html error pages that ms produces when I hit an error in asp.net. For instance, when I get a compilation error I get...
by: John Lau | last post by:
Hi, I am looking at the MS KB Article 306355: HOW TO: Create Custom Error Reporting Pages in ASP.NET by Using Visual C# .NET This article...
by: Paul | last post by:
Hi I downloaded some free eworld.ui .NET controls, added the control to the toolbox and then added the reference to the dll. The problem is that in...
by: JumpingOffPlace | last post by:
Hi, I'm hoping that the wealth of knowledge here can stop me from spinning my wheels on this syntax error for hours. :) Below is the code, and...
by: =?Utf-8?B?S2VzdGZpZWxk?= | last post by:
Hi Our company has a .Net web service that, when called via asp.net web pages across our network works 100%! The problem is that when we try and...
by: raccoon2 | last post by:
Hello Below is the code for a clients site, I have tested it for validation on the WC3 website, but I get this one error message. Line 276,...
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
by: CD Tom | last post by:
This happens in runtime 2013 and 2016. When a report is run and then closed a toolbar shows up and the only way to get it to go away is to right...
by: CD Tom | last post by:
This only shows up in access runtime. When a user select a report from my report menu when they close the report they get a menu I've called Add-ins...
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.