doc: update lists section
This commit is contained in:
1 parent
a5882256ec
commit
d43cb17a27
1 file changed
+14
-1
@@ -229,4 +229,17 @@ HTML的全称是Hyper Text Markup Language(超文本标记语言)
|
||||
- 如果将img放在a标签中,它就变成了一个可点击的链接
|
||||
```html
|
||||
<img src="img/koala with leaf.png" alt="A Koala with a leaf" title="Logo">
|
||||
```
|
||||
```
|
||||
|
||||
## 列表:ul或ol
|
||||
- 可以用点或数字创建列表
|
||||
- 可以在列表中嵌套列表
|
||||
|
||||
语法:
|
||||
```html
|
||||
<ol>
|
||||
<li>first list item</li>
|
||||
<li>secondlist item</li>
|
||||
<li>etc …</li>
|
||||
</ol>
|
||||
```
|
||||
Reference in new issue
Block a user