Block-level Elements

Text in a Preformatted Element.

This                text 
              spans                several 
         lines 
                      and                     has              lots 
        of         extra 

whitespace.

The preformatted element keeps the spaces between words the way they are writtenin the text

The Same Text in a Paragraph Element

This text spans several lines and has lots of extra whitespace.

The paragraph element ignores all the spaces between words. It only puts one space regardless of how many there are in the source text.

thson sfalshdfn asdjflasjdf asf asjdfasdjfla sdfjas dfaslfdwja dfjsf sdfjalsdfjoasjdfaslfkjasdf ef asdf askdf jasjdfasndflaasdfojsdc.

sdokjons sdfjasd sdv svnasovoasvan svsanvaklsglrwowa asd waijca sdcnadjwe awecoaweijcad sfnaowief

Putting the paragraphs inside the division element did not visually affect the text.