Publishers of technology books, eBooks, and videos for creative people

Home > Articles > Web Design & Development > HTML/XHTML

  • Print
  • + Share This
  • 💬 Discuss
This chapter is from the book

Starting a New Paragraph

(X)HTML does not recognize the returns or other extra white space that you enter in your text editor (see page 32). To start a new paragraph in your Web page, you use the p tag.

Figure 3.12

Figure 3.12 Enclose each paragraph in opening and closing p tags. If you don't close them (which is perfectly legal in HTML but not XHTML), styles won't be applied properly.

To begin a new paragraph:

  1. Type <p>.
  2. Type the contents of the new paragraph.
  3. Type </p> to end the paragraph.
Figure 3.13

Figure 3.13 The amount of space between each paragraph is proportional to the size of the text.

  • + Share This
  • 🔖 Save To Your Account

Discussions

comments powered by Disqus