Paragraphs can be defined by enclosing a text with the <p> and </p> tags, lets recall our example:
<!doctype html>
<html>
<head>
<title>My Learning Plan
</title>
</head>
<body>
<h1>Hi, I'm learning HTML.
</h1>
<p>I will use it for developing web pages.
It is very easy and simple.
</p>
<p>This is part of my learning plan. Which will include:
</p>
Html
<br />
JavaScript
<br />
And the Java Programming Language
<br />
</body>
</html>
Like we did in that example the <p> tag defined two paragraphs in our html page.
Paragraphs features include:
Notes:
* The browser will not consider any line breaks that we may place inside the text without html tags. So if we write:
<p>This is my main HTML Page
That I will use for my website.
It will contain an intro about my business.
</p>
The result will be something like to following ignoring all the white spaces and newlines: