一输拇、??作品介紹
HTML實(shí)例網(wǎng)頁代碼, 本實(shí)例適合于初學(xué)HTML的同學(xué)摘符。該實(shí)例里面有設(shè)置了css的樣式設(shè)置,有div的樣式格局策吠,這個(gè)實(shí)例比較全面逛裤,有助于同學(xué)的學(xué)習(xí),本文將介紹如何通過從頭開始設(shè)計(jì)個(gè)人網(wǎng)站并將其轉(zhuǎn)換為代碼的過程來實(shí)踐設(shè)計(jì)。
二猴抹、??作品效果
??視頻演示
https://live.csdn.net/v/embed/239813
title-B01.海賊王中喬巴專題漫畫(5個(gè)頁面))]
?? 截圖演示
05.png
04.png
03.png
02.png
01.png
三带族、?? 作品代碼
??HTML代碼
<!--
* @Author: your name
* @Date: 2021-06-22 13:40:25
* @LastEditTime: 2021-06-22 14:02:17
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \海賊王中喬巴專題漫畫學(xué)生網(wǎng)頁設(shè)置作業(yè)源碼\index.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" />
<link href="css/styles.css" type="text/css" rel="stylesheet" />
<title>海賊王-喬巴專題</title>
</head>
<body>
<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>
<!-- /Copyright ? 2005. Spidersoft Ltd -->
<!-- banner -->
<div class="banner">
<img src="images/banner.gif" />
</div>
<!-- content -->
<div class="content">
<div class="content_nav">
<a href="index.html" class="now_nav">漫畫簡介</a>
<a href="pic.html">喬巴簡介</a>
<a href="qb.html">喬巴圖集</a>
<a href="mh.html">漫畫欣賞</a>
<a href="author.html">網(wǎng)站介紹</a>
</div>
<div class="content_qb">
<img src="images/qb.png" />
<p>
《one
piece》(中譯《海賊王》/海盜路飛)是尾田榮一郎在《周刊少年JUMP》上連載的漫畫。"ONE
PIECE"在故事中為"一個(gè)大秘寶"之意蟀给。傳說中'海賊王'哥爾·D·羅杰在死前說出他留下了具有財(cái)富蝙砌、名聲阳堕、力量世界第一的寶藏"ONE
PIECE",許多人為了爭奪"ONE
PIECE"择克,爭相出海恬总,許多海賊開始樹立霸權(quán),而形成了"大海賊時(shí)代"肚邢。十年后壹堰,蒙其·D·路飛為了要實(shí)現(xiàn)與因救他而斷臂的四皇'紅發(fā)'香克斯的約定而出海,在遙遠(yuǎn)的路途上找尋著志同道合的伙伴骡湖,一起進(jìn)入"偉大航道"缀旁,目標(biāo):當(dāng)上"海賊王"。
故事講述了主人公路飛立志成為海盜王勺鸦,為了尋找傳說中的秘寶ONE
PIECE而展開的兇險(xiǎn)無比同時(shí)也波瀾壯闊的冒險(xiǎn)故事并巍。草帽小子路飛帶領(lǐng)船員從東海啟程經(jīng)偉大航道到新世界,一路歷經(jīng)各種艱難挫折换途,不斷朝偉大航路的終點(diǎn)站邁進(jìn)懊渡。
</p>
</div>
<div class="content_mh">
<h1><img src="images/mh.gif" /></h1>
<a href="#"><img src="images/1_03.gif" /></a>
<a href="#"><img src="images/2_03.gif" /></a>
<a href="#"><img src="images/3_03.gif" /></a>
<a href="#"><img src="images/4_03.gif" /></a>
<a href="#"><img src="images/1_03.gif" /></a>
</div>
<div class="content_foot">
<p></p>
</div>
</div>
</body>
</html>
??CSS代碼
@charset "utf-8";
/* CSS Document */
body,
ul,
ol,
li,
p,
h1,
h2,
h3,
h4,
h5,
h6,
form,
fieldset,
table,
td,
img,
div {
margin: 0;
padding: 0;
}
* {
margin: 0;
padding: 0;
border: 0;
}
body {
font-family: "宋體";
font-size: 14px;
background: url(../images/body.gif) repeat-x;
}
a {
text-decoration: none;
color: #fff;
}
ul,
li {
list-style-type: none;
}
img {
border: 0;
}
.banner,
.content {
width: 1584px;
height: 351px;
margin: auto;
}
.content {
height: 724px;
background: url(../images/content.png) no-repeat;
position: absolute;
top: 325px;
}
.content_nav {
width: 960px;
height: 80px;
margin: auto;
}
.content_nav a {
line-height: 80px;
padding-left: 25px;
padding-right: 50px;
font-weight: bold;
}
.content_nav a:hover,
.now_nav {
color: #429cd1;
}
.content_qb,
.content_mh,
.content_foot,
.content_mh1 {
width: 960px;
margin: auto;
}
.content_qb img {
width: 259px;
height: 271px;
float: left;
margin: 40px 25px 0px 40px;
}
.content_qb p {
width: 600px;
float: left;
text-indent: 2em;
line-height: 24px;
color: #b8b3b3;
margin-top: 60px;
}
.content_mh {
clear: both;
}
.content_mh h1 {
margin: 0px 0px 20px 40px;
padding-top: 60px;
}
.content_mh a,
.content_mh1 a {
display: inline-block;
margin-left: 25px;
}
.content_foot {
margin-top: 55px;
}
.content_foot p {
text-align: center;
height: 24px;
color: #b8b3b3;
font-size: 12px;
}
.content1 {
background: url(../images/content1.png) no-repeat;
}
.content_mh1 a {
margin-top: 63px;
}
.content_mh1 a img {
width: 157px;
height: 108px;
}
.content_mh1 p {
line-height: 24px;
color: #b8b3b3;
padding-left: 50px;
}
.content_mh1 h1 {
font-size: 14px;
color: #fff;
padding-left: 50px;
}
四、??更多源碼
【干貨分享】自學(xué)編程的小伙伴可以前往我的 gitee 倉庫(持續(xù)更新中...)
??【web學(xué)習(xí)指南】從web基礎(chǔ)军拟、計(jì)算機(jī)基礎(chǔ)到前端常用框架的教程剃执,涵蓋前端大部分必備知識(學(xué)習(xí)指南 + 技術(shù)文章 + 資源分享)
Gitee倉庫地址(來個(gè)Star吧~): https://gitee.com/zhanyuqiu2022/my-app