HTML 5 Notes For Professional – Chapter – 4 (Paragraphs)

<p>: Defines a paragraph

<br>: Inserts a single line break

<pre>: Defines pre-formatted text

Paragraphs are the most basic HTML element. This topic explains and demonstrates the usage of the paragraph element in HTML.

HTML Paragraphs

The HTML <p> element defines a paragraph:

<p>This is a paragraph.</p>
<p>This is another paragraph.</p>

Display

You cannot be sure how HTML will be displayed.

Large or small screens and resized windows will create different results.

With HTML, you cannot change the output by adding extra spaces or extra lines in your HTML code.

The browser will remove any extra spaces and extra lines when the page is displayed:

<p>This is another paragraph, extra spaces will be removed by browsers</p>

Continue to Chapter 5: Text Formatting

case studies

See More Case Studies

Contact us

Partner With Us for Enterprise-Grade IT Solutions

We’re here to answer your questions and help you identify the right solutions tailored to your business needs.
Your benefits:
What happens next?
1

We Schedule a call at your convenience 

2

We do a discovery and consulting meting 

3

We prepare a proposal 

Schedule a Free Consultation