CSDN首页 空间 新闻 论坛 Blog 下载 读书 网摘 搜索 .NET Java 视频 接项目 求职 在线学习 买书 程序员 通知
英特尔®游戏设计大赛100美元现金周周送 专题改版:Java Web 专题
CSDN社区
搜索 收藏 打印 关闭
CSDN社区 >  Web 开发 >  ASP

求助几个常用的html标签的意思

楼主hhhbbb(北方)2003-08-04 08:59:59 在 Web 开发 / ASP 提问

<div   class="abc"   language="javascript"   onclick="help()"><img   class="Ico"   src="images\help.gif"   >       </div>  
   
  请问div是什么意思,class是什么意思,请给一个详细的解答好吗?谢谢大家 问题点数:0、回复次数:7Top

1 楼mmq980211(夏日980211)回复于 2003-08-04 09:06:41 得分 0

class   是“类”  
  Top

2 楼blueice2002(蓝冰)回复于 2003-08-04 09:09:35 得分 0

div是层,class是样式表中定义的样式Top

3 楼LonelyStark(LonelyStark)回复于 2003-08-04 09:09:53 得分 0

div是一个层   就像PS里面的层一样  
  class是调用自己定义的一个类  
  通常像外形之类的可能有多个重复的就写成一个class  
  然后在每个外形相同的地方调用就是Top

4 楼bubuy(始不垂翅,终能奋翼)回复于 2003-08-04 09:11:28 得分 0

在   HTML   页上,<DIV>   元素用于圈定一个   HTML   元素块并对它们应用   CSS   属性。<DIV>   是块元素。与   <P>   段落一样,它也占据一个矩形的显示区域并可包含   CSS   布局属性。  
  class是调用css类Top

5 楼liuyann(liuyann)回复于 2003-08-04 09:23:54 得分 0

DIV   Element   |   DIV   Object  
   
  --------------------------------------------------------------------------------  
   
  Specifies   a   container   that   renders   HTML.  
   
  Remarks  
   
  The   DIV   element   is   a   block   element   and   requires   a   closing   tag.  
   
  This   element   is   available   in   HTML   as   of   Microsoft&reg;   Internet   Explorer   3.0,   and   in   script   as   of   Internet   Explorer   4.0.  
   
   
  Possible   Values  
   
  sClass   String   that   specifies   or   receives   the   class   or   style   rule.    
   
  The   property   is   read/write.   The   property   has   no   default   value.  
   
  Expressions   can   be   used   in   place   of   the   preceding   value(s),   as   of   Microsoft&reg;   Internet   Explorer   5.   For   more   information,   see   Dynamic   Properties.  
   
  Remarks  
   
  The   class   is   typically   used   to   associate   a   particular   style   rule   in   a   style   sheet   with   the   element.  
   
  As   of   Microsoft&reg;   Internet   Explorer   5,   you   can   apply   multiple   styles   to   an   element   by   specifying   more   than   one   style   for   the   CLASS   attribute.   To   apply   multiple   styles   to   a   single   element,   use   the   following   syntax:  
   
  <ELEMENT   CLASS   =   sClass   [   sClass2   [   sClass3   ...   ]   ]   ...   >  
   
  When   multiple   styles   are   specified   for   an   element,   a   conflict   could   develop   if   two   or   more   styles   define   the   same   attribute   differently.   In   this   case,   you   can   resolve   the   conflict   by   applying   styles   to   the   element   in   the   following   order,   according   to   the   Cascading   Style   Sheets   (CSS)   selector   used   to   define   the   style  
  Top

6 楼tiandiren2008(天地人)回复于 2003-08-04 09:27:46 得分 0

tooooooooooooooTop

7 楼hhhbbb(北方)回复于 2003-08-04 10:00:18 得分 0

谢谢大家Top

相关问题

  • 这个html语句中的标签是什么意思啊,太怪了,DG="TRUE" AX="5" DPT="0" ..
  • HTML标签问题
  • <noframe></noframe>标签什么意思?
  • html:img标签用法
  • Struts <html:link>标签问题
  • <a>标签中的target=_blank是什么意思?
  • ??错误:标签未定义是什末意思呀??
  • ??错误:标签未定义是什末意思呀??
  • 正则问题(如何匹配HTML标签的属性标签)
  • 怎样替换掉html的标签??

关键词

  • css
  • internet
  • microsoft
  • html
  • 意思
  • 调用
  • 元素
  • element
  • div
  • style

得分解答快速导航

  • 帖主:hhhbbb

相关链接

  • Web开发类图书

广告也精彩

反馈

请通过下述方式给我们反馈
反馈
网站简介|广告服务|VIP资费标准|银行汇款帐号|网站地图|帮助|联系方式|诚聘英才|English|问题报告
世纪乐知(北京)网络技术有限公司 版权所有, 京 ICP 证 020026 号
北京创新乐知广告有限公司 提供技术支持
Copyright © 2000-2007, CSDN.NET, All Rights Reserved
GongshangLogo