<!DOCTYPE html>
<html lang=
"en"
>
<head>
<meta charset=
"UTF-8"
>
<title>小白</title>
</head>
<body>
水平显示菜单
<ul style=
"list-style-type: none"
>
<!--list-style-type: none 去掉圆点-->
<!--display: inline-block 变为行内元素, 并且可以设置高度和宽度-->
<li style=
"display:inline-block;width:20%;background: darkseagreen"
>水煮肉片</li>
<li style=
"display:inline-block;width:20%;background: darkseagreen"
>蚂蚁上树</li>
<li style=
"display:inline-block;width:20%;background: darkseagreen"
>宫保鸡丁</li>
<li style=
"display:inline-block;width:20%;background: darkseagreen"
>豆腐圆子汤</li>
</ul>
<br>
<hr/>
有以下书籍可供选择:
<ol type=
"A"
>
<!--去掉原有装饰:text-decoration: none-->
<li><a href=
"https://baike.so.com/doc/801785-848140.html"
style=
"text-decoration: none;color: #f10180"
>额尔古纳河右岸</a></li>
<li><a href=
"#"
>月亮与六便士</a></li>
<li><a href=
"#"
>面纱</a></li>
<li><a href=
"#"
>平凡的世界</a></li>
</ol>
<br>
<hr/>
<br>
<h3 align=
"center"
>python</h3>
<dl>
<dt style=
"color: darkblue"
>数值类型</dt>
<dd>数值、bool</dd>
<dd>字符串</dd>
<dd>列表</dd>
<dd>元祖</dd>
<dd>字典</dd>
<dt style=
"color: darkblue;"
>循环</dt>
<dd>
while
循环</dd>
<dd>
for
循环</dd>
</dl>
</body>
</html>