HTML -- Paragraph
2018-03-05 本文已影响0人
liaozb1996
段落
段落使用 <p>
标签表示
<p>Paragraph 1</p>
<p>Paragraph 2</p>
<p>
标签会移除多余的空白字符(换行或空格),并装换成一个空格
- 如果要新起一行,使用
<br />
标签; - 如果要保留
<p>
标签内的空白字符,使用<pre>
标签(preformatted),常用于表示诗歌的文本中
<pre>
He was my North,
my South,
my East and West,
My working week and my Sunday rest,
My noon,
my midnight,
my talk,
my song;
I thought that love would last forever: I was wrong.
</pre>