Lesson with practice on HTML
To choose a different lesson from the course
Discussion
Theory lesson

2.1. What is a paragraph (HTML tag P)?

What is a paragraph in HTML? a Paragraph is a unit of grouping of the text. In HTML the paragraph means the same as a paragraph on a sheet of paper. a Paragraph in HTML is secreted by the tag <p> ... </p>. Each paragraph in HTML begins with a new line and indent after accompanied by.

Use paragraphs, especially in the big text is very important because they structure the information and make it easier to read. Paragraphs should contain no more than 6 lines, it will greatly simplify the reading site visitor. The presence of paragraphs on a web page tells search engines that the page is well designed and reader-friendly, thus your site's ranking will be higher.

Consider the example of creating three paragraphs in HTML:

Code HTML
<p>This is the first paragraph</p>
<p>This is the second paragraph</p>
<p>And this is the third paragraph</p>

By the way, to make the "red line" of a paragraph, you can write this CSS property (tag <p>):

How to make a red line
p {
text-indent: 20px;
}
<
×
>