<font color='#00cea6' size='4px'> 🎉精彩專欄推薦 💭文末擷取聯系 </font>
✍️ 作者簡介: 一個熱愛把邏輯思維轉變為代碼的技術部落客
💂 作者首頁: 【首頁——🚀擷取更多優質源碼】
🎓 web前端期末大作業: 【📚畢設項目精品實戰案例 (1000套) 】
🧡 程式員有趣的告白方式:【💌HTML七夕情人節表白網頁制作 (110套) 】
🌎超炫酷的Echarts大屏可視化源碼:【🔰 Echarts大屏展示大資料平台可視化(150套) 】
🔖 HTML+CSS+JS執行個體代碼: 【🗂️HTML+CSS+JS執行個體代碼 (炫酷特效網頁代碼) 繼續更新中...】
🎁 免費且實用的WEB前端學習指南: 【📂web前端零基礎到進階學習視訊教程 120G幹貨分享】
🥇 關于作者: 💬曆任研發工程師,技術組長,教學總監;曾于2016年、2020年兩度榮獲CSDN年度十大部落格之星。 十載寒冰,難涼熱血;多年過去,曆經變遷,物是人非。 然而,對于技術的探索和追求從未停歇。 💪堅持原創,熱衷分享,初心未改,繼往開來!
<hr>
(📂文章目錄)
<hr>
一、👨🎓網站題目
💗 愛心公益網頁設計 、關愛老人網頁、公益校園安全、公益掃黑除惡、等網站的設計與制作。
<hr>
二、✍️網站描述
🏷️HTML我的班級網頁設計,采用DIV+CSS布局,共有多個頁面,排版整潔,内容豐富,主題鮮明,首頁使用CSS排版比較豐富,色彩鮮明有活力,導航與正文字型分别設定不同字号大小。導航區域設定了背景圖。子頁面有純文字頁面和圖文并茂頁面。
🏅 一套優質的💯網頁設計應該包含 (具體可根據個人要求而定)
- 頁面分為頁頭、菜單導航欄(最好可下拉)、中間内容闆塊、頁腳四大部分。
- 所有頁面互相超連結,可到二三級頁面,有多頁面組成。
- 頁面樣式風格統一布局顯示正常,不錯亂,使用Div+Css技術。
- 菜單美觀、醒目,二級菜單可正常彈出與跳轉。
- 可選有JS特效,如定時切換和手動切換圖檔輪播。
- 頁面中有多媒體元素,如gif、視訊、音樂,表單技術的使用。
- 頁面清爽、美觀、大方,不雷同。 。
-
不僅要能夠把使用者要求的内容呈現出來,還要滿足布局良好、界面美觀、配色優雅、表現形式多樣等要求。
<hr>
三、📚網站介紹
📔網站布局方面:計劃采用目前主流的、能相容各大主流浏覽器、顯示效果穩定的浮動網頁布局結構。
📓網站程式方面:計劃采用最新的網頁程式設計語言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代碼)。
四、💠網站示範
![](https://img.laitimes.com/img/_0nNw4CM6IyYiwiM6ICdiwiI9s2RkBnVHFmb1clWvB3MaVnRtp1XlBXe0xCMy81dvRWYoNHLwEzX5xCMx8FesU2cfdGLwMzX0xiRGZkRGZ0Xy9GbvNGLpZTY1EmMZVDUSFTU4VFRR9Fd4VGdsQTMfVmepNHLrJXYtJXZ0F2dvwVZnFWbp1zczV2YvJHctM3cv1Ce-cmbw5iNyEzN3IDM0MzN5ETM5AjZyYzXzETOyITM4AzLchDMyIDMy8CXn9Gbi9CXzV2Zh1WavwVbvNmLvR3YxUjLyM3Lc9CX6MHc0RHaiojIsJye.png)
<hr>
五、⚙️ 網站代碼
🧱HTML結構代碼
<!DOCTYPE html>
<head>
<meta charset="utf-8" />
<title></title>
<link rel="stylesheet" type="text/css" href="css/style.css" />
</head>
<body>
<div class="main" >
<div class="content12">
<div class="daohang">
<div class="img"><img src="images/1.jpg"></div>
<ul>
<li class="active"><a rel="nofollow" href="index.html">首頁</a>
</li>
<li ><a rel="nofollow" href="fatiaoyiju.html">法條依據</a></li>
<li ><a rel="nofollow" href="changjianqingxing.html">常見情形</a></li>
<li ><a rel="nofollow" href="jiujicuoshi.html">救濟措施</a></li>
<li ><a rel="nofollow" href="anlipoxi.html">案例剖析</a></li>
<li ><a rel="nofollow" href="youkeliuyan.html">遊客留言</a></li>
<li ><a rel="nofollow" href="shipinxinshang.html">視訊欣賞</a></li>
</ul>
</div>
</div>
<div class="clear"></div>
<div class="content12">
</div>
<div class="clear"></div>
<div class="content12">
<div class="lbqh">
<div class="index_banner" id="banner_tabs">
<ul>
<li><img src="images/2.jpg" width="100%"></li>
<li><img src="images/3.jpg" width="100%"></li>
</ul>
<img style="visibility:hidden;" src="images/2.jpg" width="100%">
<cite>
<span>1</span>
<span>2</span>
</cite>
<div class="clear"></div>
</div>
</div>
</div>
<div class="clear"></div>
<div class="content12">
<div class="taitou">
<div class="title">救濟措施</div>
</div>
<div class="jjcs">
<div class="desc">
<br><br>(一)及時收集相關證據向公安機關報案<br><br>(二)提起附帶民事訴訟<br><br>《刑事訴訟法》第九十九條規定對刑事附帶民事 訴訟問題做了規定,《刑法》第六十四條規定,犯罪分子違法所得的一切财物,應當予以追繳或者責令退賠,對被害人的合法财産,應當及時予以返還。</div>
<div class="list">
<img src="images/4.jpg" class="simg">
<img src="images/5.jpg" class="simg">
</div>
<div class="clear"></div>
<div class="desc">
<br><br>人民法院在刑事判決中将追繳犯罪分子違法所得或責令犯罪分子退賠作為刑事判決的一項内容,當犯罪分子不能主動履行該義務時,即可依職權追繳或責令退賠,被害人也可根據這一判決内容申請法院強制執行。</div>
<div class="clear"></div>
<div class="img">
<img src="images/6.jpg">
</div>
</div>
</div>
<div class="clear"></div>
<div class="content12">
<div class="taitou">
<div class="title">案例剖析</div>
</div>
<div class="alpx">
<div class="text">
<div class="list">
<img src="images/7.jpg" class="img" >
</div>
<br><br><b>案件名稱:</b>黃某、鐘某、楊某、邵某電信詐騙案<br><br><b>(一)案情介紹</b><br><br>公訴機關:北京市東城區人民檢察院。<br><br>被告人:黃某、鐘某、楊某、邵某。<br><br>被告人黃某夥同鐘某(已判決),于2013年5月至6月間,在廣東省中山市坦洲鎮的租住房内,使用冒充熟人撥打電話的方式對不特定多數人實施詐騙。
</div>
<div class="clear"></div>
<div class="slist">
<img src="images/8.jpg" class="simg" >
<img src="images/9.jpg" class="simg" >
</div>
</div>
</div>
<div class="clear"></div>
<div class="content12">
<div class="dibu">
<div class="desc">
電信詐騙
</div>
</div>
</div>
<div class="clear"></div></div><script type="text/javascript" src="js/js.js"></script>
</body></html>
💒CSS樣式代碼
@charset "utf-8";
*{margin:0;padding:0;}
body{margin:0 auto}
.clear{ clear:both;}
a{color:#333;text-decoration:none;}
a:hover{text-decoration:underline;}
li{list-style-type:none;}
img{width:auto;max-width:100%;}
.main{width:1200px;margin:0 auto;overflow:visible;}
.content12{width:1200px;margin:0 auto;}
.daohang {
width:1200px;background:#2F0000;float:left;
}
.daohang .img{
width:226px;
float:left;
}
.daohang .img img{
width:200px;height:90px;
float:left;
}
.daohang ul{
width:934px;
background:#2F0000;float:left;
}
.daohang ul li{
float:left;
width:100px;
text-align:center;
height:90px;line-height:90px;color:#fff;position: relative;
}
.daohang ul li a.active{
color:#fff;}
.daohang ul li a{
color:#fff;}
.daohang li:hover a{
color:#fff;}
.lbqh .index_banner{position:relative;
width:1200px;height:600px;
}
.lbqh .index_banner ul{overflow:hidden;}
.lbqh .index_banner li{position:absolute;top:0;left:0;overflow:hidden;width:100%;height:550px;}
.lbqh .index_banner li img{
width:1200px;
}
.lbqh .index_banner li a{display:block;margin:0 auto;}
.lbqh .index_banner cite{position:absolute;bottom:10px;left:50%;z-index:999;display:block;margin-left:-144px;width:288px;height:15px;_display:none;}
.lbqh .index_banner cite span{float:left;display:block;margin:0 4px;width:40px;height:8px;background-color:#999999;text-indent:-999em;opacity:.8;cursor:pointer;}
.lbqh .index_banner cite span:hover{background-color:#f22222;}
.lbqh .index_banner cite span.cur{background-color:#000000;cursor:default;}
.lbqh .clear{clear:both;}
.taitou .title{
margin:10px 0px;
padding:10px 0px;
font-weight:bold;
width:120px;
margin-left:10px;
margin-right:10px;
color:#ffffff;text-align:center;
background:#2F0000;
}
.jjcs
{
width:1200px; text-align: justify;
}
.jjcs .text
{
padding:10px;
}
.jjcs .img
{
text-align:center;
}
.jjcs .desc
{
padding:10px;
text-align:left;
float:left;
text-align: justify;
}
.jjcs .list
{
text-align:center;
}
.jjcs .img
{
margin:10px auto;
}
.jjcs img
{
height:450px;}
.jjcs .simg
{
float:left;
width:570px;margin:10px;height:300px;
}
.alpx
{
width:1200px; text-align: justify;
}
.alpx .text
{
padding:10px;
}
.alpx .img
{
text-align:center;
}
.alpx .desc
{
padding:10px;
text-align:left;
float:left;
text-align: justify;
width:580px;
}
.alpx .list
{
width:580px;padding-bottom:10px;
padding-left:10px;
float:left;
}
.alpx .img
{
height:400px;
width:570px;
margin-right:5px;
}
.alpx .slist
{
text-align:center;
}
.alpx .simg
{
height:400px;width:570px;margin:10px;
float:left;
}
.dibu .desc
{
text-align:center;color:#ffffff;
background:#2F0000;padding:20px 0px;
margin-top:10px;
}
.dibu img
{
}
.guanggaotupian
{
text-align:center;
}
.guanggaotupian img
{
width:1200px;
}
.fatiaoyiju
{
width:1200px; text-align: justify;
}
.fatiaoyiju .text
{
}
.fatiaoyiju .img
{
text-align:center;
}
.fatiaoyiju .desc
{
padding:10px;
text-align:left;
float:left;
text-align: justify;
width:580px;
}
.fatiaoyiju .list
{
width:580px;
float:left;
}
.fatiaoyiju .img
{
height:200px;width:280px;
float:left;
margin-left:5px;
margin-right:5px;
}
.fatiaoyiju .fr
{
float:right;
}
.changjianqingxing
{
width:1200px;
}
.changjianqingxing .img
{
padding:5px;
text-align:center;
}
.changjianqingxing img
{
width:600px;
margin:10px auto;
}
.changjianqingxing .text
{
width:1180px;margin:10px;
}
.changjianqingxing .desc
{
padding:5px;
color:#ffffff;
background:#2F0000;
}
#review_box {
height:300px;
overflow: hidden;/* 必須 */
text-align: center;
margin-top:10px;
}
.jiujicuoshi
{
width:1200px; text-align: justify;
}
.jiujicuoshi .text
{
padding:10px;
}
.jiujicuoshi .img
{
text-align:center;
}
.jiujicuoshi .desc
{
padding:10px;
text-align:left;
float:left;
text-align: justify;
}
.jiujicuoshi .list
{
text-align:center;
}
.jiujicuoshi .img
{
margin:10px auto;
}
.jiujicuoshi img
{
height:400px;}
.jiujicuoshi .simg
{
float:left;
width:373px;margin:10px;height:200px;
}
.anlipoxi
{
width:1200px; text-align: justify;
}
.anlipoxi .text
{
}
.anlipoxi .img
{
text-align:center;
}
.anlipoxi .desc
{
padding:10px;
text-align:left;
float:left;
text-align: justify;
width:580px;
}
.anlipoxi .list
{
width:580px;
float:left;
}
.anlipoxi .img
{
height:200px;width:280px;
float:left;
margin-left:5px;
margin-right:5px;
}
.anlipoxi .fr
{
float:right;
}
.liuyanbiaodan
{
width:300px;text-align:left;
margin:0 auto;
}
.liuyanbiaodan form
{
line-height:40px;border-bottom-color:#000000;border-bottom-style:solid;border-bottom-width:0px;border-top-color:#000000;border-top-style:solid;border-top-width:0px;border-left-color:#000000;border-left-style:solid;border-left-width:0px;border-right-color:#000000;border-right-style:solid;border-right-width:0px;
}
.liuyanbiaodan select{
text-align:left;
margin:0px 10px;
overflow:hidden;
vertical-align:middle;
height:40px;height:40px;line-height:40px;border-bottom-color:#999999;border-bottom-style:solid;border-bottom-width:1px;border-top-color:#999999;border-top-style:solid;border-top-width:1px;border-left-color:#999999;border-left-style:solid;border-left-width:1px;border-right-color:#999999;border-right-style:solid;border-right-width:1px;
}
.liuyanbiaodan checkbox,radio{
text-align:left;
margin:0px 10px;
overflow:hidden;
vertical-align:middle;
height:40px;height:40px;line-height:40px;border-bottom-color:#999999;border-bottom-style:solid;border-bottom-width:1px;border-top-color:#999999;border-top-style:solid;border-top-width:1px;border-left-color:#999999;border-left-style:solid;border-left-width:1px;border-right-color:#999999;border-right-style:solid;border-right-width:1px;
}
.liuyanbiaodan input{
text-align:left;
margin:0px 10px;
overflow:hidden;
vertical-align:middle;
height:40px;line-height:40px;border-bottom-color:#999999;border-bottom-style:solid;border-bottom-width:1px;border-top-color:#999999;border-top-style:solid;border-top-width:1px;border-left-color:#999999;border-left-style:solid;border-left-width:1px;border-right-color:#999999;border-right-style:solid;border-right-width:1px;
}
.liuyanbiaodan textarea{
text-align:left;
margin:0px 10px;
overflow:hidden;
vertical-align:middle;
height:40px;line-height:40px;border-bottom-color:#999999;border-bottom-style:solid;border-bottom-width:1px;border-top-color:#999999;border-top-style:solid;border-top-width:1px;border-left-color:#999999;border-left-style:solid;border-left-width:1px;border-right-color:#999999;border-right-style:solid;border-right-width:1px;
}
.liuyanbiaodan .title
{
margin:0px 10px;
width:-2px;float:left;
text-align:right;
}
.liuyanbiaodan button{
margin:10px 0px 0px 10px;
text-align:center;
line-height:40px;height:40px;line-height:40px;border-bottom-color:#999999;border-bottom-style:solid;border-bottom-width:1px;border-top-color:#999999;border-top-style:solid;border-top-width:1px;border-left-color:#999999;border-left-style:solid;border-left-width:1px;border-right-color:#999999;border-right-style:solid;border-right-width:1px;background:#000000;color:#ffffff;
}
.liuyanbiaodan .list{
margin-bottom:10px;
float: left;
}
.liuyanbiaodan .form{
width:268px;border-radius:25px;
padding:15px;
margin:0 auto;
}
.liuyanbiaodan .input{
width:212px;float:left;
}
.liuyanbiaodan .checkbox{
width:auto;
}
.liuyanbiaodan .radio{
width:auto;
}
.liuyanbiaodan .select{
width:212px;float:left;
}
.liuyanbiaodan .textarea{
width:212px;height:130px;
float:left;
}
.liuyanbiaodan .file{
width:auto;
border:0px;
}
.liuyanbiaodan .submit{
width:50.666666666667px;float:left;
}
.shipinxinshang
{
text-align:center;
}
video{
width:1180px;
height:100%;;
object-fit:fill;
margin:10px;
}
<hr>
六、🥇 如何讓學習不再盲目
21年程式員總結給程式設計菜鳥的16條忠告
- 入門期間不要盲目看太多書,找一本網上或身邊有經驗程式員推薦的教材,先系統的學習。
- 多看幫助文檔,幫助文檔就像一個遊戲的玩法說明通關秘籍,該看就看别太自信。
- 菜鳥容易被對象、屬性、方法等詞彙迷惑?那是你連最基礎知識都還沒掌握。
- 不要忽視沒一個看起來不起眼的問題,經常總結做到舉一反三。
- 沒積累足夠知識和經驗前,你是開發不出一個完整項目的。
- 把最新技術挂在嘴邊,還不如把過時技術牢記心中。
- 活到老學到老,隻有一招半式是闖不了江湖的。
- 看得懂的書,仔細看;看不懂的書,硬着頭皮也要看完。
- 書讀百遍其義自見,别指望讀一遍就能掌握。
- 請把教程裡的例子親手實踐下,即使案例中有完整源碼。
- 把在教程中看到的有意義的例子擴充;并将其切實的運用到自己的工作中。
- 不要漏掉教程中任何一個習題——請全部做完并做好筆記。
- 水準是在不斷的實踐中完善和發展的,你與大牛差的隻是經驗的積累。
- 每學到一個難點的時候,嘗試對朋友或網上分享你的心得,讓别人都能看得懂說明你真的掌握。
- 做好儲存源檔案的習慣,這些都是你的知識積累。
- 遇到問題不要張口就問,要學會自己找答案,比如google、百度和w3cschool上都有很多程式設計相關資料,你隻要輸入關鍵字就能找到你的答案。
<hr>