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(源文件)所需的知识点。
代码如下(示例):以下仅展示部分代码供参考~
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档title>
<link rel="stylesheet" type="text/css" href="css/index.css">
<script src="js/index.js">script>
head>
<body>
<div id="top01">
<div id="nav01">
<ul>
<li class="tubiao"><a href="#">动画片大全a>li>
<li><a href="#">火影忍者a>li>
<li><a href="#">海贼王a>li>
<li><a href="#">死神a>li>
<li><a href="#">一拳超人a>li>
<li><a href="#">游戏攻略a>li>
<li><a href="#">美女图片a>li>
<li><a href="#">萌化主题a>li>
<li>更多动漫
<ul>
<li><a href="#">妖精的尾巴a>li>
<li><a href="#">美食的俘虏a>li>
<li><a href="#">潮与虎a>li>
<li><a href="#">龙珠超a>li>
<li><a href="#">进击的巨人a>li>
<li><a href="#">银魂a>li>
<li><a href="#">名侦探柯南a>li>
ul>
li>
ul>
div>
div>
<div id="top02">
<div id="div01">
<div id="nav02">
<a href="#">动画大全a>
|
<a href="#">火影忍者a>
|
<a href="#">潮与虎a>
|
<a href="#">海贼王a>
|
<a href="#">死神a>
|
<a href="#">黑子的篮球a>
|
<a href="#">一拳超人a>
|
<a href="#">我的英雄学院a>
|
<a href="#">妖精的尾巴a>
|
<a href="#">美食的俘虏a>
|
<a href="#">圣斗士星矢a>
div>
div>
<div id="div02">div>
<div id="div03">div>
div>
<div id="nav">
<div id="nav03">
<a href="index.html" target="_self">海贼王中文网a>
|
<a href="index01.html" target="_self">海贼王全集a>
|
<a href="index02.html" target="_self">海贼王漫画a>
|
<a href="index03.html" target="_self">海贼王国语版a>
|
<a href="index04.html" target="_self">海贼王剧场版a>
|
<a href="index05.html" target="_self">资料a>
|
<a href="index06.html" target="_self">图片a>
|
<a href="index07.html" target="_self">情报a>
|
<a href="index08.html" target="_self">动画下载a>
|
<a href="index09.html" target="_self">cosplaya>
|
<a href="index10.html" target="_self">分析a>
div>
div>
<div id="content">
<div class="content01">
<div class="left">
<ul>
<li><a href="#" target="_blank">海贼王741集a>5月15日播出li>
<li><a href="#" target="_blank">火影忍者a>5月12号播出li>
<li><a href="#" target="_blank">海贼王740集a>在线观看li>
<li><a href="#" target="_blank">妖精的尾巴第三季a>li>
<li><a href="#" target="_blank">海贼王826话a>5月19号更新li>
<li><a href="#" target="_blank">妖精的尾巴485话a>5月16号li>
<li><a href="#" target="_blank">海贼王825话a>在线观看li>
<li><a href="#" target="_blank">死神673话a>5月13号更新li>
ul>
div>
<div class="right">
<div class="top">
<p class="tu"><a href="#" target="_blank">收听海贼王官方微博a>p>
<p class="tt"><a href="#" target="_blank">海贼王QQ群a>p>
div>
<div class="botton">
<form method="get" action="">
<input type="text" class="text" >
<input type="submit" value="" class="submit">
form>
div>
div>
div>
<div class="content02">
<div class="left">
<div class="top">
<img id="flash" src="images/F1.jpg" width="540px" height="260px">
div>
<div class="botton">
<div>
<div class="top">
<h4>海贼王全集h4>
<p><a href="#" target="_blank">更多a>p>
div>
<div class="botton">
<ul>
<li><a href="#" target="_blank">741:非常事态 被拐走的a><p><sup>new!sup>p>li>
<li><a href="#" target="_blank">740:藤虎出动 草帽一伙完全包围网a>li>
<li><a href="#" target="_blank">739:最强的生物 四皇百兽凯多a>li>
<li><a href="#" target="_blank">738:兄弟的羁绊 路飞、萨博重逢密谈a>li>
<li><a href="#" target="_blank">737:传说诞生 革命战士萨博的冒险王a>li>
ul>
div>
div>
<div>
<div class="top">
<h4>海贼王漫画h4>
<p><a href="#" target="_blank">更多a>p>
div>
<div class="botton">
<ul>
<li><a href="#" target="_blank">海贼王825话:世经上的连环画a><p><sup>new!sup>p>li>
<li><a href="#" target="_blank">海贼王824话:海贼过家家a>li>
<li><a href="#" target="_blank">海贼王823话:骚动的世界a>li>
<li><a href="#" target="_blank">海贼王822话:下象a>li>
<li><a href="#" target="_blank">海贼王821话:遵命a>li>
ul>
div>
div>
<div>
<div class="top">
<h4>同类动画推荐h4>
<p><a href="#" target="_blank">更多a>p>
div>
<div class="botton">
<ul>
<li><a href="#" target="_blank">西游记a><p><sup>new!sup>p>li>
<li><a href="#" target="_blank">名侦探柯南a>li>
<li><a href="#" target="_blank">学战都市六芒星第a>li>
<li><a href="#" target="_blank">线上游戏的老婆不a>li>
<li><a href="#" target="_blank">li>
ul>
div>
div>
<div>
<div class="top">
<h4>少年jump漫画h4>
<p><a href="#" target="_blank">更多a>p>
div>
<div class="botton">
<ul>
<li><a href="#" target="_blank">海绵宝宝a>li>
<li><a href="#" target="_blank">海绵宝宝a>li>
<li><a href="#" target="_blank">天线宝宝a>li>
<li><a href="#" target="_blank">网球王子a>li>
<li><a href="#" target="_blank">大海贼a>li>
ul>
div>
div>
div>
div>
<div class="right">
<div class="top">
<h3><a href="#" target="_blank">海贼王741集:非常事态 被拐走的蕾贝卡a>h3>
<h5>[<a href="#" target="_blank">海贼王动画740集a>]h5>
<h5>[<a href="#" target="_blank">海贼王漫画825话a>]h5>
<h3><a href="#" target="_blank">本周海贼王826话休刊a>h3>
<h5>[<a href="#" target="_blank">海贼王VS四皇篇预告a>]h5>
<h5>[<a href="#" target="_blank">用历史分析马尔高的未来a>]h5>
div>
<ul>
<li>
•【<a href="#" target="_blank">特色a>】<a href="#" target="_blank">海贼王816话韩文版a><span>[05-19]span>
li>
<li>
•【<a href="#" target="_blank">情报a>】<a href="#" target="_blank">海贼王826话情报+情报图a><span>[05-19]span>
li>
<li>
•【<a href="#" target="_blank">四格漫画a>】<a href="#" target="_blank">已打入草帽海贼a><span>[05-19]span>
li>
<li>
•【<a href="#" target="_blank">视频a>】<a href="#" target="_blank">用喜欢歌用喜欢a><span>[05-19]span>
li>
ul>
<ul>
<li>
•【<a href="#" target="_blank">情报a>】<a href="#" target="_blank">海贼王a><span>[05-19]span>
li>
<li>
•【<a href="#" target="_blank">情报a>】<a href="#" target="_blank">西游记a><span>[05-19]span>
li>
<
•【<a href="#" target="_blank">情报a>】<a href="#" target="_blank">冰冰累累a><span>[05-19]span>
li>
ul>
div>
div>
div>
<div class="content07">
<div style="margin-left:0">
<div class="top">
<h4><a href="#" target="_blank">四格漫画a>h4>
<p><a href="#" target="_blank">更多a>p>
div>
<div class="button">
<div>
<span><a href="#" target="_blank"><img src="images/10361312S5D3P6.jpg">a><p><a href="#" target="_blank">皮卡丘VS路飞三兄弟a>p>span>
<span><a href="#" target="_blank"><img src="images/10293012S5D5564.jpg">a><p><a href="#" target="_blank">山治与索隆Q版简笔画a>p>span>
<span><a href="#" target="_blank"><img src="images/09554Q2S5DA39.jpg">a><p><a href="#" target="_blank">梦想在海贼王中能见到a>p>span>
<span><a href="#" target="_blank"><img src="images/10155412S5D2029.jpg">a><p><a href="#" target="_blank">你所不知道的乌索普a>p>span>
<span><a href="#" target="_blank"><img src="images/100P612S5DS41.jpg">a><p><a href="#" target="_blank">假设海贼世界里有手机a>p>span>
<span><a href="#" target="_blank"><img src="images/10093412S5D3338.jpg">a><p><a href="#" target="_blank">妄想着柯拉松变成女生a>p>span>
div>
div>
div>
<div style=" margin-right:0; float:right">
<div class="top">
<h4><a href="#" target="_blank">同人漫画a>h4>
<p><a href="#" target="_blank">更多a>p>
div>
<div class="button">
<div>
<span><a href="#" target="_blank"><img src="images/10035412S5D4440.jpg">a><p><a href="#" target="_blank">Piece Party 海贼盛宴a>p>span>
<span><a href="#" target="_blank"><img src="images/0Q64441R5916416.png">a><p><a href="#" target="_blank">海贼王同人漫画:捉迷a>p>span>
<span><a href="#" target="_blank"><img src="images/6150754_124041934.jpg">a><p><a href="#" target="_blank">海贼王同人漫画:布鲁a>p>span>
<span><a href="#" target="_blank"><img src="images/110J612S5JW55.jpg">a><p><a href="#" target="_blank">索香同人漫画:寻找卷a>p>span>
<span><a href="#" target="_blank"><img src="images/09511G2S5D60T.jpg">a><p><a href="#" target="_blank">索香同人漫画:寻找卷a>p>span>
<span><a href="#" target="_blank"><img src="images/10004612S5D2242.jpg">a><p><a href="#" target="_blank">海贼盛宴第7话日文版a>p>span>
div>
div>
div>
div>
<div class="content09">
<div>
<h5>友情链接:h5>
<a href="#" target="_blank">海贼王a>
<a href="#" target="_blank">海贼王漫画a>
<a href="#" target="_blank">4399双人小游戏a>
<a href="#" target="_blank">52pk游戏下载a>
<a href="#" target="_blank">iPhone游戏a>
<a href="#" target="_blank">邪恶少女漫画a>
<a href="#" target="_blank">单机游戏a>
<a href="#" target="_blank">网页游戏a>
<a href="#" target="_blank">魔兽世界a>
<a href="#" target="_blank">魔兽世界a>
<a href="#" target="_blank">穿越西元3000a>
<a href="#" target="_blank">分类信息a>
<a href="#" target="_blank">小游戏大全a>
<a href="#" target="_blank">穿越火线a>
<a href="#" target="_blank">_52PKa>
<a href="#" target="_blank">吉吉影音a>
<a href="#" target="_blank">DNFa>
<a href="#" target="_blank">动漫新闻a>
<a href="#" target="_blank">巴士手机游戏a>
<a href="#" target="_blank">斗罗大陆3a>
<a href="#" target="_blank">龙王传说a>
<a href="#" target="_blank">游乐网a>
<a href="#" target="_blank">魔兽a>
<a href="#" target="_blank">地图下载a>
<a href="#" target="_blank">有趣网a>
<a href="#" target="_blank">浅蓝游戏网a>
<a href="#" target="_blank">手机游戏a>
<a href="#" target="_blank">美女a>
<a href="#" target="_blank">7k7k小游戏a>
<a href="#" target="_blank">安卓模拟器a>
div>
div>
div>
body>
html>
*{ border:0px; margin:0px; padding:0px;font-family:宋体}
html,body{ border:0px; margin:0px; padding:0px;}
#top01{ width:100%; height:30px; background-color: #f9f9f9}
#nav01{ width:980px; height:30px; margin:0px auto; font-size:14px; color:#cccccc}
#nav01 ul{ float:left; list-style:none; width:100%; text-align:center; line-height:20px; padding-top:2px}
#nav01 ul .tubiao{ padding-left:18px;background-image:url(../images/newbar_an.gif); background-repeat:no-repeat; background-position:0px 4px}
#nav01 ul li{float:left; width:84px; text-align:center; line-height:24px; border-right:1px solid #cccccc}
#nav01 ul li a{ color:#000; text-decoration:none}
#nav01 ul li a:hover{ color: #F00; text-decoration:none}
#nav01 ul li ul { border:1px solid #ccc; display:none; position:absolute;}
#nav01 ul li ul li { float:none; width:87px; background:#eee; margin:0;}
#nav01 ul li ul li a { background:none; color:#000}
#nav01 ul li ul li a:hover { background:#333; color:#fff;}
#nav01 ul li:hover ul { display:block;}
#nav01 ul li.sfhover ul { display:block;}
#top02{ width:100%; height:195px;}
#div01{ padding: 0; margin: 0; width:100%; height:60px;padding-left: 12px; background-image:url(../images/warp001.jpg); background-repeat:no-repeat; margin:0 auto; background-position:center}
#nav02{ width:980px; height:26px; margin:0px auto; border-bottom-left-radius:100px; border-bottom-right-radius:100px; background-color: #010006; text-align:center; font-size:14px; line-height:20px; color:#88b2b3;}
#nav02 a{ text-decoration:none; color:#FFF; }
#nav02 a:hover{ text-decoration:underline; color: #FFF}
#div02{ padding: 0; margin: 0; width:100%; height:60px; background-image:url(../images/warp002.jpg); background-repeat:no-repeat; margin:0 auto; background-position:center}
#div03{ padding: 0; margin: 0; width:100%; height:75px; background-image:url(../images/warp003.jpg); background-repeat:no-repeat; margin:0 auto; background-position:center}
#nav{ width:100%; height:40px; margin:0px auto; background-color:#1585db; border-top:1px solid #FFF}
#nav03{ width:980px; height:40px; margin:0 auto; background-color:#1585db; color:#5cabe3; text-align:center; font-family:黑体; line-height:40px;}
#nav03 a{ width:50px; color:#FFF; text-decoration:none}
#nav03 a:hover{ text-decoration:underline; color: #FFF}
一套合格的网页应该包含(具体可根据个人要求而定)
1.看到这里了就 【点赞收藏博文】
三连支持下吧,你的支持是我创作的动力, 【观注作者 |获取更多源码| 优质文章】
。
2.关注我带您学习各种前端插件、3D炫酷效果、图片展示、文字效果、以及整站模板 、大学生毕业HTML模板 、期末大作业模板 、等! 「在这里有好多 前端 开发者,一起探讨 前端 Node 知识,互相学习」!
3.以上内容技术相关问题可以相互学习交流——獀索 公粽Hao
名称:👉 html网页设计成品