freecodecamp-第三课

作者: 涂魄 | 来源:发表于2017-03-16 13:05 被阅读0次

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 p element.
  • 创建一个p标签。
  • Your p element should have the text "Hello Paragraph".
  • p标签应含有“Hello World”文本。
  • Make sure your p element has a closing tag.
  • p标签中应含有相应的关闭标签。
<h1>
  Hello World
</h1>
<h2>
  CatPhotoApp
</h2>
<p>
  Hello Paragraph
</p>

相关文章

网友评论

    本文标题:freecodecamp-第三课

    本文链接:https://www.haomeiwen.com/subject/jytjnttx.html