Welcome to second lesson in HTML! This time we’re going to talk about paragraphs and how to add them to your HTML document.
Before you start, you might want to take a look at Lesson 1: How To Set Up A Basic Page Skeleton.
1. Fire up your favorite editor
2. Type in the following (or cut and paste):
<!DOCTYPE>
<html>
<head>
</head>
<body>
<p>This is my first paragraph</p>
<p>This is my second paragraph</p>
</body>
</html>
As you can see, we took the code from our first lesson and added few <p> and </p> tags to body of the document. Those tags, as you might have guessed, signify the beginning and the end of the paragraph.
As a result, you should see the following in your browser:
This is my first paragraph
This is my second paragraph
Things to do/homework – Go to any website, right-click and choose “View Page Source”. Study the paragraph structure and try to implement it in your own page.
Useful Resources: HTML Dog







