View Single Post
Old 12-14-2023, 02:38 PM   #3
nabsltd
Evangelist
nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.
 
Posts: 420
Karma: 6913952
Join Date: Aug 2013
Location: Hamden, CT
Device: Kindle Paperwhite (11th gen), Scribe
Quote:
Originally Posted by Turtle91 View Post
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".
nabsltd is offline   Reply With Quote