2000字范文,分享全网优秀范文,学习好帮手!
2000字范文 > HTML+CSS环境保护静态网页设计 (学生网页设计作业源码)

HTML+CSS环境保护静态网页设计 (学生网页设计作业源码)

时间:2020-03-28 23:49:01

相关推荐

HTML+CSS环境保护静态网页设计 (学生网页设计作业源码)

🌩️ 精彩专栏推荐👇🏻👇🏻👇🏻

💂 作者主页: 【进入主页—🚀获取更多源码】

🎓 web前端期末大作业: 【📚HTML5网页期末作业 (1000套) 】

🧡 程序员有趣的告白方式:【💌HTML七夕情人节表白网页制作 (110套) 】

📂文章目录

二、📚网站介绍三、🔗网站效果▶️1.视频演示🧩 2.图片演示四、💒 网站代码🧱HTML结构代码🏠CSS样式代码五、🎁更多源码

二、📚网站介绍

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

📓网站程序方面:计划采用最新的网页编程语言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.视频演示

G21BG 环保页面 15页 带轮播 带jquery 带留言表单 带报告800字

🧩 2.图片演示

四、💒 网站代码

🧱HTML结构代码

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>home</title><link rel="stylesheet" type="text/css" href="css/index.css" ><script src="js/jquery-1.4a2.min.js" type="text/javascript"></script><script src="js/jquery.KinSlideshow-1.2.1.min.js" type="text/javascript"></script><script type="text/javascript">$(function(){$("#KinSlideshow").KinSlideshow();})</script><style type="text/css">.code{height:auto; padding:20px; border:1px solid #9EC9FE; background:#ECF3FD;}.code pre{font-size:14px;}.info{font-size:12px; color:#666666; font-family:Verdana; margin:20px 0 50px 0;}.info p{margin:0; padding:0; line-height:22px; text-indent:40px;}h2.title{margin:0; padding:0; margin-top:50px; font-size:18px; }h3.title{font-size:16px;}.importInfo{font-family:Verdana; font-size:14px;}</style></head><body background="images/bg.jpg" ><!-- Copyright ?. Spidersoft Ltd --><style>A.applink:hover {border: 2px dotted #DCE6F4;padding:2px;background-color:#ffff00;color:green;text-decoration:none}A.applink {border: 2px dotted #DCE6F4;padding:2px;color:#2F5BFF;background:transparent;text-decoration:none}A.info{color:#2F5BFF;background:transparent;text-decoration:none}A.info:hover {color:green;background:transparent;text-decoration:underline}</style><!-- /Copyright ?. Spidersoft Ltd --><center><div class="head"><img src="images/logo.jpg" /></div><div class="page"><div class="nav"><p><a href="index.htm" >首页</a><a href="files/changyi.html" >校园环保倡议书</a><a href="files/biaozhun.html" >环境标准</a><a href="files/tupian.html" >校园环保图片</a><a href="files/liuyan.html" >环保留言</a></p></div><div class="content"><div id="KinSlideshow" style="visibility:hidden;"><a href="#"><img src="images/1.jpg" alt="保护环境就是保护我们自己。" width="990" height="450" /></a><a href="#"><img src="images/2.jpg" alt="保护环境就是保护我们自己。" width="990" height="450" /></a><a href="#"><img src="images/3.jpg" alt="保护环境就是保护我们自己。" width="990" height="450" /></a><a href="#"><img src="images/4.jpg" alt="保护环境就是保护我们自己。" width="990" height="450" /></a><a href="#"><img src="images/5.jpg" alt="保护环境就是保护我们自己。" width="990" height="450" /></a><a href="#"><img src="images/6.jpg" alt="保护环境就是保护我们自己。" width="990" height="450" /></a><a href="#"><img src="images/7.jpg" alt="保护环境就是保护我们自己。" width="990" height="450" /></a> </div></div></div><div class="foot"><p>版权所有</p></div></center></body></html>

🏠CSS样式代码

/* CSS Document */body,ul,ol,li,p,h1,h2,h3,h4,h5,h6,form,fieldset,table,td,img,div{margin:0;padding:0;border:0;}*{margin:0;padding:0;border:0; font-family:"Times New Roman", Times, serif;}body {font-family:"Times New Roman", Times, serif;font-size: 12px;color:#000000;line-height: 20px;text-align:left}ul,li{list-style-type:none;}.head{width:950px; margin:0 auto; text-align:left; height:50px; padding:10px 20px;background:url("../images/head.jpg") no-repeat right; border-bottom:3px solid #1477be;}.page{width:990px; margin:0 auto; background:#FFFFFF;padding-top:5px;}.nav{width:990px; height:26px; background:url("../images/nav_bg.gif") repeat-x; line-height:26px; text-align:center; font-size:14px; font-weight:bold;}.nav a{color:#FFFFFF;}.foot{width:990px; margin:0 auto; padding:20px 0;}.content{width:990px; padding:30px 0;}.about{width:600px; margin:0 auto; text-align:left; padding:30px 0;overflow:hidden;}.about h1{font-size:16px; font-weight:bold; text-align:center;}.about p{text-align:left;line-height:26px; text-indent:2em;}.pro{width:800px;margin:0 auto; text-align:left; padding:30px 0;overflow:hidden;}.pro ul li{width:145px; height:180px; display:block; float:left; margin-left:30px; display:inline;}.pro ul li img{width:135px; height:100px; display:block; padding:2px; border:1px solid #333333; text-align:center}.pro ul li p{line-height:22px; text-align:center;}.contact{width:600px; margin:0 auto; text-align:left; padding:30px 0;overflow:hidden;}.contact ul li{line-height:24px; margin-top:16px; }.contact ul li span{vertical-align:middle; padding-right:12px;}.contact ul li .message_in{width:300px; height:22px; border:1px solid #999999;vertical-align:middle;line-height:22px;}.contact ul li .message_te{width:500px; height:90px; border:1px solid #999999;vertical-align:middle;line-height:18px;}.contact ul li .message_btn{width:64px; height:20px; line-height:20px; background:url("../images/btn.gif") no-repeat; color:#FFFFFF; font-weight:bold; cursor:hand;}.new{padding:0 30px;}.new ul li {text-align:left; line-height:34px;}.new ul li a{color:#000000; text-align:left;}

五、🎁更多源码

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

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

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

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。