HTML and CSS Reference
In-Depth Information
1.
Open the
about.html
file.
2.
Locate the
<section>
element with the ID
page-text
.
3.
Create a new
<h1>
element within this
<section>
element. Add the following text to this new
<h1>
ele-
ment:
About Joe's Pizza Co.
(including the period).
4.
Create a new
<p>
element underneath the
<h1>
you just created and add the following text to your new
<p>
element:
Established in 1984, Joe's Pizza Co. prides itself on serving up authentic
Italian pizzas with a New York twist. Since opening their first restaurant
at 310 West 38th Street, Joe's has expanded into two more restaurants dis-
tributed throughout New York.
5.
Now create another
<p>
element underneath the previous one and add the following text to it. Note the use
of the
<q>
element to mark up the quote within the text.
Our founder Joe Balochio has always said <q>"A great pizza starts with se-
lecting quality, fresh ingredients from local suppliers."</q> This belief
is embodied in the company and the pizzas that you will eat in our res-
taurants will never contain any poor quality or cheap ingredients. We take
great pride in the quality of our pizzas.
6.
Finally, add a third
<p>
element with the following text. This time, you are going to mark up the abbrevi-
ation using the
<abbr>
element.
Joe's Pizza Co. is a member of the National Restaurant Association (<abbr
title="National Restaurant Association">NRA</abbr>).
7.
Save the
about.html
file.
The code for your
page-text
section should now look like the following:
<!-- Page Text -->
<section id="page-text">
<h1>About Joe's Pizza Co.</h1>
<p>
Established in 1984, Joe's Pizza Co. prides itself on serving up authentic
Italian pizzas with a New York twist. Since opening their first restaurant at
310 West 38th Street, Joe's has expanded into two more restaurants distributed
throughout New York.
</p>
<p>
Our founder Joe Balochio has always said <q>"A great pizza starts with select-
ing quality, fresh ingredients from local suppliers."</q> This belief is embod-
ied in the company and the pizzas that you will eat in our restaurants will nev-
er contain any poor quality or cheap ingredients. We take great pride in the
quality of our pizzas.
</p>
<p>
Joe's Pizza Co. is a member of the National Restaurant Association (<abbr
title="National Restaurant Association">NRA</abbr>).
</p>
</section>