🌩️ 精彩专栏推荐👇🏻👇🏻👇🏻
💂 作者主页: 【进入主页—🚀获取更多源码】
🎓 web前端期末大作业: 【📚HTML5网页期末作业 (1000套) 】
🧡 程序员有趣的告白方式:【💌HTML七夕情人节表白网页制作 (110套) 】
📂文章目录
- 二、📚网站介绍
- 三、🔗网站效果
- ▶️1.视频演示
- 🧩 2.图片演示
- 四、💒 网站代码
- 🧱HTML结构代码
- 🏠CSS样式代码
- 五、🎁更多源码
二、📚网站介绍
📔网站布局方面:计划采用目前主流的、能兼容各大主流浏览器、显示效果稳定的浮动网页布局结构。
📓网站程序方面:计划采用最新的网页编程语言HTML5+CSS3+JS程序语言完成网站的功能设计。并确保网站代码兼容目前市面上所有的主流浏览器,已达到打开后就能即时看到网站的效果。
📘网站素材方面:计划收集各大平台好看的图片素材,并精挑细选适合网页风格的图片,然后使用PS做出适合网页尺寸的图片。
📒网站文件方面:网站系统文件种类包含:html网页结构文件、css网页样式文件、js网页特效文件、images网页图片文件;
📙网页编辑方面:网页作品代码简单,可使用任意HTML编辑软件(如:Dreamweaver、HBuilder、Vscode 、Sublime 、Webstorm、Text 、Notepad++
等任意html编辑软件进行运行及修改编辑等操作)。
其中:
(1)📜html文件包含:其中index.html是首页、其他html为二级页面;
(2)📑 css文件包含:css全部页面样式,文字滚动, 图片放大等;
(3)📄 js文件包含:js实现动态轮播特效, 表单提交, 点击事件等等(个别网页中运用到js代码)。
三、🔗网站效果
▶️1.视频演示
K43JP 足球介绍8页 无js 带留言表单
🧩 2.图片演示
四、💒 网站代码
🧱HTML结构代码
<html>
<head>
<meta name="keywords" content="tzyh" />
<title></title>
<link rel="stylesheet" href="css/style.css" type="text/css" media="all" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div id="background">
<div id="page">
<div id="header">
<center>
<div id="adbox"> <img src="images/sea-sound.jpg" alt="Img"> </div>
</center>
<div id="navigation">
<ul>
<li class="selected"><a href="index.html" >首页</a></li>
<li><a href="zqfzs.html" >足球发展史</a></li>
<li><a href="cswz.html" >场上位置</a></li>
<li><a href="zqzs.html" >足球战术</a></li>
<li><a href="zqjx.html" >足球奖项</a></li>
<li><a href="zqwh.html" >足球文化</a></li>
<li><a href="lyb.html" >留言板</a></li>
</ul>
</div>
</div>
<div id="contents">
<div id="sidebar" style=" float:left;margin-right:10px;">
<img src="images/01.jpg" alt="Img" style="margin-top:10px;">
</div>
<div id="main">
<div class="box">
<div>
<div>
<h3>关于足球</h3>
<ul>
<li>
<h4><a href=""></a></h4>
<p>足球,世界第一运动,是全球体育界最具影响力的单项体育运动。标准的足球比赛由两队各派11名队员参与,包括10名球员及1名守门员,互相在长方形的草地球场上互相对抗、互相进攻。比赛目的是尽量将足球射入对方的球门内,每射入一球就可以得到一分,当比赛完毕后,得分最多的一队则代表胜出。如果在比赛规定时间内得分相同,则须看比赛章则而定,可以抽签、加时再赛或互射点球(十二码)等形式比赛分高下。足球比赛中除了守门员可以在己方禁区内利用手部接触足球外,球场上每名球员只可以利用手以外的身体其他部分控制足球(开界外球例外)。 </p>
<p>2004年初,国际足联(FIFA)确认足球起源于中国,“蹴鞠”是有史料记载的最早的足球活动,《战国策》和《史记》是最早记录蹴鞠的文献典籍。现代足球则起源于英国,距今已经有200多年的历史了。从1900年的第2届奥运会开始,足球被列为奥运会正式比赛项目(女足比赛于1996年亚特兰大奥运会成为正式比赛项目),但它不允许职业运动员参加。1904年5月21日,国际足联在巴黎成立。</p>
<h2><a href="more.html" >点击了解更多详情...</a></h2>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="footer">
<div>
<p>版权所有</p>
</div>
</div>
</body>
</html>
🏠CSS样式代码
/* Website template by freewebsitetemplates */
body {
font-family: "Times New Roman", Times, serif;
margin: 0;color:#333;
}
#background {
min-height: 1000px;
}
#page {
width: 960px;
margin: 0 auto;
}
img {
border: 0;
}
/*------------------------------ Sprites ------------------------------*/
#navigation li, #navigation li a:hover, #navigation li.selected a {
background-image: url("../images/bg-menu.png");
background-repeat: repeat-x;
}
#contents div.box, #contents div.box > div, #contents div.body {
background-image: url("../images/content-box.png");
background-repeat: no-repeat;
}
#main div.box, #main div.box > div, #main div.box > div > div {
background-image: url("../images/bg-box.png");
background-repeat: no-repeat;
}
/*------------------------------ HEADER ------------------------------*/
#header {
margin-bottom: 0px;
}
/** Logo **/
#logo {
margin-bottom: 0px;
}
padding-top: 18px;
text-transform: uppercase;
}
#news div.sidebar h3:first-child {
border: 0;
padding-top: 0px;
}
#news div.sidebar ul {
list-style: none;
margin: 0 0 8px;
padding: 0;
}
#news div.sidebar ul li a {
color: #5a4535;
display: inline-block;
font-size: 15px;
margin-bottom: 6px;
text-decoration: none;
}
#news ul li {
margin-bottom: 12px;
}
/** Contact **/
#contact form {
float: right;
color: #5a4535;
height: 320px;
width: 420px;
border: 1px solid #5a4535;
padding: 19px 19px 6px;
}
#contact form table {
border-collapse: collapse;
}
#contact form table td {
padding-bottom: 6px;
}
#contact table td:first-child {
font-size: 14px;
line-height: 30px;
width: 180px;
text-transform: uppercase;
}
#contact table td.txtarea {
vertical-align: top;
}
#contact form input {
height: 17px;
line-height: 17px;
width: 278px;
border: 1px solid #5a4535;
border-radius: 2px;
}
#contact textarea {
height: 143px;
line-height: 17px;
width: 338px;
border: 1px solid #5a4535;
border-radius: 2px;
overflow: auto;
resize: none;
}
#contact input.btn {
background: url("../images/btn-send.png") no-repeat -70px 0;
cursor: pointer;
height: 26px;
width: 60px;
border: 0;
padding: 0;
margin: 0;
}
#contact input.btn:hover {
background-position: 0 0;
}
#contact p span {
display: block;
text-transform: uppercase;
}
/*------------------------------ FOOTER ------------------------------*/
#footer {
color: #fff;
font-size: 14px;
height: 40px;
width: 860px;
margin:10 auto;
padding:0px 0;
background: url("../images/bg-navigation.png") no-repeat;
-webkit-box-shadow: 0 5px 18px rgba(0, 0, 0, 0.3);
border-radius: .8em;
}
#footer p {
padding-top: 10px;;
text-align: center;
text-transform: none;
}
.copyrights{text-indent:-9999px;height:0;line-height:0;font-size:0;overflow:hidden;}
/** Connect **/
#connect {
float: right;
display: inline-block;
line-height: 26px;
margin: 12px 0 0;
}
#connect a {
background: url("../images/icons.png") no-repeat;
display: inline-block;
height: 23px;
width: 23px;
margin-left: 10px;
}
#connect a.pinterest {
background-position: 0 -33px;
}
#connect a.facebook {
background-position: 0 -98px;
}
#connect a.twitter {
background-position: 0 -164px;
width: 28px;
}
#connect a.googleplus {
background-position: 0 -230px;
}
#connect a.pinterest:hover {
background-position: 0 0;
}
#connect a.facebook:hover {
background-position: 0 -65px;
}
#connect a.twitter:hover {
background-position: 0 -131px;
}
#connect a.googleplus:hover {
background-position: 0 -197px;
}
五、🎁更多源码
1.如果我的博客对你有帮助 请 “👍点赞” “✍️评论” “💙收藏”
一键三连哦!
2.💗【👇🏻👇🏻👇🏻🉑关注我| 获取更多源码】
带您学习各种前端插件、3D炫酷效果、图片展示、文字效果、以及整站模板 、大学生毕业HTML模板 、等!
📣以上内容技术相关问题💌欢迎一起交流学习👇🏻👇🏻👇🏻
更多推荐
大三期末网页设计作业——HTML+CSS足球介绍8页
发布评论