HTML5期末大作业
文章目录
一、作品展示
二、文件目录
三、代码实现
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>中韩美食网</title>
<link href="css/style.css" type="text/css" rel="stylesheet" />
</head>
<body>
<div class="header">
<div class="header-zj">
<div class="login"><a href="zhuce.html">注册会员</a> | <a href="login.html">登陆入口</a></div>
<div class="sc">设为首页 | 加入收藏夹 | <a href="contact.html">联系我们</a></div>
<div class="lang">中文 | 韩语</div>
</div>
</div>
<div id="wrap">
<div id="nav">
<div class="logo"><img src="img/logo.png" width="100%" height="100%"/></div>
<div class="nav-1">
<select class="nav_op">
<option>青岛</option>
<option>北京</option>
<option>上海</option>
<option>广州</option>
<option>天津</option>
<option>沈阳</option>
<option>大连</option>
<option>重庆</option>
<option>西安</option>
<option>成都</option>
<option>燕郊</option>
<option>延边</option>
<option>烟台</option>
<option>威海</option>
</select>
</div>
<div class="search">
<div id="search_box">
<form id="search_form" method="post" action="#">
<input type="text" id="s" value="输入您想要的商品" class="swap_value" />
<input type="image" src="img/soso.png" width="25px" height="25px" id="go" alt="Search" title="Search" />
</form>
</div>
</div>
</div>
<div id="nav-nav">
<ul id="nav">
<li><a href="#">网站首页</a></li>
<li><a href="#">快餐送餐</a>
<ul>
<li><a href="#">炸鸡</a></li>
<li><a href="#">烧烤</a></li>
<li><a href="#">西餐</a></li>
<li><a href="#">牛排</a></li>
<li><a href="#">中餐</a></li>
<li><a href="#">面包</a></li>
</ul>
</li>
<li><a href="#">特色饭店</a>
<ul>
<li><a href="#">炸鸡</a></li>
<li><a href="#">烧烤</a></li>
<li><a href="#">西餐</a></li>
<li><a href="#">牛排</a></li>
<li><a href="#">中餐</a></li>
<li><a href="#">面包</a></li>
</ul>
</li>
<li><a href="#"