28 lines
702 B
Markdown
28 lines
702 B
Markdown
|
---
|
|||
|
title: Headline with the h2 Element
|
|||
|
localeTitle: 标题与h2元素
|
|||
|
---
|
|||
|
## 标题与h2元素
|
|||
|
|
|||
|
在第一课中,您已经了解了HTML元素是什么,并且您已经修改了一个。
|
|||
|
现在你被要求自己写!代码编辑器中已存在的第一个HTML元素( `<h1>Hello World</h1>` )使用h1标记,检查其他元素:
|
|||
|
|
|||
|
代码|效果 ----- | ------- `<h2> This is how an h2 heading looks like</h2>` |
|
|||
|
|
|||
|
## 这就是h2标题的样子
|
|||
|
|
|||
|
`<h3> Followed by this h3 tag </h3>` |
|
|||
|
|
|||
|
### 其次是这个h3标签
|
|||
|
|
|||
|
`<h4> Look at the h4, the middle </h4>` |
|
|||
|
|
|||
|
#### 看看h4,中间
|
|||
|
|
|||
|
`<h5> Here is a tiny h5 </h5>` |
|
|||
|
|
|||
|
##### 这是一个小小的h5
|
|||
|
|
|||
|
`<h6> The last - h6 </h6>` |
|
|||
|
|
|||
|
###### 最后 - h6
|