📂文章目錄
- 一、👨🎓網站題目
- 二、✍️網站描述
- 三、📚網站介紹
- 四、🌐網站示範
- 五、🔧 網站代碼
- 🧱HTML結構代碼
- 💒CSS樣式代碼
- 六、🥇 如何讓學習不再盲目
- 七、🎁更多幹貨
一、👨🎓網站題目
🧑個人網頁設計、🙋♂️個人履歷制作、👨💼簡單靜态HTML個人網頁作品、👨🏭個人介紹網站模闆 、等網站的設計與制作。
二、✍️網站描述
⭐個人網頁設計網站模闆采用DIV CSS布局制作,網頁作品有多個頁面,如 :個人介紹(文字頁面)、我的作品(圖檔清單)、個人技能(圖文頁面)、線上留言(表單頁面)CSS樣式方面網頁整體采用左右布局結構,制作了網頁背景圖檔,導航區域每個導航背景色不同,導航背景色與頁面背景呼應。
🏅 一套A+的網頁應該包含 (具體可根據個人要求而定)
- 頁面分為頁頭、菜單導航欄(最好可下拉)、中間内容闆塊、頁腳四大部分。
- 所有頁面互相超連結,可到三級頁面,有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>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<link rel="stylesheet" type="text/css" href="css/layout.css">
<body>
<div class="containner">
<div class="tite"></div>
<div class="banner">
<ul id="qh">
<li> Welcome</li>
<li> 生活明朗,萬物可愛</li>
<li> 生活原本沉悶,但跑起來就有風</li>
<li> 吹不出褶的平靜日子,也在閃光</li>
<li> 保持熱愛,奔赴山海</li>
<li> 前路浩浩蕩蕩,萬事盡可期待</li>
<li> 但行好事,莫問前程</li>
<li> 去更遠的地方,見更亮的光</li>
<li> 我們的征途是星辰大海</li>
<li> 做世界的水手,奔赴所有港口</li>
<li> 來日方長,何懼車遙馬慢</li>
</ul>
</div>
<div class="left">
<div class="jianjie">
<iframe src="weljianjie.html" frameborder="no" border="0" width="100%" height="500px" name="nav"></iframe>
</div>
<div class="daohang">
<p><a href="#0" onclick="parent.nav.location='nav/weljianjie.html'; parent.main.location='pages/welcome.html'; return false;">首頁</a></p>
<p><a href="#2" onclick="parent.nav.location='nav/grjjnav.html'; parent.main.location='pages/grjj.html'; return false;">個人簡介</a></p>
<p><a href="#3" onclick="parent.nav.location='nav/xqahnav.html'; parent.main.location='pages/xqah.html'; return false;">興趣愛好</a></p>
<p><a href="#4" onclick="parent.nav.location='nav/xxjlnav.html'; parent.main.location='pages/xxjl.html'; return false;">學習經曆</a></p>
</div>
</div>
<div class="right">
<iframe src="welcome.html" frameborder="no" border="0" width="100%" height="100%" name="main"></iframe>
</div>
<div class="footer">
©版權所有 **大學資訊與工程學院 **計科1班 **
</div>
</div>
</body>
<script type="text/javascript">
function xx() {
var jh = document.getElementById("qh");
jh.appendChild(qh.firstChild);
}
setInterval("xx()", 1200);
</script>
</html>
💒CSS樣式代碼
*{
padding: 0;
margin: 0;
}
.containner{
width: 900px;
height: 850px;
margin: auto;
background-image: url(../image/bg1.jpg);
background-size: 100%;
}
.title{
width: 100%;
height: 30px;
line-height: 30px;
text-align: right;
/* background-color: rgba(255,255,255,0.5); */
}
.banner{
width: 898px;
height:150px;
font-family: "楷体";
/* border: aliceblue 1px solid; */
}
#qh{
height:80px;
overflow: hidden;
list-style: none;
margin-left: 20px;
}
#qh li{
height:82px;
line-height:82px;
white-space: nowrap;
overflow: hidden;
font-size: 40px;
color: rgba(0,0,0,0.5);
}
.left{
width: 200px;
height: 600px;
float: left;
/* background-color: rgba(255,255,0,0.5); */
position: relative;
}
.left div{
margin-top: 10px;
width:100%;
text-align: center;
}
.info{
/* margin-top: 20px; */
width:100%;
text-align: center;
}
.info p{
line-height: 40px;
}
.left p{
line-height: 40px;
}
.daohang{
position: absolute;
bottom: 10px;
}
.right{
width:700px;
height: 600px;
float: left;
/* background-color: rgba(255,0,255,0.5); */
}
.footer{
width: 100%;
height: 70px;
clear: left;
line-height: 70px;
text-align: center;
/* background-color: rgba(0,255,255,0.5); */
}
a:link{
text-decoration: none;
color: black;
}
a:visited{
color: brown;
text-decoration: none;
}
a:hover{
color: aqua;
text-decoration: underline;
font-size: larger;
}
a:active{
color: aquamarine;
text-decoration: none;
}