doc: update syntax and examples in HTML section

This commit is contained in:
Leon Xu committed 2021-07-28 19:13:25 -07:00
1 parent 1c51b42f29
commit bc6aa7ebdc
1 file changed
+4 -2
+4 -2
View File
@@ -78,9 +78,11 @@ HTML的全称是Hyper Text Markup Language(超文本标记语言)
- 标记语言允许你使用标记来“标记”或注释文档的内容。这些标签提供了关于内容的额外信息。
- HTML代码将内容转换成一系列“元素”或不同的内容项。每个元素都向浏览器传递特定的功能。
- 用开始和结束标签包围的文本内容
- 语法:```
- 语法:
```html
<element>content</element>
```
- 例子:```
- 例子:
```html
<p>This is an example</p>
```