求助几个常用的html标签的意思
<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® 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® 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® 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



