?? 作者簡介: 一個熱愛把邏輯思維轉變為代碼的技術博主
作者主頁: 【主頁——獲取更多優質源碼】
web前端期末大作業: 【畢設項目精品實戰案例 (1000套) 】
程序員有趣的告白方式:【HTML七夕情人節表白網頁制作 (110套) 】
超炫酷的大屏可視化源碼:【 大屏展示大數據平臺可視化(150套) 】
免費且實用的WEB前端學習指南:
關于作者: 歷任研發工程師,技術組長,教學總監;曾于2016年、2020年兩度榮獲CSDN年度十大博客之星。 十載寒冰,難涼熱血;多年過去,歷經變遷,物是人非。 然而,對于技術的探索和追求從未停歇。 堅持原創,熱衷分享,初心未改,繼往開來!
文章目錄
一、?網站題目
環境保護、 保護地球、 校園環保、垃圾分類、綠色家園、等網站的設計與制作。
二、??網站描述
? 總結了一些學生網頁制作的經驗:一般的網頁需要融入以下知識點:div+css布局、浮動、定位、高級css、表格、表單及驗證、js輪播圖、音頻 視頻 Flash的應用、ul li、下拉導航欄、鼠標劃過效果等知識點,網頁的風格主題也很全面:如愛好、風景、校園、美食、動漫、游戲、咖啡、音樂、家鄉、電影、名人、商城以及個人主頁等主題,學生、新手可參考下方頁面的布局和設計和HTML源碼(有用點贊△)
一套A+的網頁應該包含 (具體可根據個人要求而定)
頁面分為頁頭、菜單導航欄(最好可下拉)、中間內容板塊、頁腳四大部分。所有頁面相互超鏈接,可到三級頁面網站制作,有5-10個頁面組成。頁面樣式風格統一布局顯示正常,不錯亂,使用Div+Css技術。菜單美觀、醒目,二級菜單可正常彈出與跳轉。要有JS特效,如定時切換和手動切換圖片輪播。頁面中有多媒體元素,如gif、視頻、音樂,表單技術的使用。。頁面清爽、美觀、大方,不雷同。 。不僅要能夠把用戶要求的內容呈現出來,還要滿足布局良好、界面美觀、配色優雅、表現形式多樣等要求。 三、網站介紹
網站布局方面:計劃采用目前主流的、能兼容各大主流瀏覽器、顯示效果穩定的浮動網頁布局結構。
網站程序方面:計劃采用最新的網頁編程語言HTML5+CSS3+JS程序語言完成網站的功能設計。并確保網站代碼兼容目前市面上所有的主流瀏覽器,已達到打開后就能即時看到網站的效果。
網站素材方面:計劃收集各大平臺好看的圖片素材,并精挑細選適合網頁風格的圖片,然后使用PS做出適合網頁尺寸的圖片。
網站文件方面:網站系統文件種類包含:html網頁結構文件、css網頁樣式文件、js網頁特效文件、網頁圖片文件;
網頁編輯方面:網頁作品代碼簡單網站制作,可使用任意HTML編輯軟件(如:、、 、 、、Text 、++ 等任意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>hometitle>
<link rel="stylesheet" type="text/css" href="css/index.css" >
<script src="js/jquery-1.4a2.min.js" type="text/javascript">script>
<script src="js/jquery.KinSlideshow-1.2.1.min.js" type="text/javascript">script>
<script type="text/javascript">
$(function(){
$("#KinSlideshow").KinSlideshow();
})
script>
<style type="text/css">
.code{ height:auto; padding:20px; border:1px solid #9EC9FE; background:#ECF3FD;}
.code pre{font-size:14px;}
.info{ font-size:12px; color:#666666; font-family:Verdana; margin:20px 0 50px 0;}
.info p{ margin:0; padding:0; line-height:22px; text-indent:40px;}
h2.title{ margin:0; padding:0; margin-top:50px; font-size:18px; }
h3.title{ font-size:16px;}
.importInfo{ font-family:Verdana; font-size:14px;}
style>
head>
<body background="images/bg.jpg" >
<style>
A.applink:hover {border: 2px dotted #DCE6F4;padding:2px;background-color:#ffff00;color:green;text-decoration:none}
A.applink {border: 2px dotted #DCE6F4;padding:2px;color:#2F5BFF;background:transparent;text-decoration:none}
A.info {color:#2F5BFF;background:transparent;text-decoration:none}
A.info:hover {color:green;background:transparent;text-decoration:underline}
style>
<center>
<div class="head"><img src="images/logo.jpg" />div>
<div class="page">
<div class="nav">
<p><a href="index.htm" >首頁a> <a href="files/changyi.html" >校園環保倡議書a> <a href="files/biaozhun.html" >環境標準a> <a href="files/tupian.html" >校園環保圖片a> <a href="files/liuyan.html" >環保留言a>p>
div>
<div class="content">
<div id="KinSlideshow" style="visibility:hidden;">
<a href="#"><img src="images/1.jpg" alt="保護環境就是保護我們自己。" width="990" height="450" />a>
<a href="#"><img src="images/2.jpg" alt="保護環境就是保護我們自己。" width="990" height="450" />a>
<a href="#"><img src="images/3.jpg" alt="保護環境就是保護我們自己。" width="990" height="450" />a>
<a href="#"><img src="images/4.jpg" alt="保護環境就是保護我們自己。" width="990" height="450" />a>
<a href="#"><img src="images/5.jpg" alt="保護環境就是保護我們自己。" width="990" height="450" />a><a href="#"><img src="images/6.jpg" alt="保護環境就是保護我們自己。" width="990" height="450" />a><a href="#"><img src="images/7.jpg" alt="保護環境就是保護我們自己。" width="990" height="450" />a> div>
div>
div><div class="foot"><p>版權所有p>div>
center>
body>
html>
CSS樣式代碼
/* CSS Document */
body,ul,ol,li,p,h1,h2,h3,h4,h5,h6,form,fieldset,table,td,img,div{margin:0;padding:0;border:0;}
*{margin:0;padding:0;border:0; font-family:"Times New Roman", Times, serif;}
body {font-family:"Times New Roman", Times, serif;font-size: 12px;color:#000000;line-height: 20px;text-align:left}
ul,li{list-style-type:none;}
.head{width:950px; margin:0 auto; text-align:left; height:50px; padding:10px 20px;background:url("../images/head.jpg") no-repeat right; border-bottom:3px solid #1477be;}
.page{width:990px; margin:0 auto; background:#FFFFFF;padding-top:5px;}
.nav{width:990px; height:26px; background:url("../images/nav_bg.gif") repeat-x; line-height:26px; text-align:center; font-size:14px; font-weight:bold;}
.nav a{color:#FFFFFF;}
.foot{width:990px; margin:0 auto; padding:20px 0;}
.content{width:990px; padding:30px 0;}
.about{width:600px; margin:0 auto; text-align:left; padding:30px 0;overflow:hidden;}
.about h1{ font-size:16px; font-weight:bold; text-align:center;}
.about p{ text-align:left;line-height:26px; text-indent:2em;}
.pro{width:800px;margin:0 auto; text-align:left; padding:30px 0;overflow:hidden;}
.pro ul li{width:145px; height:180px; display:block; float:left; margin-left:30px; display:inline;}
.pro ul li img{width:135px; height:100px; display:block; padding:2px; border:1px solid #333333; text-align:center}
.pro ul li p{line-height:22px; text-align:center;}
.contact{width:600px; margin:0 auto; text-align:left; padding:30px 0;overflow:hidden;}
.contact ul li{line-height:24px; margin-top:16px; }
.contact ul li span{vertical-align:middle; padding-right:12px;}
.contact ul li .message_in{width:300px; height:22px; border:1px solid #999999;vertical-align:middle;line-height:22px;}
.contact ul li .message_te{width:500px; height:90px; border:1px solid #999999;vertical-align:middle;line-height:18px;}
.contact ul li .message_btn{width:64px; height:20px; line-height:20px; background:url("../images/btn.gif") no-repeat; color:#FFFFFF; font-weight:bold; cursor:hand;}
.new{padding:0 30px;}
.new ul li {text-align:left; line-height:34px;}
.new ul li a{color:#000000; text-align:left;}
六、 如何讓學習不再盲目
很多剛入門編程的小白學習了基礎語法,卻不知道語法的用途,不知道如何加深映像,不知道如何提升自己,這個時候每天刷自主刷一些題就非常重要(百煉成神),可以去??途W上的編程初學者入門訓練。該專題為編程入門級別,適合剛學完語法的小白練習,題目涉及編程基礎語法,基本結構等,每道題帶有練習模式和考試模式,可還原考試模式進行模擬,也可通過練習模式進行練習 。
七、更多干貨
1.如果我的博客對你有幫助、如果你喜歡我的博客內容,請 “點贊” “??評論” “收藏” 一鍵三連哦!
2.【關注我| 獲取更多源碼 | 優質文章】 帶您學習各種前端插件、3D炫酷效果、圖片展示、文字效果、以及整站模板 、大學生畢業HTML模板 、期末大作業模板 、等! 「在這里有好多 前端 開發者,一起探討 前端 Node 知識,互相學習」!
3.
以上內容技術相關問題歡迎一起交流學習
*請認真填寫需求信息,我們會在24小時內與您取得聯系。