Understanding Paragraphs and Their Properties

What makes a particular paragraph into a heading or something else is the properties you assign to the paragraph. Assigning properties to a paragraph is no different from assigning a style in a word processor, and usually it's just as easy. In a nutshell, you type a line or block of text and then assign properties to that paragraph to identify it as a heading, body text paragraph, or whatever. Voilà.

Composer calls each discrete chunk of text—all the text between paragraph marks (the character you type when you press Enter)—a paragraph, whether it's a heading, one line in a list, a multiline paragraph, or just a bunch of words.

Note that paragraph properties apply only to entire paragraphs. For example, ...

Get Sams Teach Yourself Internet and Web Basics All in One now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.