Skip to content
This repository has been archived by the owner on Jul 30, 2019. It is now read-only.

Commit

Permalink
Rephrase
Browse files Browse the repository at this point in the history
  • Loading branch information
edent committed Feb 20, 2018
1 parent 2dd00f4 commit b458bc9
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions sections/semantics-grouping-content.include
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,11 @@
The <{p}> element should not be used when a more specific element, such as a list, is more appropriate.

<div class="note">
Many elements whose typical rendering is a block, cannot be children of <{p}> elements.
When the parser finds them it automatically closes the <{p}> element - effectively inserting a <code>&lt;/p&gt;</code> tag.
This includes lists, tables, <a>heading content</a>, most <a>sectioning roots</a> and <a>sectioning content</a>,
and <{form}>, <{fieldset}> and <{legend}> elements.
Some block elements cannot be children of <{p}> elements.
When the parser finds them, it automatically closes the <{p}> element - effectively inserting a
<code>&lt;/p&gt;</code> tag.
These elements are: <a>heading content</a>, most <a>sectioning roots</a> and <a>sectioning content</a>,
<{form}>, <{fieldset}>, <{table}>, <{ol}>, <{ul}>, and <{legend}>.
</div>

<p class="note">
Expand Down

0 comments on commit b458bc9

Please sign in to comment.