init
This commit is contained in:
43
Html-Notes/03-列表.html
Normal file
43
Html-Notes/03-列表.html
Normal file
@@ -0,0 +1,43 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width-device-width,initial-scale=1.0">
|
||||
<title>列表</title>
|
||||
<style>
|
||||
ul>li{
|
||||
/* 取消无序列表前的序 */
|
||||
list-style: none;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<!-- 有序列表 -->
|
||||
<!-- ol>li -->
|
||||
<ol>
|
||||
<li>我是li1</li>
|
||||
<li>我是li2</li>
|
||||
<li>我是li3</li>
|
||||
<li>我是li4</li>
|
||||
<li>我是li5</li>
|
||||
</ol>
|
||||
|
||||
<!-- 无序列表 -->
|
||||
<!-- ul>li -->
|
||||
<ul>
|
||||
<li>我是无序列表1</li>
|
||||
<li>我是无序列表2</li>
|
||||
<li>我是无序列表3</li>
|
||||
<li>我是无序列表4</li>
|
||||
<li>我是无序列表5</li>
|
||||
</ul>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
<!-- 列表也是块标签的一种 -->
|
||||
Reference in New Issue
Block a user