您的位置:寻梦网首页编程乐园HTML园地HTML 4.0 参考文献

前页 | 后页 | 目录 | 元素 | 特性1(A-N) | 特性2(O-Z)

特性索引

名称 相关元素 类型 缺省值 备注
accept-charset FORM CDATA #IMPLIED 提供的字符列表
accept INPUT CDATA #IMPLIED 文件上载的 MIME 类型列表
accesskey A, LABEL, LEGEND CDATA #IMPLIED 热键字符
action FORM %URL #REQUIRED 服务器端表单处理
align CAPTION %CAlign #IMPLIED 表格对齐方式
align APPLET, IFRAME, IMG, INPUT %IAlign #IMPLIED 垂直或水平对齐
align LEGEND %LAlign #IMPLIED 相对域设置
align OBJECT %OAlign #IMPLIED 文档内部位置
align TABLE %TAlign #IMPLIED 相对于视窗的表格位置
align DIV, H1, H2, H3, H4, H5, H6, P (left | center | right | justify) #IMPLIED 对齐方式, 文本对齐方式
align COL, COLGROUP, TBODY, TD, TFOOT, TH, THEAD, TR (left | center | right | justify | char) #IMPLIED  
align HR (left | right | center) #IMPLIED  
alink BODY CDATA #IMPLIED bgcolor, text, link, vlink, alink
alt APPLET, IMG, INPUT CDATA #IMPLIED 针对只提供文本的浏览器的描述
alt AREA CDATA #REQUIRED 针对只提供文本的浏览器的描述
archive APPLET CDATA #IMPLIED 逗号分列的档案列表
axes TD, TH CDATA #IMPLIED axis 名称列表
axis TD, TH CDATA #IMPLIED 缺省单元内容
background BODY %URL #IMPLIED texture tile for document background
bgcolor TABLE %Color #IMPLIED background color for cells
bgcolor TR %Color #IMPLIED background color for row
bgcolor TD, TH %Color #IMPLIED cell background color
bgcolor BODY CDATA #IMPLIED
border OBJECT %Length #IMPLIED suggested link border width
border IMG %Pixels #IMPLIED suggested link border width
border TABLE CDATA #IMPLIED controls frame width around table
cellpadding TABLE CDATA #IMPLIED spacing within cells
cellspacing TABLE CDATA #IMPLIED spacing between cells
char COL, COLGROUP, TBODY, TD, TFOOT, TH, THEAD, TR CDATA #IMPLIED alignment char, e.g. char=':'
charoff COL, COLGROUP, TBODY, TD, TFOOT, TH, THEAD, TR CDATA #IMPLIED offset for alignment char
charset A CDATA #IMPLIED char encoding of linked resource
checked INPUT (checked) #IMPLIED for radio buttons and check boxes
cite BLOCKQUOTE, Q %URL #IMPLIED URL for source document or msg
cite DEL, INS %URL #IMPLIED info on reason for change
class A, ACRONYM, ADDRESS, B, BIG, BLOCKQUOTE, BODY, BR, BUTTON, CAPTION, CENTER, CITE, CODE, COL, COLGROUP, DD, DEL, DFN, DIR, DIV, DL, DT, EM, FIELDSET, FORM, H1, H2, H3, H4, H5, H6, HR, I, IMG, INPUT, INS, ISINDEX, KBD, LABEL, LEGEND, LI, LINK, MAP, MENU, OBJECT, OL, OPTION, P, PRE, Q, S, SAMP, SELECT, SMALL, SPAN, STRIKE, STRONG, SUB, SUP, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TR, TT, U, UL, VAR CDATA #IMPLIED space separated list of classes
classid OBJECT %URL #IMPLIED identifies an implementation
clear BR (left | all | right | none) none control of text flow
code APPLET CDATA #IMPLIED applet class file
codebase APPLET %URL #IMPLIED optional base URL for applet
codebase OBJECT %URL #IMPLIED some systems need an additional URL
codetype OBJECT %ContentType #IMPLIED Internet content type for code
color BASEFONT, FONT CDATA #IMPLIED #RRGGBB in hex, e.g. red: "#FF0000"
cols FRAMESET CDATA #IMPLIED if not given, default is 1 column
cols TABLE NUMBER #IMPLIED used for immediate display mode
cols TEXTAREA NUMBER #REQUIRED
colspan TD, TH NUMBER 1 number of cols spanned by cell
compact DIR, MENU (compact) #IMPLIED
compact DL, OL, UL (compact) #IMPLIED reduced interitem spacing
content META CDATA #REQUIRED associated information
coords AREA %Coords #IMPLIED comma separated list of values
coords A %Coords #IMPLIED for use with OBJECT SHAPES
data OBJECT %URL #IMPLIED reference to object's data
datetime DEL, INS CDATA #IMPLIED when changed: ISO date format
declare OBJECT (declare) #IMPLIED declare but don't instantiate flag
dir A, ACRONYM, ADDRESS, B, BIG, BLOCKQUOTE, BODY, BUTTON, CAPTION, CENTER, CITE, CODE, COL, COLGROUP, DD, DEL, DFN, DIR, DIV, DL, DT, EM, FIELDSET, FORM, H1, H2, H3, H4, H5, H6, HEAD, HTML, I, IMG, INPUT, INS, ISINDEX, KBD, LABEL, LEGEND, LI, LINK, MENU, META, OBJECT, OL, OPTION, P, PRE, Q, S, SAMP, SELECT, SMALL, SPAN, STRIKE, STRONG, STYLE, SUB, SUP, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TITLE, TR, TT, U, UL, VAR (ltr | rtl) #IMPLIED direction for weak/neutral text
dir BDO (ltr | rtl) #REQUIRED directionality
disabled BUTTON, INPUT, LABEL, OPTION, SELECT, TEXTAREA (disabled) #IMPLIED control is unavailable in this context
enctype FORM %ContentType "application/x-www-form-urlencoded"
face BASEFONT, FONT CDATA #IMPLIED comma separated list of font names
for LABEL IDREF #IMPLIED matches field ID value
frame TABLE %TFrame #IMPLIED which parts of table frame to include
frameborder FRAME, IFRAME (1 | 0) 1 request frame borders?
height IFRAME, OBJECT %Length #IMPLIED suggested height
height IMG %Pixels #IMPLIED suggested height in pixels
height APPLET %Pixels #REQUIRED suggested height in pixels
href A, LINK %URL #IMPLIED URL for linked resource
href AREA %URL #IMPLIED this region acts as hypertext link
href BASE %URL #REQUIRED
hspace OBJECT %Length #IMPLIED suggested horizontal gutter
hspace APPLET, IMG %Pixels #IMPLIED suggested horizontal gutter
http-equiv META NAME #IMPLIED HTTP response header name
id A, ACRONYM, ADDRESS, B, BIG, BLOCKQUOTE, BODY, BR, BUTTON, CAPTION, CENTER, CITE, CODE, COL, COLGROUP, DD, DEL, DFN, DIR, DIV, DL, DT, EM, FIELDSET, FORM, H1, H2, H3, H4, H5, H6, HR, I, IMG, INPUT, INS, ISINDEX, KBD, LABEL, LEGEND, LI, LINK, MAP, MENU, OBJECT, OL, OPTION, P, PRE, Q, S, SAMP, SELECT, SMALL, SPAN, STRIKE, STRONG, SUB, SUP, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TR, TT, U, UL, VAR ID #IMPLIED document-wide unique id
ismap IMG (ismap) #IMPLIED use server-side image map
lang A, ACRONYM, ADDRESS, B, BDO, BIG, BLOCKQUOTE, BODY, BUTTON, CAPTION, CENTER, CITE, CODE, COL, COLGROUP, DD, DEL, DFN, DIR, DIV, DL, DT, EM, FIELDSET, FORM, H1, H2, H3, H4, H5, H6, HEAD, HTML, I, IMG, INPUT, INS, ISINDEX, KBD, LABEL, LEGEND, LI, LINK, MENU, META, OBJECT, OL, OPTION, P, PRE, Q, S, SAMP, SELECT, SMALL, SPAN, STRIKE, STRONG, STYLE, SUB, SUP, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TITLE, TR, TT, U, UL, VAR NAME #IMPLIED [RFC1766] language value
language SCRIPT CDATA #IMPLIED predefined script language name
link BODY CDATA #IMPLIED
marginheight FRAME, IFRAME %Pixels #IMPLIED margin height in pixels
marginwidth FRAME, IFRAME %Pixels #IMPLIED margin widths in pixels
maxlength INPUT NUMBER #IMPLIED max chars for text fields
media STYLE CDATA #IMPLIED designed for use with these media
media LINK CDATA #IMPLIED for rendering on these media
method FORM (GET | POST) GET HTTP method used to submit the form
multiple SELECT (multiple) #IMPLIED default is single selection
name OBJECT %URL #IMPLIED submit as part of form
name MAP CDATA #IMPLIED
name APPLET CDATA #IMPLIED allows applets to find each other
name BUTTON CDATA #IMPLIED for scripting/forms as submit button
name FRAME, IFRAME CDATA #IMPLIED name of frame for targetting
name A CDATA #IMPLIED named link end
name INPUT CDATA #IMPLIED required for all but submit & reset
name TEXTAREA CDATA #REQUIRED
name SELECT CDATA #REQUIRED field name
name PARAM CDATA #REQUIRED property name
name META NAME #IMPLIED metainformation name
nohref AREA (nohref) #IMPLIED this region has no action
noresize FRAME (noresize) #IMPLIED allow users to resize frames?
noshade HR (noshade) #IMPLIED
nowrap TD, TH (nowrap) #IMPLIED suppress word wrap
请看下页:特性2(O-Z)

前页 | 后页 | 目录 | 元素 | 特性1(A-N) | 特性2(O-Z)