大一学生web课程实训大作业 (静态美食网页制作)

🌩️ 精彩专栏推荐👇🏻👇🏻👇🏻
💂 作者主页: 【进入主页—🚀获取更多源码】
🎓 web前端期末大作业: 【📚HTML5网页期末作业 (1000套) 】
🧡 程序员有趣的告白方式:【💌HTML七夕情人节表白网页制作 (110套) 】



二、📚网站介绍

📔网站布局方面:计划采用目前主流的、能兼容各大主流浏览器、显示效果稳定的浮动网页布局结构。

📓网站程序方面:计划采用最新的网页编程语言HTML5+CSS3+JS程序语言完成网站的功能设计。并确保网站代码兼容目前市面上所有的主流浏览器,已达到打开后就能即时看到网站的效果。

📘网站素材方面:计划收集各大平台好看的图片素材,并精挑细选适合网页风格的图片,然后使用PS做出适合网页尺寸的图片。

📒网站文件方面:网站系统文件种类包含:html网页结构文件、css网页样式文件、js网页特效文件、images网页图片文件;

📙网页编辑方面:网页作品代码简单,可使用任意HTML编辑软件(如:Dreamweaver、HBuilder、Vscode 、Sublime 、Webstorm、Text 、Notepad++ 等任意html编辑软件进行运行及修改编辑等操作)。
其中:
(1)📜html文件包含:其中index.html是首页、其他html为二级页面;
(2)📑 css文件包含:css全部页面样式,文字滚动, 图片放大等;
(3)📄 js文件包含:js实现动态轮播特效, 表单提交, 点击事件等等(个别网页中运用到js代码)。


三、🔗网站效果

▶️1.视频演示

F105JP 湖南美食 4页 无js 视频音频

🧩 2.图片演示

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述


四、💒 网站代码

🧱HTML结构代码



<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>首页</title>
  <link rel="stylesheet" href="css/style.css">
</head>

