Inform with the Paragraph Element#
p标签的用法#
p elements are the preferred element for normal-sized paragraph text on websites. P is short for "paragraph".
在网页中使用p标签创建段落文本。“P"是”paragraph“的简写。
You can create a p element like this:
·p标签的格式如下所示:
<p>
I'm a p tag!
</p>
Create a p element below your h2 element, and give it the text "Hello Paragraph".
在h2标签的下方插入一个p标签,其文本文字为:“Hello Paragraph”。
- Create a
pelement. - 创建一个
p标签。 - Your
pelement should have the text "Hello Paragraph". -
p标签应含有“Hello World”文本。 - Make sure your
pelement has a closing tag. -
p标签中应含有相应的关闭标签。
<h1>
Hello World
</h1>
<h2>
CatPhotoApp
</h2>
<p>
Hello Paragraph
</p>