?? 作者簡介: 一個熱愛把邏輯思維轉(zhuǎn)變?yōu)榇a的技術(shù)博主
作者主頁: 【主頁——獲取更多優(yōu)質(zhì)源碼】
web前端期末大作業(yè): 【畢設(shè)項目精品實戰(zhàn)案例 (1000套) 】
程序員有趣的告白方式:【HTML七夕情人節(jié)表白網(wǎng)頁制作 (110套) 】
超炫酷的Echarts大屏可視化源碼:【 echarts大屏展示大數(shù)據(jù)平臺可視化(150套) 】
免費且實用的WEB前端學(xué)習(xí)指南:
關(guān)于作者: 歷任研發(fā)工程師,技術(shù)組長,教學(xué)總監(jiān);曾于2016年、2020年兩度榮獲CSDN年度十大博客之星。 十載寒冰,難涼熱血;多年過去,歷經(jīng)變遷,物是人非。 然而,對于技術(shù)的探索和追求從未停歇。 堅持原創(chuàng),熱衷分享,初心未改,繼往開來!
文章目錄
一、?網(wǎng)站題目
個人網(wǎng)頁設(shè)計、?♂?個人簡歷制作、?簡單靜態(tài)HTML個人網(wǎng)頁作品、?個人介紹網(wǎng)站模板 、等網(wǎng)站的設(shè)計與制作。
二、??網(wǎng)站描述
?個人網(wǎng)頁設(shè)計網(wǎng)站模板采用DIV CSS布局制作,網(wǎng)頁作品有多個頁面,如 :個人介紹(文字頁面)、我的作品(圖片列表)、個人技能(圖文頁面)、在線留言(表單頁面)CSS樣式方面網(wǎng)頁整體采用左右布局結(jié)構(gòu),制作了網(wǎng)頁背景圖片,導(dǎo)航區(qū)域每個導(dǎo)航背景色不同,導(dǎo)航背景色與頁面背景呼應(yīng)。
一套A+的網(wǎng)頁應(yīng)該包含 (具體可根據(jù)個人要求而定)
頁面分為頁頭、菜單導(dǎo)航欄(最好可下拉)、中間內(nèi)容板塊、頁腳四大部分。所有頁面相互超鏈接,可到三級頁面,有5-10個頁面組成。頁面樣式風(fēng)格統(tǒng)一布局顯示正常,不錯亂,使用Div+Css技術(shù)。菜單美觀、醒目,二級菜單可正常彈出與跳轉(zhuǎn)。要有JS特效,如定時切換和手動切換圖片輪播。頁面中有多媒體元素,如gif、視頻、音樂,表單技術(shù)的使用。。頁面清爽、美觀、大方,不雷同。 。不僅要能夠把用戶要求的內(nèi)容呈現(xiàn)出來,還要滿足布局良好、界面美觀、配色優(yōu)雅、表現(xiàn)形式多樣等要求。 三、網(wǎng)站介紹
網(wǎng)站布局方面:計劃采用目前主流的、能兼容各大主流瀏覽器、顯示效果穩(wěn)定的浮動網(wǎng)頁布局結(jié)構(gòu)。
網(wǎng)站程序方面:計劃采用最新的網(wǎng)頁編程語言HTML5+CSS3+JS程序語言完成網(wǎng)站的功能設(shè)計。并確保網(wǎng)站代碼兼容目前市面上所有的主流瀏覽器,已達到打開后就能即時看到網(wǎng)站的效果。
網(wǎng)站素材方面:計劃收集各大平臺好看的圖片素材,并精挑細選適合網(wǎng)頁風(fēng)格的圖片,然后使用PS做出適合網(wǎng)頁尺寸的圖片。
網(wǎng)站文件方面:網(wǎng)站系統(tǒng)文件種類包含:html網(wǎng)頁結(jié)構(gòu)文件、css網(wǎng)頁樣式文件、js網(wǎng)頁特效文件、images網(wǎng)頁圖片文件;
網(wǎng)頁編輯方面:網(wǎng)頁作品代碼簡單,可使用任意HTML編輯軟件(如:、、Vscode 、Sublime 、、Text 、Notepad++ 等任意html編輯軟件進行運行及修改編輯等操作)。
其中:
(1)html文件包含:其中index.html是首頁、其他html為二級頁面;
(2) css文件包含:css全部頁面樣式,文字滾動, 圖片放大等;
(3) js文件包含:js實現(xiàn)動態(tài)輪播特效, 表單提交, 點擊事件等等(個別網(wǎng)頁中運用到j(luò)s代碼)。
四、網(wǎng)站演示
五、 網(wǎng)站代碼 HTML結(jié)構(gòu)代碼
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>蒙城縣創(chuàng)新中學(xué)title>
<link rel="stylesheet" type="text/css" href="css/index.css">
head>
<script>
<!--
function setTab(name,cursel,n){
for(i=1;i<=n;i++){
var menu=document.getElementById(name+i);
var con=document.getElementById("con_"+name+"_"+i);
menu.className=i==cursel?"hover":"";
con.style.display=i==cursel?"block":"none";
}
}
//-->
script>
<body>
<div class="top_bg"><div class="top">
<p style="float:left;"><img src="images/logo.jpg" />p>
<div class="youce"><p><a href="index-2.html">聯(lián)系我們> | 學(xué)校郵箱 | <a href="index-2.html">網(wǎng)站地圖a>p>
<div class="sousuo"><input name="" type="text" class="sousuo_in" />
<a href="http://www.baidu.com/" target="_blank"><img src="images/sousuo_btn.jpg" style="float:left;" />a>div>
div>
div>div>
<div class="nav_bg"><div class="nav"><p><a href="index-2.html">首 頁a><a href="gaikuang.html">學(xué)校概況a><a href="xinwen.html">新聞中心a><a href="xiaoyou.html">校友時空a><a href="xuesheng.html">學(xué)生會a><a href="jiazhang.html">家長學(xué)校a><a href="xinwen.html">通知公告a><a href="xinwen.html">校內(nèi)新聞a> 教育新聞a><a href="yinyue.html">音樂欣賞a>p>
div>div>
<center>
<div id="page">
<div class="lunhuan">
<script type="text/javascript" language="JavaScript">
var widths=470;
var w=2;
var widthss=widths+w;
var heights=410;
var heightss=heightss+w;
var heightt=20;
var counts=5;
img1=new Image();img1.src='images/1.jpg';
url1=new Image();url1.src='#';
img2=new Image();img2.src='images/2.jpg';
url2=new Image();url2.src='#';
img3=new Image();img3.src='images/3.jpg';
url3=new Image();url3.src='#';
img4=new Image();img4.src='images/4.jpg';
url4=new Image();url4.src='#';
img5=new Image();img5.src='images/5.jpg';
url5=new Image();url5.src='#';
var nn=1; //當(dāng)前所顯示的滾動圖
var key=0; //標識是否為第一次開始執(zhí)行
var tt; //標識作用
function change_img()
{
if(key==0){key=1;} //如果第一次執(zhí)行KEY=1,表示已經(jīng)執(zhí)行過一次了。
else if(document.all)//document.all僅IE6/7認識,firefox不會執(zhí)行此段內(nèi)容
{
document.getElementById("pic").filters[0].Apply(); //將濾鏡應(yīng)用到對像上
document.getElementById("pic").filters[0].Play(duration=2); //開始轉(zhuǎn)換
document.getElementById("pic").filters[0].Transition=23;//轉(zhuǎn)換效果
}
eval('document.getElementById("pic").src=img'+nn+'.src'); //替換圖片
eval('document.getElementById("url").href=url'+nn+'.src'); //替換URL
//替換ALT
for (var i=1;i<=counts;i++)
{
document.getElementById("xxjdjj"+i).className='axx';
}
document.getElementById("xxjdjj"+nn).className='bxx'; //將當(dāng)前頁面的ID設(shè)置為選中狀態(tài)
nn++;
if(nn>counts){nn=1;} //如果ID大于總圖片數(shù)量。則從頭開始循環(huán)
tt=setTimeout('change_img()',4000); //在4秒后重新執(zhí)行change_img()方法.
}
function changeimg(n)//點擊黑條上的鏈接執(zhí)行的方法。
{
nn=n; //當(dāng)前頁面的ID等于傳入的N值,
window.clearInterval(tt); //清除用于循環(huán)的TT
//重新執(zhí)行change_img();但change_img()內(nèi)所調(diào)用的圖片ID已經(jīng)在此處被修改,會從新ID處開始執(zhí)行.
change_img();
}
//樣式表
document.write('');
//內(nèi)容部分
document.write('+widthss+'px;height:'+heights+'px;');
document.write('overflow:hidden;text-overflow:clip;float:left;">');
document.write('');
document.write(');
document.write('width:100%-2px;text-align:right;');
document.write('top:-19px;position:relative;margin:-13px 19px 0 1px;height:22px;line-height:22px;');
document.write('z-index:4000;">');
for(var i=1;i<counts+1;i++)
{

document.write('+i+');" id="xxjdjj'+i+'"');
document.write(' class="axx" target="_self">'+i+'');
}
document.write('');
change_img();
script>
div>
<div class="you">
<div class="youA"><p><a href="#" id="one1" onclick="setTab('one',1,3)" class="hover">新聞中心a><a href="#" id="one2" onclick="setTab('one',2,3)">通知公告a><a href="#" id="one3" onclick="setTab('one',3,3)">校內(nèi)新聞a>p>div>
<div class="youB">
<div id="con_one_1" class="hover">
<table width="440" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="351" height="31"><p><a href="xinwen.html">關(guān)于蒙城縣創(chuàng)新中學(xué)召開家長會的公告通知a>p>td>
<td width="89">(3月12日)td>
tr>
<tr>
<td height="31"><p><a href="xinwen.html">關(guān)于舉辦我??萍紕?chuàng)新大賽的通知a>p>td>
<td>(3月12日)td>
tr>
<tr>
<td width="351" height="31"><p><a href="xinwen.html">蒙城縣創(chuàng)新中學(xué)關(guān)于做好對特殊群體兒童開展幫扶工作的a>p>td>
<td width="89">(3月12日)td>
tr>
<tr>
<td height="31"><p><a href="xinwen.html">蒙城縣創(chuàng)新中學(xué)關(guān)于禁止非法使用未成年工人的通知..a>p>td>
<td>(3月12日)td>
tr>
<tr>
<td width="351" height="31"><p><a href="xinwen.html">黨的“十八大”基本情況、主要精神..a>p>td>
<td width="89">(3月12日)td>
tr>
<tr>
<td height="31"><p><a href="xinwen.html">蒙城縣創(chuàng)新中學(xué)高三年級心理輔導(dǎo)計劃..a>p>td>
<td>(3月12日)td>
tr>
<tr>
<td width="351" height="31"><p><a href="xinwen.html">我校黨員“寄語十八大”作品選登a>p>td>
<td width="89">(3月12日)td>
tr>
<tr>
<td height="31"><p><a href="xinwen.html">蒙城縣2013年秋季開學(xué)階段學(xué)校安全綜治工作檢查..a>p>td>
<td>(3月12日)td>
tr>
table>
div>
<div id="con_one_2" style="display:none">
<table width="440" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="351" height="31"><p><a href="tongzhi.html">關(guān)于2013年“清明節(jié)”放假安排的通知a>p>td>
<td width="89">(3月12日)td>
tr>
<tr>
<td height="31"><p><a href="tongzhi.html">會議通知a>p>td>
<td>(3月12日)td>
tr>
<tr>
<td height="31"><p><a href="tongzhi.html">關(guān)于貫徹落實改進工作作風(fēng)密切聯(lián)系群眾的八項規(guī)定a>p>td>
<td width="89">(3月12日)td>
tr>
<tr>
<td height="31"><p><a href="tongzhi.html">2013年學(xué)校黨委工作要點a>p>td>
<td>(3月12日)td>
tr>
<tr>
<td height="31"><p><a href="tongzhi.html">教學(xué)儀器設(shè)備校內(nèi)公開采購評議結(jié)果公告a>p>td>
<td width="89">(3月12日)td>
tr>
<tr>
<td height="31"><p><a href="tongzhi.html">學(xué)校投影機維保項目招標公告a>p>td>
<td>(3月12日)td>
tr>
<tr>
<td height="31"><p><a href="tongzhi.html">計算機等設(shè)備招標公告a>p>td>
<td width="89">(3月12日)td>
tr>
<tr>
<td height="31"><p><a href="tongzhi.html">2013年上半年黨日活動安排a>p>td>
<td>(3月12日)td>
tr>
table>
div>
<div id="con_one_3" style="display:none">
<table width="440" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="351" height="31"><p><a href="xiaonei.html">我校隆重舉行總結(jié)表彰暨開學(xué)典禮大會a>p>td>
<td width="89">(3月12日)td>
tr>
<tr>
<td height="31"><p><a href="xiaonei.html">我校召開校級精品課程建設(shè)工作座談會a>p>td>
<td>(3月12日)td>
tr>
<tr>
<td width="351" height="31"><p><a href="xiaonei.html">蒙城縣創(chuàng)新中學(xué)首屆青年教師課堂教學(xué)大獎賽表彰a>p>td>
<td width="89">(3月12日)td>
tr>
<tr>
<td height="31"><p><a href="xiaonei.html">我校舉辦學(xué)習(xí)貫徹黨的十八大精神動員暨專題報告會a>p>td>
<td>(3月12日)td>
tr>
<tr>
<td width="351" height="31"><p><a href="xiaonei.html">黨的“十八大”基本情況、主要精神和重大意義a>p>td>
<td width="89">(3月12日)td>
tr>
<tr>
<td height="31"><p><a href="xiaonei.html">賈光宇書記在學(xué)習(xí)宣傳和貫徹黨的十八大精神動員會上..a>p>td>
<td>(3月12日)td>
tr>
<tr>
<td width="351" height="31"><p><a href="xiaonei.html">大學(xué)生活漫談講座總結(jié)a>p>td>
<td width="89">(3月12日)td>
tr>
<tr>
<td height="31"><p><a href="xiaonei.html">我院大學(xué)生志愿服務(wù)中心迎新生見面會a>p>td>
<td>(3月12日)td>
tr>
table>
div>
div>
<div class="kuaijie">
<p><a href="denglu.html">登陸a>p>
<p><a href="gaikuang.html">學(xué)校概況a>p>
<p><a href="index-2.html">實訓(xùn)中心a>p>
<p><a href="xinwen.html">新聞中心a>p>
<p><a href="index-2.html">院系設(shè)置a>p>
<p><a href="index-2.html">招生就業(yè)a>p>
<p><a href="index-2.html">師資隊伍a>p>
<p><a href="index-2.html">科學(xué)研究a>p>
<p><a href="index-2.html">學(xué)科建設(shè)a>p>
<p><a href="index-2.html">國際交流a>p>
<p><a href= index-2.html">數(shù)字校園a>p>
<p><a href="index-2.html">信息資源a>p>
div>div>
div>
<div class="clearit">div>
<div class="liebiao">
<div class="liebiao_l">
<div class="liebiaoA"><h6>教育新聞h6><span><a href="xinwen.html">more>>a>span>div>
<table width="470" border="0" cellspacing="2" cellpadding="0">
<tr>

<td width="387" align="left"><a href="xinwen.html">關(guān)于蒙城縣創(chuàng)新中學(xué)召開家長會的公告通知a>td>
<td width="77">11月14日td>
tr>
<tr>
<td align="left"><a href="xinwen.html">安徽省高等職業(yè)教育“十一五”發(fā)展規(guī)劃a>td>
<td>11月14日td>
tr>
<tr>
<td align="left"><a href="xinwen.html">關(guān)于舉辦我??萍紕?chuàng)新大賽的通知a>td>
<td>11月14日td>
tr>
table>
div>
<div class="liebiao_r"><div class="liebiaoA"><h6>教育新聞h6><span><a href="xinwen.html">more>>a>span>div>
<table width="470" border="0" cellspacing="2" cellpadding="0">
<tr>
<td width="115" valign="top"><a href="xiaonei1.html"><img src="images/1.jpg" width="115" height="74" />a>td>
<td width="114" valign="top">蒙城縣創(chuàng)新中學(xué)首屆青年教師課堂教學(xué)大獎賽表彰為進一步提高我校青...[<a href="xinwen1.html">更多a>]td>
<td width="111" valign="top"><a href="xiaonei2.html"><img src="images/2.jpg" width="111" height="72" />a>td>
<td width="120" valign="top"><p>為做好這次新生接待工作,藝術(shù)設(shè)計系作了周密安排。由系主任曹永智親自到場...[<a href="xinwen1.html">更多a>]p>td>
tr>
table>
div>
<div class="clearit">div>
div>
<br />
div>
center>
<div class="foot_bg"><div class="foot"><div class="foot_p">
<p>版權(quán)所有 ? <a href="index-2.html">蒙城縣創(chuàng)新中學(xué)a> 聯(lián)系我們 意見和建議 p>
<p>
技術(shù)支持:xxxx p>div>
div>div>
body>
html>
CSS樣式代碼
@charset "utf-8";
/* CSS Document */
*{margin:0;padding:0;border:0; font-family:"宋體"}
body { font-family: "宋體";font-size: 12px;color:#000000;line-height: 20px;text-align:left}
td,th {font-family: "宋體";font-size: 12px;color: #000000;}
a {color: #000000;}
A:link {TEXT-DECORATION: none;}
A:visited {TEXT-DECORATION: none; color:#333333}
A:hover {TEXT-DECORATION: underline; color:#3399CC;}
ul,li{list-style-type:none;}
.clearit{clear:both;}
#page{width:960px; margin:0 auto; padding-top:5px;}
.top_bg{width:100%; height:108px; background:#8a0000;}
.top{width:960px; margin:0 auto;}
.youce{width:260px; float:right;}
.youce p{text-align:right; line-height:30px; color:#FFFFFF;}
.youce p a{color:#FFFFFF;}
.sousuo{float:left; padding-top:20px;}
.sousuo_in{width:150px; height:20px; padding-left:15px; background:url(../images/sousuo_in.jpg) no-repeat; float:left;}
.sousuo_btn{width:21px; height:20px; background:url(../images/sousuo_btn.jpg) no-repeat; float:left;}
.nav_bg{width:100%; height:40px; background:#ece5c9;}
.nav{width:960px; height:40px; background:#ece5c9; margin:0 auto;}
.nav p{text-align:center; font-size:14px font-weight:bold; line-height:40px;}
.nav p a{ width:80px; height:40px; display:block; float:left;}
.nav p a:hover{background:#8a0000; color:#FFFFFF;}
.lunhuan{width:470px; float:left;}
.you{width:470px; float:right;}
.youA{width:470px; height:24px; padding-top:4px; background:#999999;}
.youA p{padding-left:10px; line-height:24px; text-align:center; font-weight:bold; font-size:14px;}
.youA p a{width:110px; height:24px; display:block; float:left; margin-left:10px; display:inline;}
.youA p a:hover{background:#FFFFFF; color:#000000;}
.youB{text-align:left; line-height:25px; font-size:13px; padding:5px 10px 5px;}
.youA p .hover{background:#FFFFFF; color:#000000;}
.kuaijie{width:459px; height:119px; background:url(../images/kuaijie.jpg) no-repeat;}
.kuaijie p{width:114px; height:40px; line-height:40px; float:left; text-align:left; text-indent:50px;}
.foot_bg{width:100%; height:96px; background:#8a0000;}
.foot{width:960px; margin:0 auto;}
.foot_p{padding-left:200px; padding-top:20px; color:#FFFFFF;}
.foot_p a{color:#FFFFFF;}
.foot_p a:hover{color:#000000;}
.weizhi{ width:960px; height:30px; line-height:30px; border-bottom:1px solid #f8eec1; text-align:left; margin-bottom:10px;}
.xiaozuo{ width:200px;float:left;}
.xiaozuo ul li{width:200px; height:22px; line-height:22px; margin-bottom:10px; background:#f8eec1; text-align:center;}
.xiaoyou{width:740px; float:right;}
.xiaoyou h1{font-size:14px; font-weight:bold; text-align:center; border-bottom:1px dashed #f8eec1;}
.neirong{width:740px; padding:10px 0; text-align:left;}
.neirong a{color:#000000;}
.neirong a:link{color:#000000;}
.neirong a:hover{color:#990000;}
.neirong a:visited{color:#0000FF;}
.neirong table tr td{height:26px; line-height:26px;}
.yuanxi table{border-left:1px solid #e0b9b9;border-top:1px solid #e0b9b9;}
.yuanxi table tr td{height:22px; line-height:22px; text-indent:5px; text-align:left;border-right:1px solid #e0b9b9;border-bottom:1px solid #e0b9b9;}
.yeshu{width:740px; height:24px; line-height:24px; text-align:center; background:#999999;}
.yeshu a{color:#000000;}
.yeshu a:visited{color:#000000;}
.dongtu{width:230px; float:right;}
.liebiao{width:960px; margin:0 auto;}
.liebiao_l{width:470px; float:left;}
.liebiaoA{width:470px; height:24px; line-height:24px; border-bottom:2px solid #999999; overflow:hidden;}
.liebiaoA h6{font-size:14px; font-weight:bold; text-align:left; text-indent:5px; float:left;}
.liebiaoA span{float:right; padding-right:10px;}
.liebiao_l table tr td{height:24px; line-height:24px; border-bottom:1px dashed #999999;}
六、 如何讓學(xué)習(xí)不再盲目
很多剛?cè)腴T編程的小白學(xué)習(xí)了基礎(chǔ)語法,卻不知道語法的用途,不知道如何加深映像,不知道如何提升自己,這個時候每天刷自主刷一些題就非常重要(百煉成神),可以去??途W(wǎng)上的編程初學(xué)者入門訓(xùn)練。該專題為編程入門級別,適合剛學(xué)完語法的小白練習(xí),題目涉及編程基礎(chǔ)語法,基本結(jié)構(gòu)等,每道題帶有練習(xí)模式和考試模式,可還原考試模式進行模擬,也可通過練習(xí)模式進行練習(xí) 。
*請認真填寫需求信息,我們會在24小時內(nèi)與您取得聯(lián)系。