HTML有序ol,无序ul,自定义列表dl及块标签div

<!doctype html>
<html>
	<!-- html 列表ul,ol,dl 
		块 div-->
	<head>
		<title> </title>
		<meta charset="UTF-8">
		<meta name="keywords" content="HTML">
		<style>
			.hello{
				background-color: antiquewhite;
				font-family: 'Courier New', Courier, monospace;
				font-size: 20px;
			}
		</style>
		<!-- <link rel="stylesheet" type="text/css" href="../css/file01.css"/> -->
	</head>
	<body>
		<p>html列表,块实例</p><br />
		<!-- html id属性 -->
		<a href="#book">跳转到book</a>
		<!-- <table frame="above">
			<tr>
				<td>123</td>
				<td>345</td>
			</tr>
			<tr>
				<td>455</td>
				<td>453</td>
			</tr>
		</table> -->
		<!-- 有序列表ol,无序列表ul,自定义列表dl -->
		<ul type="disc">
			<li>苹果
				<ul>
					<li>8$</li>
				</ul>
			</li>
			<li><ul>
					<li>4$</li>
				</ul>
			</li>
		</ul>
		<ol type="a">
			<li>队员01
				<ul>
					<li>78分</li>
				</ul>
			</li>
			<li>队员02
				<ul>
					<li>34分</li>
				</ul>
			</li>
			<li>队员03
				<ul>
					<li>90分</li>
				</ul>
			</li>
		</ol>
		
		<dl>
			<dt>信息技术</dt>
			<dd>信息技术就是指......</dd>
		</dl>
		<!-- 标签div -->
		<div class="hello">
			<h3>一段文字:</h3>
			<p>
			IT之家 7 月 6 日消息,
			安培分析公司(Ampere Analysis)的一份报告显示,
			游戏市场在经历了过去 7 年的连续增长后,
			今年预计将迎来首次下滑。
			</p>
		</div>
		<!-- <p class="hell"><span>提示:</span>......</p> -->
		<p id="book">这是一本书</p>
		<iframe src="https://w3school.com.cn">w3school</iframe>
		<!-- <iframe src="../demo01/file01.html"></iframe> -->
		<iframe src="../demo02/file10.html" name="target"></iframe>
		<p><a href="https://www.w3school.com.cn" target="target">w3school</a></p>
	</body>
</html>
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值