O'Reilly logo

HTML5: Your visual blueprint™ for designing rich web pages and applications by Adam McDaniel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

HTML GROUPING TAGS

Grouping tags are designed to group similar blocks of text or content together under a tag group, such as a paragraph or a figure, or to split up a series of similar groups with a subtle effect, such as a line.

All HTML grouping tags support the standard global attributes, described earlier in this appendix in the section “HTML Global Attributes.”

<p> . . . </p>

The <p> tag group represents a paragraph of text. Although normal paragraphs segregate sentences into like-minded topics and flow, the physical separation can be manipulated via CSS to the point that the paragraph itself is no longer distinguishable.

Even if you have a single sentence of only a few words, if it is to display as a standalone block of text, wrap it in ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required