天天看點

網頁設計成品DW靜态網頁Html5響應式css3——電影網站bootstrap制作(4頁)一、網頁介紹一、網頁效果二、代碼展示三、個人總結四、精彩推薦

HTML執行個體網頁代碼, 本執行個體适合于初學HTML的同學。該執行個體裡面有設定了css的樣式設定,有div的樣式格局,這個執行個體比較全面,有助于同學的學習,本文将介紹如何通過從頭開始設計個人網站并将其轉換為代碼的過程來實踐設計。

(文章目錄)

一、網頁介紹

1 網頁簡介:此作品為學生個人首頁網頁設計題材,HTML+CSS 布局制作,web前端期末大作業,大學生網頁設計作業源碼,這是一個不錯的網頁制作,畫面精明,代碼為簡單學生水準, 非常适合初學者學習使用。

2.網頁編輯:網頁作品代碼簡單,可使用任意HTML編輯軟體(如:Dreamweaver、HBuilder、Vscode 、Sublime 、Webstorm、Text 、Notepad++ 等任意html編輯軟體進行運作及修改編輯等操作)。

3.知識應用:技術方面主要應用了網頁知識中的: Div+CSS、滑鼠滑過特效、Table、導航欄效果、Banner、表單、二級三級頁面等,視訊、 音頻元素 、Flash,同時設計了Logo(源檔案)所需的知識點。

一、網頁效果

網頁設計成品DW靜态網頁Html5響應式css3——電影網站bootstrap制作(4頁)一、網頁介紹一、網頁效果二、代碼展示三、個人總結四、精彩推薦
網頁設計成品DW靜态網頁Html5響應式css3——電影網站bootstrap制作(4頁)一、網頁介紹一、網頁效果二、代碼展示三、個人總結四、精彩推薦
網頁設計成品DW靜态網頁Html5響應式css3——電影網站bootstrap制作(4頁)一、網頁介紹一、網頁效果二、代碼展示三、個人總結四、精彩推薦
網頁設計成品DW靜态網頁Html5響應式css3——電影網站bootstrap制作(4頁)一、網頁介紹一、網頁效果二、代碼展示三、個人總結四、精彩推薦

二、代碼展示

1.HTML代碼

代碼如下(示例):以下僅展示部分代碼供參考~

