求朋友帮忙分析源代码 分析后分数可以另加!

ztt_cz 2012-11-25 04:07:07

那位朋友愿意帮我简要分析一下下面的代码(写出大体编程思想和每段程序的作用即可因为是要交作业 所以分析的尽可能长点最好 不胜感激!!
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>寝室</title>
<meta http-equiv="keywords" content="寝室名称,成员">
<meta http-equiv="description" content="寝室介绍说明">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="style.css" type="text/css" />
<style type="text/css">
a{
color:#545454;
text-decoration:none;
}
a:link{
text-decoration:none;
}
a:hover{
text-decoration:underline;
}
a:active{
text-decoration:none;
}
.style1 {
color: #FFFFFF;
}
.style2 {
font-size: large;
}
</style>
</head>
<body>
<center>
<div id="wrapper">
<h1 align=left><em><span lang="zh-cn">XX</span></em> <span lang="zh-cn">寝室</span></h1>
<div id="nav">
<ul>
<li><a href=""><span class="style2">01</span> </a>
<span lang="zh-cn" class="style1"><a href="index.html">关于寝室</a></span></li>
<li><a href=""><span>02</span> </a>
<span lang="zh-cn" class="style1"><a href="index.html">说明</a></span></li>
<li><a href=""><span>03</span> </a>
<span lang="zh-cn" class="style1"><a href="index.html">留言</a></span></li>
<li style="height: 39px"><a href=""><span>04</span> </a>
<span lang="zh-cn" class="style1"><a href="index.html">相册</a></span></li>
<li><a href=""><span>05</span> </a>
<span lang="zh-cn" class="style1"><a href="index.html">联系方式</a></span></li>
</ul>
</div>
<div id="topcon">
<div id="topcon-inner">
<h2><span lang="zh-cn">欢迎</span> <span lang="zh-cn">到XX寝室</span></h2>
<p>
<span id="result_box" lang="zh-CN" class="short_text" closure_uid_h11zq="136" c="4" a="undefined" kd="null">
<span closure_uid_h11zq="112" kd="null">这里有我们美好的回忆</span>
</div>
</div>
<div id="content">
<div id="body">
<div class="box" id="news">
<div class="box-t"><div class="box-r"><div class="box-b"><div class="box-l">
<div class="box-tr"><div class="box-br"><div class="box-bl"><div class="box-tl">

<h2><span lang="zh-cn">新闻</span> & <span lang="zh-cn">事件</span></h2>

<h3>06.03.2011</h3>
<p align="left">李尔·韦恩新专辑曲目曝光将于8月29日上市。</p>
<p class="more"><a href="new.html">更多...</a></p>

<div class="hr-yellow"> </div>
<h3>06.03.2011</h3>
<p>
<span id="result_box1" lang="zh-CN" class="short_text" closure_uid_h11zq="136" c="4" a="undefined" kd="null">

<p align="left">
大运村里欢乐多:体验中国传统文化 美妙音乐减压.
文化体验区有中国传统文化展、油画艺术展、雕塑艺术展以及汉语学习中心等,
外国运动员在这里可以欣赏到中国的传统文化,还可以亲自上阵体验一把。</p>
<p class="more">
<a href="new.html">更多...</a>
</p>
</div></div></div></div>
</div></div></div></div>
</div>
<div class="box" id="hits">
<div class="box-t"><div class="box-r"><div class="box-b"><div class="box-l">
<div class="box-tr"><div class="box-br"><div class="box-bl"><div class="box-tl">
<h2>留言本</h2>
<img src="images/pic_1.jpg" width="63" height="91" alt="Pic 1" class="right" />
<ul>
<li><a href="log.html">依波。萨姆悲小号........</a></li>
<li><a href="log.html">朗伯缇斯........ </a></li>
<li><a href="log.html">阿梅特.......</a></li>
<li><a href="log.html">劳波瑞特....... </a></li>
</ul>

<div class="hr-yellow"> </div>

<h2>公告</h2>
<img src="images/pic_2.jpg" width="63" height="87" alt="Pic 2" class="right" />
<ul>
<li><a href="announcement.html">朗伯缇斯........ </a></li>
<li><a href="announcement.html">劳波瑞特......... </a></li>
<li><a href="announcement.html">依波。萨姆悲小号........</a></li>
<li><a href="announcement.html">阿梅特.......</a></li>
</ul>
</div></div></div></div>
</div></div></div></div>
</div>
<div class="box" id="new">
<div class="box-t" ><div class="box-r"><div class="box-b"><div class="box-l">
<div class="box-tr"><div class="box-br"><div class="box-bl"><div class="box-tl">

<h2> <span lang="zh-cn"> 相册</span></h2>

<h3><span lang="zh-cn">伊塔撒德</span></h3>
<a href="img.html"><img src="images/pic_3.jpg" width="66" height="60" alt="Pic 3" class="right" /></a>
<p>
<span id="result_box4" lang="zh-CN" class="short_text" closure_uid_h11zq="136" c="4" a="undefined" kd="null">
<span closure_uid_h11zq="681">简介 </span></p>

<h3><span lang="zh-cn">曼撒纳斯</span></h3>
<a href="img.html"><img src="images/pic_4.jpg" width="66" height="60" alt="Pic 4" class="right" /></a>
<p><span lang="zh-cn">简介</span></p>

<h3><span lang="zh-cn">撒黎缇斯</span></h3>
<a href="img.html"><img src="images/pic_5.jpg" width="66" height="60" alt="Pic 5" class="right" /></a>
<p><span lang="zh-cn">简介</span>
</div></div></div></div>
</div></div></div></div>
</div>
<div class="clear"> </div>
</div>
<div id="footer">
<p>© <span lang="zh-cn"><a href="index.html">联系我们</a></span></p>
</div>
</div>
</div>

</body>
</html>


第二个 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>announcementl.html</title>
<style>
body{
background: #3A0404 url(images/page_bg.jpg) repeat-x;
font: 20px;
color: #ffffff;
}
p{
text-indent :35px;
}
a{
color:#ffffaa;
text-decoration:none;
}
a:link{
text-decoration:none;
}
a:hover{
text-decoration:underline;
}
a:active{
text-decoration:none;
}
#index{
position:relative;
width: 678px;
border-style:dashed;
border-width:2px;
}
#one{
background: url(images/header.jpg) no-repeat;
position: relative;
margin-top:0;
width: 678px;
text-align:left;
}
#two{
hight:200px;
position:relative;
margin-top:80px;
margin-left:300px;
text-align:left;
}
#three{
position:relative;
margin-left:10px;
margin-top:30px;
matgin-bottom:20%;
text-align:left;
}
</style>
</head>

