永发信息网

这段代码是什么意思?需要说出其含义

答案:3  悬赏:80  手机版
解决时间 2021-04-13 00:55
  • 提问者网友:爱唱彩虹
  • 2021-04-12 19:48

<!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=gb2312" />
<title>无标题文档</title>
</head>
<style type="text/css">
.kuang{border:#cccccc 1px solid;width:200px;height:150px;}
.title{ color:#990000;font-size:14px;font-weight:bold;}
.k_top{height:20px;border-bottom:#cccccc 1px solid; background:#f5f5f5;padding:2px;}
.k_con{padding:5px;font-size:12px;line-height:24px;}

</style>

<body>
<div class="kuang">
<div class="k_top"><span class="title">岳希红</span></div>
<div class="k_con">

姓名:岳希红,职位。。。。。等等
姓名:岳希红,职位。。。。。等等
姓名:岳希红,职位。。。。等等</div>
</div>

</body>
</html>

最佳答案
  • 五星知识达人网友:大漠
  • 2021-04-12 21:12

这是个div,,顶部是声明文档格式,,下面是个小div块

全部回答
  • 1楼网友:十鸦
  • 2021-04-12 23:11

这是网页设计中的一段代码。用Dreamweaver编辑后显示一个表格,如图:

  • 2楼网友:有你哪都是故乡
  • 2021-04-12 21:53

<!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> //html头部标记 <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> //定义网页文档类型,编码方式为gb2312 <title>无标题文档</title> //网页标题 </head> //标记结束 <style type="text/css"> //定义内部css样式 .kuang{border:#cccccc 1px solid;width:200px;height:150px;}// 定义kuang的样式,边框颜色。边框粗细,显示样式,宽和高。 .title{ color:#990000;font-size:14px;font-weight:bold;} .k_top{height:20px;border-bottom:#cccccc 1px solid; background:#f5f5f5;padding:2px;} .k_con{padding:5px;font-size:12px;line-height:24px;}

//同上

</style> //css结束标记

<body>//正文开始标记 <div class="kuang">//div块,引用kuang的样式 <div class="k_top"><span class="title">岳希红</span></div>//引用k_top样式,span是个容器标记 <div class="k_con">//同上

姓名:岳希红,职位。。。。。等等 姓名:岳希红,职位。。。。。等等 姓名:岳希红,职位。。。。等等</div> </div>

</body>//正文结束标记 </html>//网页结束

呵呵,写完问题已经结束了,给你发上来吧,可能说的不准确呵呵

我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