零基础教你有序无序列表

<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>有序无序列表</title>
		<style type="text/css">
			.two{
				list-style-type: circle; 
			}
			.three{
				list-style-type: square;
			}				
		</style>
	</head>
	<body>
		<!--无序列表-->
		<ul>
			<li>香蕉</li>
			<li>苹果</li>
		</ul>
		<ul class="two">
			<li>香蕉</li>
			<li>苹果</li>
		</ul>
		<ul  class="three">
			<li>香蕉</li>
			<li>苹果</li>
		</ul>
		<!--有序列表-->
		<ol>
			<li>穿衣服</li>
			<li>吃饭</li>
		</ol>
	</body>
</html>

image-20260707085739165

posted @ 2026-07-07 08:58  崔雅楠  阅读(5)  评论(0)    收藏  举报