web前端基础(08html5新标签)

<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<!-- 定义文章或者网页中的主要内容 -->
		<article>
			<!-- 页眉 -->
		<header>
			<h1>欢迎光临</h1>
			<p>我是学习者</p>
		</header>
		<!-- 导航链接标签 -->
		<nav>
			<a href="01.html"></a>
			<a href="02.html"></a>
			<a href="03.html"></a>
		</nav>
		<p>武汉加油</p>
		<!-- 页脚 -->
		<footer>
			本文创建于2020年2月22日
		</footer>
		</article>
		
		
		<!-- 用于定义文章中的区段,章节,页眉,页脚 -->
		<section>
			<h1>中国加油</h1>
			<p>武汉加油</p>
		</section>
		<section>
			<h1>十二公司</h1>
			<p>开始工作</p>
		</section>
		
		
		<!-- 定义文章之外的其他内容 -->
		<article>
			<p>天下太平</p>
		<aside>
			其他内容
		</aside>
		</article>
	</body>
</html>
发布了314 篇原创文章 · 获赞 217 · 访问量 54万+

猜你喜欢

转载自blog.csdn.net/chehec2010/article/details/104446148