<body>
<center>
<div id=index>
<div id=one>
<strong>调用数据库文件(添加数据库调用方法)</strong><br>
<div id=two>
<h3>公告</h3>
朗伯缇斯........ <br/>
劳波瑞特......... <br/>
依波。萨姆悲小号........<br/>
阿梅特.......<br/>
</div>
</div>
<div id=three>
<a href="">[转]亲情,是生命永恒的动力</a><br/>
<a href="">农村妹妹在上网聊天,不笑死你才怪,有心脏病的不要看</a><br/>
<a href="">以后给孩子起名字不用发愁了,先存着</a><br/>
<a href="">三个故事看懂了再结婚</a><br/>
<a href="">觀音像 寄完運氣變超好</a><br/>
<a href="">随便一句都可以当做QQ签名<br/>
<a href="">一个12岁小女孩供四个大学生哥哥</a><br/>
<a href="">笑的抽筋的短笑话 ,不看后悔噢</a><br/>
<a href="">难得一见的蒋氏家族私房照</a><br/>
<a href="">2012朋友网国民校花 - 朋友网</a><br/>
<a href="">2012朋友网国民校花 - 朋友网</a><br/>
<a href="">女人为什么喜欢睡觉? </a><br/>
<a href="">父女对话(超级可爱)人家那抢的</a><br/>
<a href="">前不久河南发生了一件不可思议的恐怖事件</a><br/>
</div>
</div>
</center>
</body>
</html>


第三个 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>logl.html</title>
<style>
body{
background: #3A0404 url(images/page_bg.jpg) repeat-x;
font: 20px;
color: #ffffff;
}
p{
text-indent :35px;
}
a{
color:#ffffaa;
text-decoration:none;
}
a:link{
text-decoration:none;
}
a:hover{
text-decoration:underline;
}
a:active{
text-decoration:none;
}
#index{
position:relative;
width: 678px;
border-style:dotted;
border-width:2px;
}
#one{
background: url(images/header.jpg) no-repeat;
position: relative;
margin-top:0;
width: 678px;
text-align:left;
}
#two{
hight:200px;
position:relative;
margin-top:80px;
margin-left:300px;
text-align:left;
}
#three{
position:relative;
margin-left:10px;
margin-top:30px;
matgin-bottom:20%;
text-align:left;
}
#four{
position:relative;
margin-left:10px;
margin-top:10px;
text-align:left;
border-top-style:dotted;
border-top-width:2px;
</style>
</head>

