freeCodeCamp/guide/chinese/certifications/responsive-web-design/basic-html-and-html5/headline-with-the-h2-element/index.md

28 lines
702 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
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