HTML Learning (6) Paragraph

HTML paragraph using <p> tag defined, the browser will automatically add a blank line before and after the paragraph.

If you do not want to produce blank lines, you can use line breaks <br /> tags.

In element content, consecutive spaces are considered browser formatted as a single space, newline no effect. example:

<P> Hello Hello </ p> output: Hello Hello

<P> Hello        

 

Hello </ p> output: Hello Hello

Guess you like

Origin www.cnblogs.com/1016391912pm/p/11525336.html