<body>
  <table width="960" align="center" cellspacing="0">
    <tr>
      <td align="center"><img src="picture/img009.png" alt=""></td>
    </tr>
  </table>
  <div class="header">
    <table width="960" align="center" cellspacing="0">
      <tr>
        <td width="139" class="active" height="35" align="center"><a href="">首页</a></td>
        <td width="139" align="center"><a href="1.html">湖南饮食文化</a></td>
        <td width="139" align="center"><a href="3.html">特色食物</a></td>
        <td width="139" align="center"><a href="register.html">注册</a></td>
      </tr>
    </table>
  </div>
  <table width="960" align="center" cellspacing="0">
    <tr>
      <td width="260" align="left" valign="top">
        <table width="96%" cellspacing="0">
          <tr>
            <td height="45" colspan="2" align="center"><img src="picture/f01.gif" width="100" height="40" vspace="10">
            </td>
          </tr>
          <tr>
            <td height="45" align="left">用户名:</td>
            <td height="45" align="left"><label for="textfield"></label>
              <input type="text" name="textfield" id="textfield">
            </td>
          </tr>
          <tr>
            <td height="45" align="left">密码:</td>
            <td height="45" align="left"><label for="textfield2"></label>
              <input type="password" name="textfield2" id="textfield2">
            </td>
          </tr>
          <tr>
            <td height="45" align="left">&nbsp;</td>
            <td height="45" align="left"><input type="submit" name="button" id="button" value="登录"><input type="button" name="button" id="reg" onclick="javascript:window.location.href='register.html'" value="注册"></td>
          </tr>

        </table>
      </td>
      <td width="700" align="center">
        <img id="zz" width="700" src="picture/img0010.jpeg" alt="">
     
      </td>
    </tr>
  </table>
  <table width="960" align="center" cellspacing="0">
    <tr>
      <td height="30" colspan="4" align="left" class="title">美食魔方</td>
    </tr>
    <tr>
      <td width="238" height="30" align="center"><a href="#"><img src="picture/img001.jpeg" width="180" height="225" vspace="20"></a></td>
      <td width="238" height="30" align="center"><a href="#"><img src="picture/img002.jpeg" width="180" height="225"></a></td>
      <td width="237" height="30" align="center"><a href="#"><img src="picture/img003.jpeg" width="180" height="225"></a></td>
      <td width="237" height="30" align="center"><a href="#"><img src="picture/img004.jpeg" width="180" height="225"></a></td>
    </tr>
    <tr>
      <td height="30" align="center"><a href="#">口味虾</a></td>
      <td height="30" align="center"><a href="#">湖南臭豆腐</a></td>
      <td height="30" align="center"><a href="#">姊妹团子</a></td>
      <td height="30" align="center"><a href="#">剁椒鱼头</a></td>
    </tr>
    <tr>
      <td height="30" align="center"><a href="#"><img src="picture/img005.jpeg" width="180" height="225" vspace="20"></a></td>
      <td height="30" align="center"><a href="#"><img src="picture/img006.jpeg" width="180" height="225"></a></td>
      <td height="30" align="center"><a href="#"><img src="picture/img007.jpeg" width="180" height="225"></a></td>
      <td height="30" align="center"><a href="#"><img src="picture/img008.jpeg" width="180" height="225"></a></td>
    </tr>
    <tr>
      <td height="30" align="center"><a href="#">龙脂猪血</a></td>
      <td height="30" align="center"><a href="#">火宫殿臭豆腐</a></td>
      <td height="30" align="center"><a href="#">酱板鸭</a></td>
      <td height="30" align="center"><a href="#">乾煎鸡油八宝饭</a></td>
    </tr>
  </table>
  <table width="960" class="video" align="center" cellspacing="0">
    <tr>
      <td align="left">
        <video width="condition" src="file/m01.mp3" controls="controls" type="video/mp4" autoplay="autoplay">
        </video>
      </td>
    </tr>
  </table>
  <div class="footer">
    <table width="960" align="center" cellspacing="0">
      <tr>
        <td height="60" align="center">
          @版权仅个人所属
        </td>
      </tr>
    </table>
  </div>
</body>

</html>
<script src="js/js.js"></script>


🏠CSS样式代码

body{
    background-color: #6A1619;
    padding: 0;
    margin: 0;
}
*{
padding: 0;
}
a{
text-decoration: none;
color: #fff;
}
body,td,th {
    color: #fff;
}
.header{
background-color: #F3F3F3;
}
.header a{
color: #6A1619;
font-size: 18px;
line-height: 60px;
display: block;
}
.header td:hover{
background-color: #a57071;
}
.header td:hover a{
color: #fff;
}
.header .active{
background-color: #a57071;
}
.header .active a{
color: #fff;
}
.footer{
background: #F3F3F3;
}
.footer td{
color: #6A1619 ;
}
.video{
position: fixed;
left: 0;
bottom: 50px;
}
.title{
    font-size: 22px;
    font-weight: 600;
}
.slider{
    position: relative;
    width: 700px;
    height: 400px;
    overflow: hidden;
}
.mask{
    width: 4200px;
    position: absolute;
    left: 0;
}
.mask img{
    width: 700px;
    height: 400px;
    float: left;
}
.menu2 li{
    list-style: none;
    float: left;
    margin-right: 20px;
}






五、🎁更多源码

1.如果我的博客对你有帮助 请 “👍点赞” “✍️评论” “💙收藏” 一键三连哦!

2.💗【👇🏻👇🏻👇🏻🉑关注我| 获取更多源码】 带您学习各种前端插件、3D炫酷效果、图片展示、文字效果、以及整站模板 、大学生毕业HTML模板 、等!

📣以上内容技术相关问题💌欢迎一起交流学习👇🏻👇🏻👇🏻

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

web学生网页设计

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值