HTML实例网页代码, 本实例适合于初学HTML的同学。该实例里面有设置了css的样式设置,有div的样式格局,这个实例比较全面,有助于同学的学习,本文将介绍如何通过从头开始设计个人网站并将其转换为代码的过程来实践设计。
精彩专栏推荐👇🏻👇🏻👇🏻👇🏻
❤ 【作者主页——获取更多优质源码】
❤ 【web前端期末大作业——毕设项目精品实战案例(1000套)】
一、网页介绍
1 网页简介:此作品为学生个人主页网页设计题材,HTML+CSS 布局制作,web前端期末大作业,大学生网页设计作业源码,这是一个不错的网页制作,画面精明,代码为简单学生水平, 非常适合初学者学习使用。
2.网页编辑:网页作品代码简单,可使用任意HTML编辑软件(如:Dreamweaver、HBuilder、Vscode 、Sublime 、Webstorm、Text 、Notepad++ 等任意html编辑软件进行运行及修改编辑等操作)。
3.知识应用:技术方面主要应用了网页知识中的: Div+CSS、鼠标滑过特效、Table、导航栏效果、Banner、表单、二级三级页面等,视频、 音频元素 、Flash,同时设计了Logo(源文件)所需的知识点。
一、网页效果
二、代码展示
1.HTML代码
代码如下(示例):以下仅展示部分代码供参考~
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>海贼王</title>
<style type="text/css">
@import"修饰.css";
</style>
</head>
<body>
<p style="text-align: center;">
<img src="素材/顶部长图.jpg" width="80%" height="300px" border="1">
</p>
<table style="color: white;" width = "80%" height = "50%" border = "1" cellspacing = "0" align = "center" >
<tr>
<th bgcolor="DarkRed">
<a href="网站首页.html " style="color: white;" class="abc">网站首页</a>
</th>
<th bgcolor="DarkRed">
<a href="TV版目录.html " style="color: white;" class="abc">TV版目录</a>
</th>
<th bgcolor="DarkRed">
<a href="角色资料.html " style="color: white;" class="abc">角色资料</a>
</th>
<th bgcolor="DarkRed">
<a href="精选壁纸.html " style="color: white;" class="abc">精选壁纸</a>
</th>
<th bgcolor="DarkRed">
<a href="衍生作品.html " style="color: white;" class="abc">衍生作品</a>
</th>
<th bgcolor="DarkRed">
<a href="果实大全.html " style="color: white;" class="abc">果实大全</a>
</th>
<th bgcolor="DarkRed">