0 added
0 removed
Original
2026-01-01
Modified
2026-03-09
1
<p>You can create the basic structure for the text using headings. The finer structure can be specified using paragraphs. The tag <p> (which stands for “paragraph”) is used to mark up paragraphs.</p>
1
<p>You can create the basic structure for the text using headings. The finer structure can be specified using paragraphs. The tag <p> (which stands for “paragraph”) is used to mark up paragraphs.</p>
2
<p>By default, browsers display paragraphs separated from the rest of the content by top and bottom margins (but you can over-ride this with CSS). So, if you need to separate one block of text from another, the right decision would be to enclose them in <p> tags.</p>
2
<p>By default, browsers display paragraphs separated from the rest of the content by top and bottom margins (but you can over-ride this with CSS). So, if you need to separate one block of text from another, the right decision would be to enclose them in <p> tags.</p>
3
<p>Let’s now mark up the introductory text on our main webpage using paragraphs.</p>
3
<p>Let’s now mark up the introductory text on our main webpage using paragraphs.</p>
4
<p>A paragraph is a segment of writing consisting of one or several sentences, which are often connected by a common theme. This is a typical natural language definition. An HTML paragraph is something that is completely different.</p>
4
<p>A paragraph is a segment of writing consisting of one or several sentences, which are often connected by a common theme. This is a typical natural language definition. An HTML paragraph is something that is completely different.</p>
5
<p>HTML paragraphs are just an unbroken sequence of <a>phrasal</a>elements. In other words, they are purely structural and do not convey semantic information. Paragraphs can even exist without needing to be enclosed by <p> tags.</p>
5
<p>HTML paragraphs are just an unbroken sequence of <a>phrasal</a>elements. In other words, they are purely structural and do not convey semantic information. Paragraphs can even exist without needing to be enclosed by <p> tags.</p>
6
<p>Rather, the <p> tag allows us simply to <em>explicitly</em>specify paragraphs that group together elements with<i>phrasal</i>content. These paragraphs can consist not just of blocks of text, but also images, links or input fields, for example.</p>
6
<p>Rather, the <p> tag allows us simply to <em>explicitly</em>specify paragraphs that group together elements with<i>phrasal</i>content. These paragraphs can consist not just of blocks of text, but also images, links or input fields, for example.</p>
7
<p>Not all tags can be nested within <p>. For example, major structural tags, headings, forms, lists and tables cannot be placed inside a paragraph. When your browser encounters an inappropriate tag inside <p>, it will automatically close the <p>, then display the inappropriate tag, followed by the remainder of the paragraph but without a surrounding tag, and then it will insert an empty <p> before the </p> that you wrote.</p>
7
<p>Not all tags can be nested within <p>. For example, major structural tags, headings, forms, lists and tables cannot be placed inside a paragraph. When your browser encounters an inappropriate tag inside <p>, it will automatically close the <p>, then display the inappropriate tag, followed by the remainder of the paragraph but without a surrounding tag, and then it will insert an empty <p> before the </p> that you wrote.</p>