Home HTML CSS JavaScript React Gamedatum.com
× Home HTML CSS JavaScript React Gamedatum.com

Paragraphs


A Paragraph in HTML is a block of text which starts at a new line on the web page.
The paragraph does not start with indent - to insert indent you must use the css property: text-indent

The browsers ignore the extra space and form proper paragraphs.

The example below displays the paragraph with extra space in the code:

               
                
    <!-- The paragraph with extra space -->
<p>The paragraph is an important
part of the web page.
It     contains the content you 
want to display. The   browser 
removes     the extra space and displays the 
text as a    normal paragraph.</p>
                
                
              

The result:

The paragraph is an important part of the web page. It contains the content you want to display. The browser removes the extra space and displays the text as a normal paragraph.