<section class="w3l-main-slider position-relative" id="home">
		<div class="companies20-content">
			<div class="owl-one owl-carousel owl-theme">
				<div class="item">
					<li>
						<div class="slider-info banner-view bg bg2">
							<div class="banner-info">
								<h3>最新電影預告片</h3>
								<p>疼痛本身對主要的脂肪化精英很重要。<span class="over-para"> 
									這種仇恨必然來自快樂。</span></p>
								<a rel="nofollow" href="#small-dialog1" class="popup-with-zoom-anim play-view1">
									<span class="video-play-icon">
										<span class="fa fa-play"></span>
									</span>
									<h6>觀看預告</h6>
								</a>
								<!-- dialog itself, mfp-hide class is required to make dialog hidden -->
								<div id="small-dialog1" class="zoom-anim-dialog mfp-hide">
									<iframe  allow="autoplay; fullscreen"
										allowfullscreen=""></iframe>
								</div>
							</div>
						</div>
					</li>
				</div>
				<div class="item">
					<li>
						<div class="slider-info  banner-view banner-top1 bg bg2">
							<div class="banner-info">
								<h3>最新線上電影</h3>
								<p>疼痛本身對主要的脂肪化精英很重要。<span class="over-para"> 
									這種仇恨必然來自快樂。</span></p>
								<a rel="nofollow" href="#small-dialog2" class="popup-with-zoom-anim play-view1">
									<span class="video-play-icon">
										<span class="fa fa-play"></span>
									</span>
									<h6>觀看預告</h6>
								</a>
								<!-- dialog itself, mfp-hide class is required to make dialog hidden -->
								<div id="small-dialog2" class="zoom-anim-dialog mfp-hide">
									<iframe allow="autoplay; fullscreen"
										allowfullscreen=""></iframe>
								</div>
							</div>
						</div>
					</li>
				</div>
				<div class="item">
					<li>
						<div class="slider-info banner-view banner-top2 bg bg2">
							<div class="banner-info">
								<h3>最新線上電影</h3>
								<p>疼痛本身對主要的脂肪化精英很重要。<span class="over-para"> 
									這種仇恨必然來自快樂。</span></p>
								<a rel="nofollow" href="#small-dialog3" class="popup-with-zoom-anim play-view1">
									<span class="video-play-icon">
										<span class="fa fa-play"></span>
									</span>
									<h6>觀看預告</h6>
								</a>
								<!-- dialog itself, mfp-hide class is required to make dialog hidden -->
								<div id="small-dialog3" class="zoom-anim-dialog mfp-hide">
									<iframe  allow="autoplay; fullscreen"
										allowfullscreen=""></iframe>
								</div>
							</div>
						</div>
					</li>
				</div>
				<div class="item">
					<li>
						<div class="slider-info banner-view banner-top3 bg bg2">
							<div class="banner-info">
								<h3>最新線上電影</h3>
								<p>疼痛本身對主要的脂肪化精英很重要。<span class="over-para"> 
									這種仇恨必然來自快樂。</span></p>
								<a rel="nofollow" href="#small-dialog4" class="popup-with-zoom-anim play-view1">
									<span class="video-play-icon">
										<span class="fa fa-play"></span>
									</span>
									<h6>觀看預告</h6>
								</a>
								<!-- dialog itself, mfp-hide class is required to make dialog hidden -->
								<div id="small-dialog4" class="zoom-anim-dialog mfp-hide">
									<iframe allow="autoplay; fullscreen"
										allowfullscreen=""></iframe>
								</div>
							</div>
						</div>
					</li>
				</div>
			</div>
		</div>
	</section>
	<!-- //banner-slider-->
	<!-- main-slider -->
	<!--grids-sec1-->
	<section class="w3l-grids">
		<div class="grids-main py-5">
			<div class="container py-lg-3">
				<div class="headerhny-title">
					<div class="w3l-title-grids">
						<div class="headerhny-left">
							<h3 class="hny-title">熱門電影</h3>
						</div>
						<div class="headerhny-right text-lg-right">
							<h4><a rel="nofollow" class="show-title" href="genre.html">顯示所有</a></h4>
						</div>
					</div>
				</div>

           

2.CSS代碼

html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

article,
aside,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section {
  display: block;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: left;
  background-color: #fff;
}

[tabindex="-1"]:focus:not(:focus-visible) {
  outline: 0 !important;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

abbr[title],
abbr[data-original-title] {
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
  cursor: help;
  border-bottom: 0;
  -webkit-text-decoration-skip-ink: none;
  text-decoration-skip-ink: none;
}

address {
  margin-bottom: 1rem;
  font-style: normal;
  line-height: inherit;
}

ol,

           

三、個人總結

一套合格的網頁應該包含(具體可根據個人要求而定)

  1. 頁面分為頁頭、菜單導航欄(最好可下拉)、中間内容闆塊、頁腳四大部分;
  2. 所有頁面互相超連結,可到三級頁面,有5-10個頁面組成;
  3. 頁面樣式風格統一布局顯示正常,不錯亂,使用Div+Css技術;
  4. 菜單美觀、醒目,二級菜單可正常彈出與跳轉;
  5. 要有JS特效,如定時切換和手動切換圖檔新聞;
  6. 頁面中有多媒體元素,如gif、視訊、音樂,表單技術的使用;
  7. 頁面清爽、美觀、大方,不雷同。
  8. 網站前端程式不僅要能夠把使用者要求的内容呈現出來,還要滿足布局良好、界面美觀、配色優雅、表現形式多樣等要求。

四、精彩推薦

1.看到這裡了就

【點贊收藏博文】

三連支援下吧,你的支援是我創作的動力,

【觀注作者 |擷取更多源碼| 優質文章】