PHP9
<!DOCTYPE html>
<html lang="en">
<style>
#nav_id
{
width: 980px;
height: 200px;
background-image: url('image\h_bg.jpg');
}
div { width: 980px; height: 200px; background-image: url('D:\PHP\image\image\h_bg.jpg' }
</style>
<head>
<meta charset="UTF-8">
<title>信2005-1 耿晴 作业3(3)</title>
</head>
<body>
<div class="backimage">
<div style="text-align:center;background:#def">
<img src="D:\PHP\image\image\h_bg.jpg" alt="页眉">
<div style="text-align:center;background:#def">
<ul id="myul" style="width:500px;background:D:\PHP\image\image\h_bg.jpg;">
<li><a href="#" style="margin:100px;weight:84px;line-height 24px;font-size:10px;">首页</a></li>
<li><a href="#" style="margin:100px;weight:84px;line-height 24px;font-size:10px;">家用电器</a></li>
<li><a href="#" style="margin:100px;weight:84px;line-height 24px;font-size:10px;">手机数码</a></li>
<li><a href="#" style="margin:100px;weight:84px;line-height 24px;font-size:10px;">日用百货</a></li>
<li><a href="#" style="margin:100px;weight:84px;line-height 24px;font-size:10px;">书籍</a></li>
<li><a href="#" style="margin:100px;weight:84px;line-height 24px;font-size:10px;">帮助中心</a></li>
<li><a href="#" style="margin:100px;weight:84px;line-height 24px;font-size:10px;">免费开店</a></li>
<li><a href="#" style="margin:100px;weight:84px;line-height 24px;font-size:10px;">全球咨询</a></li>
</ul>
</div>
</div>
</div>
</body>
</html>