HTML and CSS Reference
Pizza image reproduced by permission of William Rogers
Figure 4-1 The home page with a completed main feature section.
Adding the Home Page Text
You now have the main feature section sorted, so let's move on to the home page text. Most websites have a body of
text on the home page to give the user a brief overview of the business. For this, you are going to need another head-
ing and a couple of paragraph elements.
You got a brief introduction to the <p> element in Chapter 1. The paragraph element is used to group text in the
same way that you would use paragraphs in normal writing. Most browsers will apply some default styling to <p>
elements to add a margin above and below the text. Here is an example of using the <p> element to mark up a pas-
sage of text.
<p>Our mission is to bring affordable Technology education to people everywhere,
in order to help them achieve their dreams and change the world.<p>