<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link rel="shortcut icon" href="img/mynote.ico"/>
<title>块元素</title>
<style type="text/css">
#ul{
/*去掉前面的序号*/
list-style: none;
}
</style>
</head>
<body>
<div>div块元素</div>
<h1>一级标题</h1>
<h2>二级标题</h2>
<h3>三级标题</h3>
<h4>四级标题</h4>
<h5>五级标题</h5>
<h6>六级标题</h6>
<p>段落</p>
<ul id="ul">
<li>无序列表</li>
</ul>
<ol id="ul">
<li>有序列表</li>
</ol>
<!--type:序号类型-->
<ul>
<li type="disc">无序列表</li>
<li type="square">无序列表</li>
<li type="circle">无序列表</li>
<li type="1">无序列表</li>
</ul>
<!--reversed:列表顺序为降序-->
<ol reversed="reversed" start="4">
<li type="A">有序列表</li>
<li value="4">有序列表</li>
</ol>
</body>
</html>
关于网页前端的 块元素
最新推荐文章于 2024-02-25 13:56:28 发布