👨🎓静态网站的编写主要是用HTML DIV+CSS JS等来完成页面的排版设计👩🎓,常用的网页设计软件有Dreamweaver、EditPlus、HBuilderX、VScode 、Webstorm、Animate等等,用的最多的还是DW,当然不同软件写出的前端Html5代码都是一致的,本网页适合修改成为各种类型的产品展示网页,比如美食、旅游、摄影、电影、音乐等等多种主题,希望对大家有所帮助。
🎀 精彩专栏推荐👇🏻👇🏻👇🏻
🧡 【作者主页——🔥获取更多优质源码】
🧡 【web前端期末大作业——🔥🔥毕设项目精品实战案例(1000套)】
文章目录📂
一、网站题目👨🎓
🥧 美食网页介绍、🍰甜品蛋糕、🦐地方美食小吃文化、🍺餐饮文化、等网站的设计与制作。
二、网站描述✍️
🍧美食主题网站 主要对各种美食进行展示,让浏览者清晰地了解到各种美食的详细信息,便于浏览者进行选择。该模块的左侧有个美食分类,用户可以选择自己喜欢的种类,当点击种类后,就会在右侧出现该分类下的各种美食,用户可以点击自己感兴趣的食品,从而看到它的具体信息。它的具体信息包括配料、产地及它的一些功能,使用户对该食品有着全面的认识。
三、网站介绍📚
📔网站布局方面:计划采用目前主流的、能兼容各大主流浏览器、显示效果稳定的浮动网页布局结构。
📓网站程序方面:计划采用最新的网页编程语言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代码)。
四、网站效果🌐
五、代码实现 🪓
HTML结构代码🧱
<!DOCTYPEhtml><html><head><title>Home</title><linkhref="css/bootstrap.css"type="text/css"rel="stylesheet"media="all"><linkhref="css/style.css"type="text/css"rel="stylesheet"media="all"><!-- Custom Theme files --><metaname="viewport"content="width=device-width, initial-scale=1"><metahttp-equiv="Content-Type"content="text/html; charset=utf-8"/><metaname="keywords"content="Crops Responsive web template, Bootstrap Web Templates, Flat Web Templates, Andriod Compatible web template,
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyErricsson, Motorola web design"/><scripttype="application/x-javascript">addEventListener("load",function(){setTimeout(hideURLbar,0);},false);functionhideURLbar(){ window.scrollTo(0,1);}</script><!-- //Custom Theme files --><!-- js --><scriptsrc="js/jquery-1.11.1.min.js"></script><!-- //js --><!-- start-smoth-scrolling--><scripttype="text/javascript"src="js/move-top.js"></script><scripttype="text/javascript"src="js/easing.js"></script><scripttype="text/javascript">jQuery(document).ready(function($){$(".scroll").click(function(event){
event.preventDefault();$('html,body').animate({scrollTop:$(this.hash).offset().top},1000);});});</script><!--//end-smoth-scrolling--></head><body><divclass="adcenter"><scriptsrc="js/ggad2_728x90.js"></script></div><!--header--><divclass="logo"><divclass="container"><divclass="logo-info"><ahref="index.html"><h1>Crops</h1><spanclass="glyphicon glyphicon-grain"aria-hidden="true"></span></a></div></div></div><!--//header--><!--navigation--><divclass="top-nav"><navclass="navbar navbar-default"><divclass="container"><buttontype="button"class="navbar-toggle collapsed"data-toggle="collapse"data-target="#bs-example-navbar-collapse-1">Menu
</button></div><!-- Collect the nav links, forms, and other content for toggling --><divclass="collapse navbar-collapse"id="bs-example-navbar-collapse-1"><ulclass="nav navbar-nav"><liclass="hvr-bounce-to-bottom active"><ahref="index.html">Home</a></li><liclass="hvr-bounce-to-bottom"><ahref="about.html">About</a></li><li><ahref="#"class="dropdown-toggle hvr-bounce-to-bottom"data-toggle="dropdown"role="button"aria-haspopup="true"aria-expanded="false">Gallery<spanclass="caret"></span></a><ulclass="dropdown-menu"><li><aclass="hvr-bounce-to-bottom"href="gallery.html">Gallery1</a></li><li><aclass="hvr-bounce-to-bottom"href="gallery.html">Gallery2</a></li><li><aclass="hvr-bounce-to-bottom"href="gallery.html">Gallery3</a></li></ul></li><liclass="hvr-bounce-to-bottom"><ahref="codes.html">Short Codes</a></li><liclass="hvr-bounce-to-bottom"><ahref="contact.html">Contact Us</a></li></ul><divclass="clearfix"></div></div></nav></div><!--//navigation--><!--baner--><divclass="baner"><divclass="container"><divclass="baner-grids"><divclass="col-md-6 baner-top"><figureclass="effect-bubba"><imgsrc="picture/img1.jpg"alt=""/><figcaption><h4>Enimet pulvinar posuere</h4><p>In sit amet sapien eros Integer dolore magna aliqua</p></figcaption></figure></div><divclass="col-md-6 baner-top"><figureclass="effect-bubba"><imgsrc="picture/img2.jpg"alt=""/><figcaption><h4>Enimet pulvinar posuere</h4><p>In sit amet sapien eros Integer dolore magna aliqua</p></figcaption></figure></div><divclass="clearfix"></div><divclass="baner-row"><divclass="col-md-4 baner-bottom"><figureclass="effect-bubba"><imgsrc="picture/img3.jpg"alt=""/><figcaption><h4>Enimet pulvinar posuere</h4><p>In sit amet sapien eros Integer dolore magna aliqua</p></figcaption></figure></div><divclass="col-md-4 baner-bottom"><figureclass="effect-bubba"><imgsrc="picture/img4.jpg"alt=""/><figcaption><h4>Enimet pulvinar posuere</h4><p>In sit amet sapien eros Integer dolore magna aliqua</p></figcaption></figure></div><divclass="col-md-4 baner-bottom"><figureclass="effect-bubba"><imgsrc="picture/img5.jpg"alt=""/><figcaption><h4>Enimet pulvinar posuere</h4><p>In sit amet sapien eros Integer dolore magna aliqua</p></figcaption></figure></div><divclass="clearfix"></div></div></div></div></div><!--//baner--><divclass="copyrights">Collect from <ahref="http://www.cssmoban.com/"title="网站模板">网站模板</a></div><!-- news --><divclass="news-info"><divclass="container"><h3class="title">Our News</h3></div></div><!-- container --><divclass="container"><divclass="news"><divclass="news-grids"><divclass="col-md-4 news-grid"><divclass="news-grid-left news-grid-left-img"><h6>23rd /july</h6></div><divclass="news-grid-left-info"><h5>Lorem Ipsum is simply dummy</h5><p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p></div></div><divclass="col-md-4 news-grid"><divclass="news-grid-left news-grid-middle"><h6>5th /Aug</h6></div><divclass="news-grid-left-info"><h5>Lorem Ipsum is simply dummy</h5><p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p></div></div><divclass="col-md-4 news-grid"><divclass="news-grid-left news-grid-right"><h6>15th /Aug</h6></div><divclass="news-grid-left-info"><h5>Lorem Ipsum is simply dummy</h5><p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p></div></div><divclass="clearfix"></div></div></div><!-- //container --></div><!-- //news --><!--main--><divclass="main"><divclass="container"><divclass="main-grids"><divclass="col-md-6 main-left"><imgsrc="picture/img6.jpg"alt=""/><h4>ECO SOLUTIONS</h4><p>Temporibus autem quibusdam et aut officiis debitis aut
rerum necessitatibus saepe eveniet ut et voluptates repudiandae.</p><ahref="#"class="more btn btn-1 btn-1b"> Read More</a></div><divclass="col-md-6 main-right"><divclass="col-md-6 main-text"><imgsrc="picture/img7.jpg"alt=""/></div><divclass="col-md-6 main-text"><h4>ECO SOLUTIONS</h4><p>Temporibus autem quibusdam et aut officiis debitis aut eveniet ut et voluptates repudiandae rerum necessitatibus saepe quibusdam et aut officiis debitis aut
rerum necessitatibus saepe eveniet ut et voluptates repudiandae </p><ahref="#"class="more btn btn-1 btn-1b"> Read More</a></div><divclass="clearfix"></div></div><divclass="clearfix"></div></div></div></div><!--//main--><!--services--><divclass="services"id="services"><divclass="container"><h3class="title">Services Overview</h3><divclass="service-grids"><divclass="col-md-4 srvc-grids-info"><divclass="srvc-img"><spanclass="glyphicon glyphicon-leaf"aria-hidden="true"></span></div><h5>Ultrices</h5><p>Claritas est etiam processus dynaicus qui Mirum est notare quam </p></div><divclass="col-md-4 srvc-grids-info"><divclass="srvc-img"><spanclass="glyphicon glyphicon-globe"aria-hidden="true"></span></div><h5>Tltrices</h5><p>Claritas est etiam processus dynaicus qui Mirum est notare quam </p></div><divclass="col-md-4 srvc-grids-info"><divclass="srvc-img"><spanclass="glyphicon glyphicon-thumbs-up"aria-hidden="true"></span></div><h5>Cltrices</h5><p>Claritas est etiam processus dynaicus qui Mirum est notare quam </p></div><divclass="col-md-4 srvc-grids-info"><divclass="srvc-img"><spanclass="glyphicon glyphicon-grain"aria-hidden="true"></span></div><h5>Fltrices</h5><p>Claritas est etiam processus dynaicus qui Mirum est notare quam </p></div><divclass="col-md-4 srvc-grids-info"><divclass="srvc-img"><spanclass="glyphicon glyphicon-send"aria-hidden="true"></span></div><h5>Processus</h5><p>Claritas est etiam processus dynaicus qui Mirum est notare quam </p></div><divclass="col-md-4 srvc-grids-info"><divclass="srvc-img"><spanclass="glyphicon glyphicon-education"aria-hidden="true"></span></div><h5>Sequitur</h5><p>Claritas est etiam processus dynaicus qui Mirum est notare quam </p></div><divclass="clearfix"></div></div></div></div><!--//services--><!-- footer --><divclass="footer"><divclass="container"><divclass="footer-grids"><divclass="col-md-3 footer-grid"><h3class="title">Services</h3><ul><li><ahref="#">Rerum hic tenetur</a></li><li><ahref="#">Molestiae non recusandae</a></li><li><ahref="#">Voluptates repudiandae</a></li><li><ahref="#">Necessitatibus saepe</a></li><li><ahref="#">Debitis aut rerum</a></li></ul></div><divclass="col-md-3 footer-grid"><h3class="title">Information</h3><ul><li><ahref="#">Quibusdam et aut</a></li><li><ahref="#">Testimonals</a></li><li><ahref="#">Archives</a></li><li><ahref="#">Our Staff</a></li></ul></div><divclass="col-md-3 footer-grid"><h3class="title">More details</h3><ul><li><ahref="about.html">About us</a></li><li><ahref="#">Privacy Policy</a></li><li><ahref="#">Terms & Conditions</a></li><li><ahref="contact.html">Site map</a></li></ul></div><divclass="col-md-3 footer-grid contact-grid"><h3class="title">Contact us</h3><ul><li><spanclass="glyphicon glyphicon-map-marker"aria-hidden="true"></span>Newyork Still Road.</li><liclass="adrs">756 gt globel Place</li><li><spanclass="glyphicon glyphicon-earphone"aria-hidden="true"></span>+000 100 444 1111</li><li><spanclass="glyphicon glyphicon-envelope"aria-hidden="true"></span><ahref="mailto:[email protected]">[email protected]</a></li></ul></div><divclass="clearfix"></div></div></div></div><divclass="copy"><divclass="container"><divclass="copy-left"><p>Copyright © 2015.Company name All rights reserved.<atarget="_blank"href="http://www.cssmoban.com/">网页模板</a></p></div><divclass="social-icons"><ul><li><ahref="#"class="fb"></a></li><li><ahref="#"></a></li><li><ahref="#"class="gg"></a></li><li><ahref="#"class="pn"></a></li></ul></div><divclass="clearfix"></div></div></div><!--//footer--><!--smooth-scrolling-of-move-up--><scripttype="text/javascript">$(document).ready(function(){/*
var defaults = {
containerID: 'toTop', // fading element id
containerHoverID: 'toTopHover', // fading element hover id
scrollSpeed: 1200,
easingType: 'linear'
};
*/$().UItoTop({ easingType:'easeOutQuart'});});</script><ahref="#"id="toTop"style="display: block;"><spanid="toTopHover"style="opacity: 1;"></span></a><!--//smooth-scrolling-of-move-up--><!-- Bootstrap core JavaScript
================================================== --><!-- Placed at the end of the document so the pages load faster --><scriptsrc="js/bootstrap.js"></script></body></html>
CSS样式代码💒
h1,h2,h3,h4,h5,h6{margin:0;}p{margin:0;}ul,label{margin:0;padding:0;}body a:hover{text-decoration:none;}/*--header--*/.logo{padding: 0.8em 0 3em;text-align: center;}.logo a{display:inline-block;}.logo a h1{font-size: 6.5em;font-family:'Iceland-Regular';color: #000;letter-spacing: -5px;border-bottom: 9px double #000;line-height: 0.98em;}.logo-info{position: relative;}.logo span.glyphicon.glyphicon-grain{font-size: 4em;position: absolute;top: 26%;left: 37%;color: #84904b;}/*--top-nav--*/.top-nav{border-top: 3px double #D8D7D7;border-bottom: 3px double #D8D7D7;}ul.nav.navbar-nav{float: none;text-align: center;}nav.navbar.navbar-default{background-color: inherit;border: none;margin: 0;}.navbar-nav > li{float: none;display: inline-block;}.navbar-default .navbar-nav > li > a{color: #000;text-decoration: none;letter-spacing: 1px;font-size: 1.2em;padding: 1.2em 2em;}
八、更多干货🎁
1.如果我的博客对你有帮助、如果你喜欢我的博客内容,
请 “👍点赞” “✍️评论” “💙收藏”
一键三连哦!
带您学习各种前端插件、3D炫酷效果、图片展示、文字效果、以及整站模板 、大学生毕业HTML模板 、期末大作业模板 、等! 「在这里有好多 前端 开发者,一起探讨 前端 Node 知识,互相学习」!💗【👇🏻👇🏻👇🏻关注我| 获取更多源码 | 优质文章】
3.以上内容技术相关问题💌欢迎一起交流学习👇🏻👇🏻👇🏻🔥
版权归原作者 HTML网页设计 所有, 如有侵权,请联系我们删除。