HTML5期末大作业
文章目录
一、作品展示
二、文件目录
三、代码实现
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>美丽家乡——石埇镇</title>
<!-- 网站首页 -->
<!-- 调用css -->
<link rel="stylesheet" type="text/css" href="css/background.css">
<link rel="stylesheet" type="text/css" href="css/index.css">
</head>
<body>
<div class="box">
<div class="box1">
<!-- 网站logo标识 -->
<div class="logo">
<a href="index.html">
<div style="font-size: 300%;"><b>石埇镇</b></div>
<div style="font-size: 150%;"><b> shiyongzhen </b></div>
</a>
</div>
<!-- logo结束 -->
<div>
<!--音乐: 家乡美-卓依婷、美丽的家乡-寒冬辣月 controls播放器可见-->
<audio height="50px" width="70px" autoplay loop>
<source src="media/jxm.mp3" type="audio/mp3">
<source src="media/mldjx.mp3" type="audio/mp3">
<embed height="50px" width="70px" src="media/jxm.mp3" autostart="true" loop="-1" hidden="true">
</audio>
</div>
</div>
<div>
<!-- 中部主内容 -->
<div class="box2">
<div class="navigation">
<!-- navigation 导航 -->
<ul>
<li>
<h2><a href="index.html"> 首页 </a></h2>
</li>
<li>
<h2><a href