This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 6646 - Block element is not in inline element
Summary: Block element is not in inline element
Status: RESOLVED INVALID
Alias: None
Product: Validator
Classification: Unclassified
Component: Website (show other bugs)
Version: 0.8.4
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL: http://ts.hm1.ru
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-03 09:45 UTC by Chu
Modified: 2009-03-04 13:07 UTC (History)
1 user (show)

See Also:


Attachments
Elements (1.44 KB, image/png)
2009-03-03 09:45 UTC, Chu
Details

Description Chu 2009-03-03 09:45:15 UTC
Created attachment 651 [details]
Elements

Stucture have in attachments.
Sorry, I'm Russian, my English is bad.


#  Line 188, Column 24: document type does not allow element "div" here; missing one of "object", "ins", "del", "map", "button" start-tag.

	<div class="news-title">

&#9993;

The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
# Error Line 193, Column 23: document type does not allow element "div" here; missing one of "object", "ins", "del", "map", "button" start-tag.

	<div class="news-text">

&#9993;

The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
# Error Line 206, Column 24: document type does not allow element "div" here; missing one of "object", "ins", "del", "map", "button" start-tag.

	<div class="news-title">

&#9993;

The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
# Error Line 211, Column 23: document type does not allow element "div" here; missing one of "object", "ins", "del", "map", "button" start-tag.

	<div class="news-text">

&#9993;

The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
# Error Line 225, Column 24: document type does not allow element "div" here; missing one of "object", "ins", "del", "map", "button" start-tag.

	<div class="news-title">

&#9993;

The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
# Error Line 230, Column 23: document type does not allow element "div" here; missing one of "object", "ins", "del", "map", "button" start-tag.

	<div class="news-text">

&#9993;

The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
Comment 1 Olivier Thereaux 2009-03-03 13:42:30 UTC
You can't have a <div> inside a <p>. You could, however, have a <div> inside of a <div>, instead.
Comment 2 Chu 2009-03-04 12:14:02 UTC
Now DIVs are in DIV. But error don't disappeared.
Comment 3 Chu 2009-03-04 13:07:12 UTC
Sorry, probably validator cash updated. Now all ok.