首页 > 编程 > HTML > 正文

HTML教程:收集的常用的HTML标签(5)

2024-08-26 00:09:01
字体:
来源:转载
供稿:网友

相关文章:初学者接触html了解一些html标记(4)

  这些所介绍的html标记不一定完全符合xhtml规范。各位在实际布局时应有所取舍,如:b标记,font标记,都是不符合xhtml规范的。

81--------------------------------------------------------------------------
<tbody
align=center | left | right
bgcolor=color
class=classname
id=value
lang=language
language=javascript | jscript | vbscript | vbs
style=css1-properties
title=text
valign=baseline | bottom | center | top
event = script

说明:定义一个表体。结束标记可选。
 
82--------------------------------------------------------------------------
<td
align=center | left | right
background=url
bgcolor=color
bordercolor=color
bordercolordark=color
bordercolorlight=color
class=classname
colspan=n
id=value
lang=language
language=javascript | jscript | vbscript | vbs
nowrap
rowspan=n
style=css1-properties
title=text
valign=baseline | bottom | center | top
event = script

说明:定义表格的一个单元格(排成一行)。需要结束标记。 

83--------------------------------------------------------------------------------
<textarea
accesskey=key
align=absbottom | absmiddle | baseline | bottom | left | middle | 
right | texttop | top
class=classname
cols=n
datafld=colname
datasrc=#id
disabled
id=value
lang=language
language=javascript | jscript | vbscript | vbs
name=name
readonly
rows=n
style=css1-properties
tabindex=n
title=text
wrap=off | physical | virtual
event = script

说明:多行文本输入控件。需要结束标记。 

84--------------------------------------------------------------------------------
<tfoot
align=center | left | right
bgcolor=color
class=classname
id=value
lang=language
language=javascript | jscript | vbscript | vbs
style=css1-properties
title=text
valign=baseline | bottom | center | top
event = script

说明:定义一张表格的页脚。结束标记可选。 

85--------------------------------------------------------------------------------
<th
align=center | left | right
background=url
bgcolor=color
bordercolor=color
bordercolordark=color
bordercolorlight=color
class=classname
colspan=n
id=value
lang=language
language=javascript | jscript | vbscript | vbs 
nowrap
rowspan=n
style=css1-properties
title=text
valign=baseline | bottom | center | top
event = script

说明:定义表格中一行或一列的标题,文字黑体显示。结束标记可选。 

86--------------------------------------------------------------------------------
<thead
align=center | left | right
bgcolor=color
class=classname
id=value
lang=language
language=javascript | jscript | vbscript | vbs
style=css1-properties
title=text
valign=baseline | bottom | center | top
event = script

说明:定义表格的表头。结束标记可选。 

87--------------------------------------------------------------------------------
<title
id=value
title=string

说明:说明文档标题。需要结束标记。 

88--------------------------------------------------------------------------------
<tr
align=center | left | right
bgcolor=color
bordercolor=color
bordercolordark=color
bordercolorlight=color
class=classname
id=value
lang=language
language=javascript | jscript | vbscript | vbs
style=css1-properties
title=text
valign=baseline | bottom | center | top
event = script

说明:定义表格中的一行。需要结束标记。 

89--------------------------------------------------------------------------------
<tt
class=classname
id=value
lang=language
language=javascript | jscript | vbscript | vbs 
style=css1-properties
title=text
event = script

说明:用等宽字体显示文本。需要结束标记。
 
90--------------------------------------------------------------------------------
<u
class=classname
id=value
lang=language
language=javascript | jscript | vbscript | vbs 
style=css1-properties
title=text
event = script

说明:显示带下划线的文本。需要结束标记。 

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表