您现在的位置: 范文先生网 >> 理工论文 >> 计算机论文 >> 正文

网页设计制作规范

时间:2007-1-30栏目:计算机论文

</head>  
<body  bgcolor="#ffffff">  
…  …  
</body>  

补充:  
  为了保证网站能够与下一代的web  语言xml  标准兼容,所有的HTML  标签的属性都要用单引号或者双引号括起,即我们应该写  <a  href=”url”>  而不  是  <a  href=url>.  

2.  允许全文检索的页面,为了使Internet  上的搜索引擎能够有效检索,在频道的首页的html的<head></head>之间应该加入Keywords  和Description  元标记,例如  :  

<meta  name=”keywords”  content=”东方新干线,汽车,买车”>  
<meta  name=”description”  content=”东方新干劲线,全球中文汽车信息第一站”>  

3.  CSS  文件的格式样例代码  :  

<style  type="text/css">  
<!—  
p  {  text-indent:  2em;  }  
body  {  font-family:  "宋体";  font-size:  9pt;  color:  #000000;  margin-top:  0px;  margin-right:  0px;  margin-bottom:  0px;  margin-left:  0px}  
table  {  font-family:  "宋体";  font-size:  9pt;  line-height:  20px;  color:  #000000}  
a:link  {  font-size:  9pt;  color:  #FFFFFF;  text-decoration:  none}  
a:visited  {  font-size:  9pt;  color:  #99FFFF;  text-decoration:  none}  
a:hover  {  font-size:  9pt;  color:  #FF9900;  text-decoration:  none}  
a:active  {  font-size:  9pt;  color:  #FF9900;  text-decoration:  none}  
a.1:link  {  font-size:  9pt;  color:  #3366cc;  text-decoration:  none}  
a.1:visited  {  font-size:  9pt;  color:  #336

上一页  [1] [2] [3] [4] [5] [6] 下一页

下页更精彩:1 2 3 4 下一页