p
是paragraph
的缩写,通常用来创建一个段落,就和你写作文一样。
你可以像这样创建一个段落:
<p>I'm a p tag!</p>
h2
元素下面新增一个p
元素,元素内容是:Hello Paragraph
。
p
元素。'
testString: assert(($("p").length > 0));
- text: 'p
元素的内容应为:Hello Paragraph
。'
testString: assert.isTrue((/hello(\s)+paragraph/gi).test($("p").text()));
- text: 'p
元素应该有结束标记。'
testString: assert(code.match(/<\/p>/g) && code.match(/<\/p>/g).length === code.match(/
## Challenge Seed
Hello World
CatPhotoApp
```