Paragraphs

The paragraph element creates a linespace above and below the content. The paragraph tags are <p></p>.


Example 1


<body>
<p>My first paragraph.</p>
<p>My second paragraph.</p>
<p>My third paragraph.</p>
</body>

Displays

My first paragraph.

My second paragraph.

My third paragraph.



Example 2


<body>
<p>HTML means Hypertext Mark Up Language. It's fun and easy to
learn.</p>
<p>CSS means Cascading Style Sheets. You can control the style
and layout of your webpages.</p>
<p>JavaScript is a scripting language.</p>
</body>


Displays

HTML means Hypertext Mark Up Language. It's fun and easy to learn.

CSS means Cascading Style Sheets. You can control the style and layout of your webpages.

Javascript is a scripting language.




Now do the Exercise!