Section 2 - Basics Your first page Formatting Paragraphs Divisions Headings Alignment Breaks Horizontal Lines You Try It! Text tricks Pictures Links Backgrounds Section 4 - Advanced Section 5 - Publishing Section 6 - Extras Appendices |
Paragraphs TAGS USED: <p> and </p> You can format a document by dividing it into paragraphs. Suppose you had a bunch of text that you wanted separated into two paragraphs. In a word processing document, you can put spaces between the paragraphs, but that isn't recognized in HTML. One of the easiest ways to solve this is with paragraph tags. Paragraph tags are placed before and after the paragraph. They separate various paragraphs by putting a space between them. Let's look at how this is done. Below are three examples of paragraphs. The first in unformatted, the second shows the code, and the last shows the final product.
|