📂文章目录
- 二、✍️网站描述
- 三、📚网站介绍
- 四、🌐网站演示
- 五、⚙️ 网站代码
- 🧱HTML结构代码
- 💒CSS样式代码
- 六、🥇 如何让学习不再盲目
- 七、🎁更多干货
❤ 【作者主页——🔥获取更多优质源码】
❤ 【学习资料/简历模板/面试资料/ 网站设计与制作】
❤ 【web前端期末大作业——🔥🔥毕设项目精品实战案例】
# 一、👨🎓网站题目 🏫 校园网页设计 、学校班级网页制作、学校官网、小说书籍、等网站的设计与制作。
二、✍️网站描述
🏷️HTML静态网页设计作业使用dreamweaver制作,采用DIV+CSS布局,共有多个页面,首页使用CSS排版比较丰富,色彩鲜明有活力。顶部导航及底部区域背景色为100%宽度,主体内容区域宽度
🏅 一套优质的💯网页设计应该包含 (具体可根据个人要求而定)
- 页面分为页头、菜单导航栏(最好可下拉)、中间内容板块、页脚四大部分。
- 所有页面相互超链接,可到三级页面,有5-10个页面组成。
- 页面样式风格统一布局显示正常,不错乱,使用Div+Css技术。
- 菜单美观、醒目,二级菜单可正常弹出与跳转。
- 要有JS特效,如定时切换和手动切换图片轮播。
- 页面中有多媒体元素,如gif、视频、音乐,表单技术的使用。
- 页面清爽、美观、大方,不雷同。 。
- 不仅要能够把用户要求的内容呈现出来,还要满足布局良好、界面美观、配色优雅、表现形式多样等要求。
三、📚网站介绍
📔网站布局方面:计划采用目前主流的、能兼容各大主流浏览器、显示效果稳定的浮动网页布局结构。
📓网站程序方面:计划采用最新的网页编程语言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结构代码
<!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/login.css" rel="stylesheet" rev="stylesheet" type="text/css" media="all" /> <script type="text/javascript" src="js/jQuery1.7.js"></script> <script type="text/javascript" src="js/jquery-1.8.2.min.js"></script> <script type="text/javascript" src="js/jquery1.42.min.js"></script> <script type="text/javascript" src="js/jquery.SuperSlide.js"></script> <script type="text/javascript" src="js/Validform_v5.3.2_min.js"></script> <script type="text/javascript"> $(document).ready(function(){ var $tab_li = $('#tab ul li'); $tab_li.hover(function(){ $(this).addClass('selected').siblings().removeClass('selected'); var index = $tab_li.index(this); $('div.tab_box > div').eq(index).show().siblings().hide(); }); }); </script> <script type="text/javascript"> $(function(){ /*学生登录信息验证*/ $("#stu_username_hide").focus(function(){ var username = $(this).val(); if(username=='输入学号'){ $(this).val(''); } }); $("#stu_username_hide").focusout(function(){ var username = $(this).val(); if(username==''){ $(this).val('输入学号'); } }); $("#stu_password_hide").focus(function(){ var username = $(this).val(); if(username=='输入密码'){ $(this).val(''); } }); $("#stu_password_hide").focusout(function(){ var username = $(this).val(); if(username==''){ $(this).val('输入密码'); } }); $("#stu_code_hide").focus(function(){ var username = $(this).val(); if(username=='输入验证码'){ $(this).val(''); } }); $("#stu_code_hide").focusout(function(){ var username = $(this).val(); if(username==''){ $(this).val('输入验证码'); } }); $(".stu_login_error").Validform({ tiptype:function(msg,o,cssctl){ var objtip=$(".stu_error_box"); cssctl(objtip,o.type); objtip.text(msg); }, ajaxPost:true }); /*导师登录信息验证*/ $("#tea_username_hide").focus(function(){ var username = $(this).val(); if(username=='输入教工号'){ $(this).val(''); } }); $("#tea_username_hide").focusout(function(){ var username = $(this).val(); if(username==''){ $(this).val('输入教工号'); } }); $("#tea_password_hide").focus(function(){ var username = $(this).val(); if(username=='输入密码'){ $(this).val(''); } }); $("#tea_password_hide").focusout(function(){ var username = $(this).val(); if(username==''){ $(this).val('输入密码'); } }); $("#tea_code_hide").focus(function(){ var username = $(this).val(); if(username=='输入验证码'){ $(this).val(''); } }); $("#tea_code_hide").focusout(function(){ var username = $(this).val(); if(username==''){ $(this).val('输入验证码'); } }); $(".tea_login_error").Validform({ tiptype:function(msg,o,cssctl){ var objtip=$(".tea_error_box"); cssctl(objtip,o.type); objtip.text(msg); }, ajaxPost:true }); /*教务登录信息验证*/ $("#sec_username_hide").focus(function(){ var username = $(this).val(); if(username=='输入教务号'){ $(this).val(''); } }); $("#sec_username_hide").focusout(function(){ var username = $(this).val(); if(username==''){ $(this).val('输入教务号'); } }); $("#sec_password_hide").focus(function(){ var username = $(this).val(); if(username=='输入密码'){ $(this).val(''); } }); $("#sec_password_hide").focusout(function(){ var username = $(this).val(); if(username==''){ $(this).val('输入密码'); } }); $("#sec_code_hide").focus(function(){ var username = $(this).val(); if(username=='输入验证码'){ $(this).val(''); } }); $("#sec_code_hide").focusout(function(){ var username = $(this).val(); if(username==''){ $(this).val('输入验证码'); } }); $(".sec_login_error").Validform({ tiptype:function(msg,o,cssctl){ var objtip=$(".sec_error_box"); cssctl(objtip,o.type); objtip.text(msg); }, ajaxPost:true }); }); </script> <script type="text/javascript"> $(function(){ $(".screenbg ul li").each(function(){ $(this).css("opacity","0"); }); $(".screenbg ul li:first").css("opacity","1"); var index = 0; var t; var li = $(".screenbg ul li"); var number = li.size(); function change(index){ li.css("visibility","visible"); li.eq(index).siblings().animate({opacity:0},3000); li.eq(index).animate({opacity:1},3000); } function show(){ index = index + 1; if(index<=number-1){ change(index); }else{ index = 0; change(index); } } t = setInterval(show,8000); //根据窗口宽度生成图片宽度 var width = $(window).width(); $(".screenbg ul img").css("width",width+"px"); }); </script> </head> <body> <div id="tab"> <ul class="tab_menu"> <li class="selected">学生登录</li> <li>导师登录</li> <li>教务登录</li> </ul> <div class="tab_box"> <!-- 学生登录开始 --> <div> <div class="stu_error_box"></div> <form action="" method="post" class="stu_login_error"> <div id="username"> <label>学 号:</label> <input type="text" id="stu_username_hide" name="username" value="输入学号" nullmsg="学号不能为空!" datatype="s6-18" errormsg="学号范围在6~18个字符之间!" sucmsg="学号验证通过!"/> <!--ajaxurl="demo/valid.jsp"--> </div> <div id="password"> <label>密 码:</label> <input type="password" id="stu_password_hide" name="password" value="输入密码" nullmsg="密码不能为空!" datatype="*6-16" errormsg="密码范围在6~16位之间!" sucmsg="密码验证通过!"/> </div> <div id="code"> <label>验证码:</label> <input type="text" id="stu_code_hide" name="code" value="输入验证码" nullmsg="验证码不能为空!" datatype="*4-4" errormsg="验证码有4位数!" sucmsg="验证码验证通过!"/> <img src="images/captcha.jpg" title="点击更换" alt="验证码占位图"/> </div> <div id="remember"> <input type="checkbox" name="remember"> <label>记住密码</label> </div> <div id="login"> <button type="submit">登录</button> </div> </form> </div> <!-- 学生登录结束--> <!-- 导师登录开始--> <div class="hide"> <div class="tea_error_box"></div> <form action="" method="post" class="tea_login_error"> <div id="username"> <label>教工号:</label> <input type="text" id="tea_username_hide" name="username" value="输入教工号" nullmsg="教工号不能为空!" datatype="s6-18" errormsg="教工号范围在6~18个字符之间!" sucmsg="教工号验证通过!"/> <!--ajaxurl="demo/valid.jsp"--> </div> <div id="password"> <label>密 码:</label> <input type="password" id="tea_password_hide" name="password" value="输入密码" nullmsg="密码不能为空!" datatype="*6-16" errormsg="密码范围在6~16位之间!" sucmsg="密码验证通过!"/> </div> <div id="code"> <label>验证码:</label> <input type="text" id="tea_code_hide" name="code" value="输入验证码" nullmsg="验证码不能为空!" datatype="*4-4" errormsg="验证码有4位数!" sucmsg="验证码验证通过!"/> <img src="images/captcha.jpg" title="点击更换" alt="验证码占位图"/> </div> <div id="remember"> <input type="checkbox" name="remember"> <label>记住密码</label> </div> <div id="login"> <button type="submit">登录</button> </div> </form> </div> <!-- 导师登录结束--> <!-- 教务登录开始--> <div class="hide"> <div class="sec_error_box"></div> <form action="" method="post" class="sec_login_error"> <div id="username"> <label>教务号:</label> <input type="text" id="sec_username_hide" name="username" value="输入教务号" nullmsg="教务号不能为空!" datatype="s6-18" errormsg="教务号范围在6~18个字符之间!" sucmsg="教务号验证通过!"/> <!--ajaxurl="demo/valid.jsp"--> </div> <div id="password"> <label>密 码:</label> <input type="password" id="sec_password_hide" name="password" value="输入密码" nullmsg="密码不能为空!" datatype="*6-16" errormsg="密码范围在6~16位之间!" sucmsg="密码验证通过!"/> </div> <div id="code"> <label>验证码:</label> <input type="text" id="sec_code_hide" name="code" value="输入验证码" nullmsg="验证码不能为空!" datatype="*4-4" errormsg="验证码有4位数!" sucmsg="验证码验证通过!"/> <img src="images/captcha.jpg" title="点击更换" alt="验证码占位图"/> </div> <div id="remember"> <input type="checkbox" name="remember"> <label>记住密码</label> </div> <div id="login"> <button type="submit">登录</button> </div> </form> </div> <!-- 教务登录结束--> </div> </div> <div class="screenbg"> <ul> <li><a href="javascript:;"><img src="images/0.jpg"></a></li> <li><a href="javascript:;"><img src="images/1.jpg"></a></li> <li><a href="javascript:;"><img src="images/2.jpg"></a></li> </ul> </div> </body> </html>
复制
💒CSS样式代码
@charset "utf-8"; /* CSS Document */ /*登录界面整体风格*/ html { overflow-y:scroll; vertical-align:baseline; } body { font-family:Microsoft YaHei, Segoe UI, Tahoma, Arial, Verdana, sans-serif, "新宋体"; font-size:12px; color:#000000; height:100%; line-height:1; background:#999; } * { margin:0 auto; padding:0px; } ul, li { list-style:none } /*tab登录选项卡*/ #tab { width:410px; position:relative; margin:80px auto 0px auto; text-align:center; padding:1px; } #tab .tab_menu { width:100%; float:left; position:absolute; z-index:1; } #tab .tab_menu li { float:left; width:33%; height:50px; line-height:50px; border-bottom:0px; cursor:pointer; text-align:center; margin:0 1px 0 0; background-color:#000000; color:#FFFFFF; font-size:16px; filter:alpha(opacity:80); opacity:0.8; } #tab .tab_box { width:410px; clear:both; top:50px; position:relative; background-color:#FFFFFF; color:#000000; font-size:16px; filter:alpha(opacity:80); opacity:0.8; } #tab .tab_box input{font-size:12px;} #tab .tab_menu .selected { cursor:pointer; background-color:#FFFFFF; color:#000000; font-size:16px; filter:alpha(opacity:80); opacity:0.8; } .hide { display:none; } .tab_box div { padding:10px; } input[type=text], input[type=password] { width:200px; height:40px; margin-top:10px; padding:0px 15px; border:1px solid rgba(0, 0, 0, .15); border-radius:6px; color:#000000; letter-spacing:2px; font-size:16px; background:transparent; } #code input { width:95px; } #code img { width:100px; height:40px; border:none; } button { cursor:pointer; width:100%; height:45px; padding:0; background:#ef4300; border:1px solid #ff730e; border-radius:6px; font-weight:700; color:#fff; font-size:24px; letter-spacing:15px; text-shadow:0 1px 2px rgba(0, 0, 0, .1) } input:focus { outline:none; box-shadow:0 2px 3px 0 rgba(0, 0, 0, .1) inset, 0 2px 7px 0 rgba(0, 0, 0, .2) } button:hover { box-shadow:0 15px 30px 0 rgba(240, 70, 0, .15) inset, 0 2px 7px 0 rgba(0, 0, 0, .2) } /*背景图片*/ .screenbg { position:fixed; bottom:0; left:0; z-index:-999; overflow:hidden; width:100%; height:100%; min-height:100%; } .screenbg ul li { display:block; list-style:none; position:fixed; overflow:hidden; top:0; left:0; width:100%; height:100%; z-index:-1000; float:right; } .screenbg ul a { left:0; top:0; width:100%; height:100%; display:inline-block; margin:0; padding:0; cursor:default; } .screenbg a img { vertical-align:middle; display:inline; border:none; display:block; list-style:none; position:fixed; overflow:hidden; top:0; left:0; width:100%; height:100%; z-index:-1000; float:right; } /*底部bottom*/ .bottom { margin:8px auto 0 auto; width:100%; position:fixed; text-align:center; bottom:0; left:0; overflow:hidden; padding-bottom:8px; color:#ccc; word-spacing:3px; zoom:1; } .bottom a { color:#FFF; text-decoration:none; } .bottom a:hover { text-decoration:underline; }
复制
六、🥇 如何让学习不再盲目
第一、带着目标去学习,无论看书报课还是各种线下活动。
首先要明确自己的学习目标是什么,是想解决什么问题,实现怎样的目标。
第二、学习要建立个人知识体系
知识是学不完的,书籍是浩如烟海的。我们尽情徜徉其中的时候,千万不要被海水淹死,没有自我了。在学习过程中,我们会发现每一个知识点都是有她的边界和背景的,我们要善于归纳整理知识
第三、学到了就要用到
有时,我们一天下来感觉学到了很多干货,那么我们一定要将这些知识点和实际工作和生活联系起来。知识和实践相互联系靠拢。爱学习是一件好事,但只有会学习的人,才有价值。
七、🎁更多干货
1.如果我的博客对你有帮助、如果你喜欢我的博客内容,请 “👍点赞” “✍️评论” “💙收藏”
一键三连哦!
2.💗【👇🏻👇🏻👇🏻关注我| 💬获取更多源码 | 优质文章】
带您学习各种前端插件、3D炫酷效果、图片展示、文字效果、以及整站模板 、大学生毕业HTML模板 、期末大作业模板 、等! 「在这里有好多 前端 开发者,一起探讨 前端 Node 知识,互相学习」!
3.
以上内容技术相关问题💌欢迎一起交流学习👇🏻👇🏻👇🏻💬