|
Blue Forest http://www.lslnet.com at 8:28 on August 25, 2006
(Translation) learning new XHTML standards (2)
Based on W3C [color=Red] School article translated by FLASHKIT China (http://www.flashkit.com.cn rough translation), an inappropriate term please correct me! [/color]
5. XHTML 1.0 reference
. NN : that the label supported early Netscape浏览器
. Early IE : IE browser that supports labeling
. DTD XHTML 1.0 DTD : that the label allow. S=Strict, T=Transitional, and F=Frameset
NN IE DTD Description Tag
<!--...-->
Defines a comment 3.0 3.0 STF
"!DOCTYPE>
Defines the document type STF
">
Defines an anchor 3.0 3.0 STF
"Abbr>
Defines an abbreviation 6.2 STF
"Acronym>
Defines an acronym 6.2 4.0 STF
"Address>
Defines an address element 4.0 4.0 STF
"Applet>
Defines an applet 2.0 3.0 TF
"Echoing area
Defines an area inside an image map 3.0 3.0 STF
"> B
Defines bold text 3.0 3.0 STF
"Echoing base
Defines a base URL for all the links in a page 3.0 3.0 STF
"Basefont everywhere
Defines a base Differences 3.0 3.0 TF
"Bdo>
Defines the direction of text display 6.2 5.0 STF
"Big>
Defines big text 3.0 3.0 STF
"Blockquote>
Defines a long quotation 3.0 3.0 STF
"Body>
Defines the body element 3.0 3.0 STF
"Br everywhere
Inserts a single line break 3.0 3.0 STF
"Button>
Defines a push button 6.2 4.0 STF
"Caption>
Defines a table caption 3.0 3.0 STF
"Center>
Defines centered text TF 3.0 3.0
"Cite>
Defines a citation 3.0 3.0 STF
"Code>
Defines computer code text 3.0 3.0 STF
"Col>
Defines attributes for table columns 3.0 STF
"Colgroup>
Defines groups of table columns 3.0 STF
"Dd>
Defines a definition description 3.0 3.0 STF
"Del>
Defines deleted text 6.2 4.0 STF
"Dir>
Defines a directory list 3.0 3.0 TF
"Div>
Defines a section in a document 3.0 3.0 STF
"Dfn>
Defines a definition term 3.0 STF
"Dl>
Defines a definition list 3.0 3.0 STF
"Dt>
Defines a definition term 3.0 3.0 STF
"Em>
Defines emphasized text 3.0 3.0 STF
"Fieldset>
Defines a fieldset 6.2 4.0 STF
"National
Defines the font face, size, and color of text 3.0 3.0 TF
"Form>
Defines a form 3.0 3.0 STF
"Frame>
Defines a sub window (a frame) 3.0 3.0 F
"Frameset>
Defines a set of frames 3.0 3.0 F
"H1> to" h6>
Defines header header 1 to 6 3.0 3.0 STF
"Head are
Defines information about the document 3.0 3.0 STF
"Hr everywhere
Defines a horizontal rule 3.0 3.0 STF
"Html>
Defines an html document 3.0 3.0 STF
">
Defines italic text 3.0 3.0 STF
"Iframe>
Defines an inline sub window (frame) 6.0 4.0 TF
"<img Everywhere
Defines an image 3.0 3.0 STF
"Input everywhere
Defines an input field 3.0 3.0 STF
"Ins>
Defines inserted text 6.2 4.0 STF
"Isindex> Deprecated. Defines a single-line input field. Use the "input> instead 3.0 3.0 TF
"Kbd>
Defines keyboard text 3.0 3.0 STF
"Label>
Defines a label for a form control 6.2 4.0 STF
"Legend>
Defines a title in a fieldset 6.2 4.0 STF
"Li>
Defines a list item 3.0 3.0 STF
"Link>
Defines a resource reference 4.0 3.0 STF
"Map>
Defines an image map 3.0 3.0 STF
"Menu>
Defines a menu list 3.0 3.0 TF
"Meta>
Defines meta information 3.0 3.0 STF
"Noframes>
Defines a noframe section 3.0 3.0 TF
"Noscript>
Defines a noscript section 3.0 3.0 STF
"Object>
Defines an embedded object 3.0 STF
"Ol>
Defines an ordered list 3.0 3.0 STF
"Optgroup>
Defines an option group 6.0 6.0 STF
"Option>
Defines an option in a list 3.0 3.0 STF drop-down
"Until
Defines a paragraph 3.0 3.0 STF
"Param>
Defines a parameter for an object 3.0 3.0 STF
"Pre>
Defines preformatted text 3.0 3.0 STF
"Q>
Defines a short quotation 6.2 STF
"Cit
Defines strikethrough text TF 3.0 3.0
"Samp>
Defines sample computer code 3.0 3.0 STF
"Script>
Defines a script 3.0 3.0 STF
"Select>
Defines a selectable list 3.0 3.0 STF
"Small>
Defines small text 3.0 3.0 STF
"Span>
Defines a section in a document 4.0 3.0 STF
"Strike>
Defines strikethrough text TF 3.0 3.0
"Strong>
Defines strong text 3.0 3.0 STF
"Style>
Defines a style definition 4.0 3.0 STF
"Sub>
Defines subscripted text 3.0 3.0 STF
"Sup>
Defines superscripted text 3.0 3.0 STF
"Table
Defines a table 3.0 3.0 STF
"Tbody>
Defines a table body 4.0 STF
"[Passages on congress progress omitted]
Defines a table cell 3.0 3.0 STF
"Textarea>
Defines a text area 3.0 3.0 STF
"Tfoot>
Defines a table footer 4.0 STF
"Th>
Defines a table header 3.0 3.0 STF
"Thead>
Defines a table header 4.0 STF
"Title>
Defines the document title 3.0 3.0 STF
"Tr>
Defines a table row 3.0 3.0 STF
"Tt>
Defines teletype text 3.0 3.0 STF
"U>
Defines underlined text TF 3.0 3.0
"Ul>
Defines an unordered list 3.0 3.0 STF
"Var>
Defines a variable 3.0 3.0 STF
"Xmp> Deprecated. Defines preformatted text. Use the "pre> instead 3.0 3.0
Standard attributes 6.XHTML
Core attributes
Not valid in base, head, html, meta, param, script, style, and title elements.
Attribute Value Description
The class_rule 14.00 or 14.00 of the element style_rule
A unique id for the element id id_name
An inline style definition style style_definition
A title tooltip_text text to display in a tool tip
________________________________________Language Attributes
Not valid in base, br, frame, frameset, hr, iframe, param, and script elements.
Attribute Value Description
Dir ltr | rtl Sets the text direction
Sets the language code lang language_code
________________________________________Keyboard Attributes
Attribute Value Description
Accesskey a character keyboard shortcut to access an element Sets
Tabindex number Sets the order of an element Na'tab'al
7. XHTML attributes incident
Window events
Only been used in the body or which frameset
Attribute Value Description
Onload script Script to be run when a document loads
Onunload script Script to be run when a document unloads
________________________________________Form Element Events
Only been used in form which
Attribute Value Description
Onchange script Script to be run when the element changes
Onsubmit script Script to be run when the form is submitted
Onreset script Script to be run when the form is reset
Onselect script Script to be run when the element is selected
Onblur script Script to be run when the element loses focus
Script onfocus script to be run when the element gets focus
________________________________________Keyboard Events
Invalid label with the following attributes in the following base, bdo, br, frame, frameset, head, html, iframe, meta, param, script, style, and title
Attribute Value Description
What to do when onkeydown script key is pressed
What to do when onkeypress script key is pressed and released
What to do when onkeyup script key is released
________________________________________Mouse Events
Invalid label with the following attributes in the following base, bdo, br, frame, frameset, head, html, iframe, meta, param, script, style, and title
Attribute Value Description
Onclick script What to do on a mouse click
What to do on a mouse ondblclick script doubleclick
Onmousedown script What to do when mouse button is pressed
Onmousemove script What to do when mouse pointer moves
Onmouseover script What to do when mouse pointer moves over an element
Onmouseout script What to do when mouse pointer moves out of an element
Onmouseup script What to do when mouse button is released
|
|