<body>
<center>
<div id=index>
<div id=one>
<strong>调用数据库文件(添加数据库调用方法)</strong><br>
<div id=two>
<h2>留言本</h2>
依波。萨姆悲小号........<br/>
朗伯缇斯........ <br/>
阿梅特.......<br/>
劳波瑞特....... <br/>
</div>
</div>
<div id=three>
<a href="">[转]亲情,是生命永恒的动力</a><br/>
<a href="">农村妹妹在上网聊天,不笑死你才怪,有心脏病的不要看</a><br/>
<a href="">以后给孩子起名字不用发愁了,先存着</a><br/>
<a href="">三个故事看懂了再结婚</a><br/>
<a href="">觀音像 寄完運氣變超好</a><br/>
<a href="">随便一句都可以当做QQ签名<br/>
<a href="">一个12岁小女孩供四个大学生哥哥</a><br/>
<a href="">笑的抽筋的短笑话 ,不看后悔噢</a><br/>
<a href="">难得一见的蒋氏家族私房照</a><br/>
<a href="">2012朋友网国民校花 - 朋友网</a><br/>
<a href="">2012朋友网国民校花 - 朋友网</a><br/>
<a href="">女人为什么喜欢睡觉? </a><br/>
<a href="">父女对话(超级可爱)人家那抢的</a><br/>
<a href="">前不久河南发生了一件不可思议的恐怖事件</a><br/>
</div>
<div id=four>
<table>
<form action="" method=post name=form>
<tr>
<td>标题 <td><input type="text"/></td>
</tr>
<tr>
<td>内容</td><td><textarea cols=70 rows=5></textarea></td>
</tr>
<tr>
<td>    </td>
<td><input type="submit" value="确定" name="submit"/> 
<input type="reset" value="重置" name="reset"/></td>
</tr>
</form>
</table>
</div>
</div>
</center>
</body>
</html>


...全文
62 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
ztt_cz 2012-11-25
  • 打赏
  • 举报
回复
第四个<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>img.html</title> <link rel="stylesheet" href="style.css" type="text/css" /> <style> body{ background: #3A0404 url(images/page_bg.jpg) repeat-x; font: 20px; color: #ffffff; } p{ text-indent :35px; } a{ color:#ffffaa; text-decoration:none; } a:link{ text-decoration:none; } a:hover{ text-decoration:underline; } a:active{ text-decoration:none; } #index{ position:relative; width: 678px; border-style:dashed; border-width:2px; } #one{ background: url(images/header.jpg) no-repeat; position: relative; margin-top:0; width: 678px; text-align:left; } #two{ hight:200px; position:relative; margin-top:80px; margin-left:400px; text-align:left; } #three{ position:relative; margin-left:15px; margin-top:30px; text-align:left; } </style> </head> <body> <center> <div id=index> <div id=one> <strong>调用数据库文件(添加数据库调用方法)</strong><br> <div id=two> <h1>相册</h1>   <br/>   <br/>  <br/>  <br/>  <br/>  <br/> </div> </div> <div id=three> <a href=""><img src="images/pic_3.jpg" width="100" height="100" alt="简介" /></a> <a href=""><img src="images/pic_3.jpg" width="100" height="100" alt="Pic 3" /></a> <a href=""><img src="images/pic_3.jpg" width="100" height="100" alt="Pic 3" /></a> <a href=""><img src="images/pic_3.jpg" width="100" height="100" alt="Pic 3" /></a> <a href=""><img src="images/pic_3.jpg" width="100" height="100" alt="Pic 3" /></a> <a href=""><img src="images/pic_3.jpg" width="100" height="100" alt="Pic 3" /></a><br/> <a href=""><img src="images/pic_4.jpg" width="100" height="100" alt="Pic 4" /></a> <a href=""><img src="images/pic_4.jpg" width="100" height="100" alt="Pic 4" /></a> <a href=""><img src="images/pic_4.jpg" width="100" height="100" alt="Pic 4" /></a> <a href=""><img src="images/pic_4.jpg" width="100" height="100" alt="Pic 4" /></a> <a href=""><img src="images/pic_4.jpg" width="100" height="100" alt="Pic 4" /></a> <a href=""><img src="images/pic_4.jpg" width="100" height="100" alt="Pic 4" /></a><br/> <a href=""><img src="images/pic_5.jpg" width="100" height="100" alt="Pic 5" /></a> <a href=""><img src="images/pic_5.jpg" width="100" height="100" alt="Pic 5" /></a> <a href=""><img src="images/pic_5.jpg" width="100" height="100" alt="Pic 5" /></a> <a href=""><img src="images/pic_5.jpg" width="100" height="100" alt="Pic 5" /></a> <a href=""><img src="images/pic_5.jpg" width="100" height="100" alt="Pic 5" /></a> <a href=""><img src="images/pic_5.jpg" width="100" height="100" alt="Pic 5" /></a><br/> </div> </div> </center> </body> </html>

61,115

社区成员

发帖
与我相关
我的任务
社区描述
层叠样式表(英文全称:Cascading Style Sheets)是一种用来表现HTML(标准通用标记语言的一个应用)或XML(标准通用标记语言的一个子集)等文件样式的计算机语言。
社区管理员
  • HTML(CSS)社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