Quote:
Originally Posted by Turtle91
It looks like you are putting an <hr/> tag in an incorrect location. It should be all by itself, not embedded inside a <p> or <div> tag.
|
Although this is likely the issue causing the error message, it's not really an error.
<hr /> can appear where many of the elements listed in the the error can appear, because they are all "flow content":
https://www.w3.org/TR/2011/WD-html5-...l#flow-content
Google Books seems to be expecting "phrasing content", but there is no explicit rule that says that "flow content" elements cannot appear inside of other "flow content" elements. For example, we all know that
div and
p can contain other flow content, like
blockquote and
table.
Essentially, there is nothing special about
div and
p, according to the HTML standard, and there is no rule that only "phrasing content" can appear within "flow content".