Dular SharmaDular SharmaDular Sharma
(Monday - Saturday)
sharmadular7392@gmail.com
Himatnagar
Dular SharmaDular SharmaDular Sharma

Chapter 4. Paragraphs

10 Views

Paragraphs represent the fundamental building blocks of HTML content. This section elucidates and illustrates the application of the paragraph element within HTML documents.

ElementUse
<p>Indicates the beginning of a paragraph
<br>Introduces a single line break
<pre>Specifies pre-formatted text

The <p> tag in HTML is used to define paragraph:

<p> This is paragraph 1 </p> <p> This is paragraph 2 </p>

Display:

The display of HTML content may vary depending on factors such as screen size and window resizing. Adding extra spaces or lines in the HTML code won’t alter the output, as browsers remove any additional spaces and lines when rendering the page:

<p> All extra spaces will be removed </P>

Previous Post
Newer Post

Leave A Comment

Need Help?