Hi newbie here looking for some help my site is getting these validation errors.
1. document type does not allow element "p" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
//--></script> © Weber Grill Reviews<p></p>
2. end tag for "p" omitted, but OMITTAG NO was specified
</div>
3. nd tag for element "div" which is not open
</div>
my website is bestwebergrills.com thanks for any help you can give me
been stuck with these errors for a few days now and finding it hard to get help
Document type does not allow element
-
- Rank 0 - Newcomer
- Posts: 2
- Joined: Mon Oct 17, 2011 11:03 am
-
- Site Admin
- Posts: 3785
- Joined: Sat Dec 11, 2004 9:23 am
- Location: Near Dallas, TX
Re: Document type does not allow element
Hello,
Have you tried the online version of CSE HTML Validator? It's designed to provide friendlier messages. Please try it first and then post if you still have questions.
I hope this helps.
Have you tried the online version of CSE HTML Validator? It's designed to provide friendlier messages. Please try it first and then post if you still have questions.
I hope this helps.
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
-
- Rank 0 - Newcomer
- Posts: 2
- Joined: Mon Oct 17, 2011 11:03 am
Re: Document type does not allow element
Hi Albert this is all new to me I dont even know where to look in wp to fix the code.
1. The "p" element must have an end tag (</p>) but the end tag was not found. In XHTML, all elements not declared as empty (like "b", "p", "span", etc.) must have an end tag. Elements declared as empty (like "br", "img", "input", etc.) can have an end tag or can use the empty element shorthand.
<p> line 318
2. The "p" end tag (started in line 318) should appear before the "div" end tag or this end tag should be removed (nesting error).
</div> line326
3. The end tag for "div" was found, but all "div" start tags already have end tags. This appears to be an extra end tag that should be removed.
</div> line 338
1. The "p" element must have an end tag (</p>) but the end tag was not found. In XHTML, all elements not declared as empty (like "b", "p", "span", etc.) must have an end tag. Elements declared as empty (like "br", "img", "input", etc.) can have an end tag or can use the empty element shorthand.
<p> line 318
2. The "p" end tag (started in line 318) should appear before the "div" end tag or this end tag should be removed (nesting error).
</div> line326
3. The end tag for "div" was found, but all "div" start tags already have end tags. This appears to be an extra end tag that should be removed.
</div> line 338
-
- Site Admin
- Posts: 3785
- Joined: Sat Dec 11, 2004 9:23 am
- Location: Near Dallas, TX
Re: Document type does not allow element
Hello,
I'm sorry but I am not familiar with WordPress. You may want to ask on a WordPress support site as they could probably tell you how to address these issues and what files need to be fixed/changed so that they generate better/valid XHTML.
I'm sorry but I am not familiar with WordPress. You may want to ask on a WordPress support site as they could probably tell you how to address these issues and what files need to be fixed/changed so that they generate better/valid XHTML.
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial