javascript
基于HTML+CSS+JavaScript制作学生网页——斗破苍穹动漫(6页) 排版整洁,内容丰富,主题鲜明
HTML實例網頁代碼, 本實例適合于初學HTML的同學。該實例里面有設置了css的樣式設置,有div的樣式格局,這個實例比較全面,有助于同學的學習,本文將介紹如何通過從頭開始設計個人網站并將其轉換為代碼的過程來實踐設計。
?精彩專欄推薦👇🏻👇🏻👇🏻
? 【作者主頁——🔥獲取更多優質源碼】
? 【web前端期末大作業——🔥🔥畢設項目精品實戰案例(1000套)】
文章目錄🌰
- 一、網頁介紹📖
- 一、網頁效果🌌
- 二、代碼展示😈
- 1.HTML代碼結構 🧱
- 2.CSS樣式代碼 🏠
- 三、個人總結😊
- 四、更多干貨🚀
一、網頁介紹📖
1 網頁簡介:此作品為學生個人主頁網頁設計題材,HTML+CSS 布局制作,web前端期末大作業,大學生網頁設計作業源碼,這是一個不錯的網頁制作,畫面精明,代碼為簡單學生水平, 非常適合初學者學習使用。
2.網頁編輯:網頁作品代碼簡單,可使用任意HTML編輯軟件(如:Dreamweaver、HBuilder、Vscode 、Sublime 、Webstorm、Text 、Notepad++ 等任意html編輯軟件進行運行及修改編輯等操作)。
3.知識應用:技術方面主要應用了網頁知識中的: Div+CSS、鼠標滑過特效、Table、導航欄效果、Banner、表單、二級三級頁面等,視頻、 音頻元素 、Flash,同時設計了Logo(源文件)所需的知識點。
一、網頁效果🌌
二、代碼展示😈
1.HTML代碼結構 🧱
代碼如下(示例):以下僅展示部分代碼供參考~
<html xmlns="http://www.w3.org/1999/xhtml" style="overflow: auto; overflow-x:hidden;"><head><title>斗破蒼穹動漫網</title><meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /><link rel="stylesheet" type="text/css" href="css/screen.css" /><link rel="stylesheet" href="css/lrtk.css" type="text/css" media="screen" /></head><body> <div class="wrapper"><div class="top"><div class="top_link"><a href="#">設為首頁</a> | <a href="#" class="link2">加入收藏</a></div></div><!--end of top--><div class="nav"><ul><li><a href="index.html">網站首頁</a></li><li><a href="gushi.html">故事背景</a></li><li><a href="juese.html">角色介紹</a></li><li><a href="huaxu.html">動漫圖集</a></li><li><a href="zhizuo.html">登場武器</a></li><li><a href="pinjia.html">留言板</a></li></ul> </div><!--end of nav--><div id="banner"><div class="flexslider"><ul class="slides"><li><a href="#" > <img src="image/ad1.jpg" width="1010" /></a> </li><li><a href="#" > <img src="image/ad2.jpg" width="1010" /></a> </li><li><a href="#" > <img src="image/ad3.jpg" width="1010" /></a> </li><li><a href="#" > <img src="image/ad4.jpg" width="1010" /></a> </li><li><a href="#" > <img src="image/ad5.jpg" width="1010" /></a> </li><li><a href="#" > <img src="image/ad6.jpg" width="1010" /></a> </li></ul></div></div><!--end of banner--><div class="content"><div class="sidebar"><div class="pro_box"><div class="jj_cp2"><h3>斗破蒼穹動漫網</h3></div><ul class="pro_list"><li><a href="gushi.html">故事背景</a></li><li><a href="juese.html">角色介紹</a></li><li><a href="huaxu.html">動漫圖集</a></li><li><a href="pingjia.html">動漫評價</a></li></ul></div><!--end of pro_box--><div class="pro_box"><div class="jj_cp2"><h3>角色介紹</h3></div><ul class="pro_list"><li><a href="juese.html">蕭炎</a></li><li><a href="juese.html">熏兒</a></li><li><a href="juese.html">蕭戰</a></li><li><a href="juese.html">藥老</a></li></ul></div><!--end of pro_box--> </div><!--end of sidebar--><div class="main_con"><div class="chanp_box"><div class="jj_cp"><h3>角色介紹</h3></div><div class="show_box"><div class="show_panel"><ul id="show_list"><li><a href="#"><span></span></a> <a href="#"><img alt="" src="image/j2.jpg" width="133" height="168" /><span>蕭炎</span></a> <a href="#"><span></span></a> <a href="#"><img alt="" src="image/j2.jpg" width="140" height="168" /><span>蕭炎</span></a> <a href="#"><img alt="" src="image/j3.jpg" width="140" height="168" /><span>蕭薰兒</span></a> <a href="#"><img alt="" src="image/j4.jpg" width="140" height="168" /><span>蕭戰</span></a> </li></ul></div></div><!--end of show_box--> </div><!--end of chanp_box--><div class="chanp_box"><div class="jj_cp"><h3>角色介紹 </h3></div><div class="show_box"><div class="show_panel"><ul id="show_list"><li> <a href="#"><img alt="" src="image/m1.jpg" width="164" height="168" /><img alt="" src="image/j1.jpg" width="164" height="168" /></a> <a href="#"><img alt="" src="image/m2.jpg" width="164" height="168" /><span></span></a> <a href="#"><img alt="" src="image/m3.jpg" width="164" height="168" /></a> <a href="#"><img alt="" src="image/m4.jpg" width="164" height="168" /><span></span></a> </li></ul></div></div><!--end of show_box--> </div><!--end of chanp_box--><div class="jj_box"><div class="jj_cp"><h3>角色介紹</h3></div><div class="jj_cloumn"> <a href="#"><img alt="" src="image/1.jpg" width="237" height="166"/></a><div class="jj_txt"><p>《斗破蒼穹Ⅱ:絕世蕭炎》是皇甫南創作的一部東方玄幻類型的網絡小說,首發于幻俠小說網,本書主要講述了,斗氣大陸的"炎帝"蕭炎,在五帝破空之后,打開了位面通道,進入那片神秘的位面,去找尋古往今來的斗帝失蹤之謎,以及本源帝氣消失之謎。</p></div><!--end of jj_txt--> </div><!--end of jj_cloumn--> </div><!--end of jj_box--> </div><!--end of mian_con--> </div><!--end of content--> </div> <!--end of wrapper--> <div class="foot"><div class="copyright"><p>斗破蒼穹動漫網20164601036 </p><p><a href="http://mail.qq.com/">聯系我們</a><a href="http://www.baidu.com/" target="_blank"> 友情鏈接</a></p></div><!--end of copyright--> </div> <!--end of foot--> </body> </html>2.CSS樣式代碼 🏠
/* Browser Resets */ .flex-container a:active, .flexslider a:active {outline: none;} .slides, .flex-control-nav, .flex-direction-nav {margin: 0; padding: 0; list-style: none;} /* FlexSlider Necessary Styles *********************************/ .flexslider {width: 100%; margin: 0; padding: 0;} .flexslider .slides > li {display: none;} /* Hide the slides before the JS is loaded. Avoids image jumping */ .flexslider .slides img {} .flex-pauseplay span {text-transform: capitalize;}/* Clearfix for the .slides element */ .slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} html[xmlns] .slides {display: block;} * html .slides {height: 1%;}/* No JavaScript Fallback */ /* If you are not using another script, such as Modernizr, make sure you* include js that eliminates this class on page load */ .no-js .slides > li:first-child {display: block;}/* FlexSlider Default Theme *********************************/ .flexslider {position: relative; margin-top:10px; padding-top:10px; margin-left:10px; zoom: 1;} .flexslider .slides {zoom: 1;} .flexslider .slides > li {position: relative;} /* Suggested container for "Slide" animation setups. Can replace this with your own, if you wish */ .flex-container {zoom: 1; position: relative;}/* Caption style */ /* IE rgba() hack */ .flex-caption {background:none; -ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000); filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000); zoom: 1;} .flex-caption {width: 96%; padding: 2%; position: absolute; left: 0; bottom: 0; background: rgba(0,0,0,.3); color: #fff; text-shadow: 0 -1px 0 rgba(0,0,0,.3); font-size: 14px; line-height: 18px;}/* Direction Nav */ .flex-direction-nav li a {width: 52px; height: 52px; margin: -13px 0 0; display: block; background: url(../image/bg_direction_nav.png) no-repeat 0 0; position: absolute; top:150px; cursor: pointer; text-indent: -9999px;} .flex-direction-nav li a.next {background-position: -52px 0; right: -51px;} .flex-direction-nav li a.prev {background-position: 0 0; left: -60px;} .flex-direction-nav li a.disabled {opacity: .3; filter:alpha(opacity=30); cursor: default;}/* Control Nav */ .flex-control-nav {width: 100%; position: absolute; bottom: -30px; *bottom: -0px;*bottom: -0px\9; text-align: center;} .flex-control-nav li {margin: 0 0 0 5px; display: inline-block; zoom: 1; *display: inline;} .flex-control-nav li:first-child {margin: 0;} .flex-control-nav li a {width: 13px; height: 13px; display: block; background: url(../image/bg_control_nav.png) no-repeat 0 0; cursor: pointer; text-indent: -9999px;} .flex-control-nav li a:hover {background-position: 0 -13px;} .flex-control-nav li a.active {background-position: 0 -26px; cursor: default;}三、個人總結😊
一套合格的網頁應該包含(具體可根據個人要求而定)
四、更多干貨🚀
1.如果我的博客對你有幫助、如果你喜歡我的博客內容,請 “👍點贊” “??評論” “💙收藏” 一鍵三連哦!
2.??【關注我| 獲取更多源碼 | 優質文章】 帶您學習各種前端插件、3D炫酷效果、圖片展示、文字效果、以及整站模板 、大學生畢業HTML模板 、期末大作業模板 、等! 「在這里有好多 前端 開發者,一起探討 前端 Node 知識,互相學習」!
3.以上內容技術相關問題😈歡迎一起交流學習🔥
總結
以上是生活随笔為你收集整理的基于HTML+CSS+JavaScript制作学生网页——斗破苍穹动漫(6页) 排版整洁,内容丰富,主题鲜明的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 高效程序员的45个习惯
- 下一篇: 关于.Net WebProxy【转】