Tài liệu Web Programming with HTML, XHTML, and CSS Second Edition- P13 - Pdf 92

<button> (IE4+, N3+, FF1+)
Creates an HTML button. Any enclosed markup is used as the button’s caption.
<caption> (all)
The content of this element specifies a caption to be placed next to a table.
<center> Deprecated (all)
The content of this element (and child elements) should be centered on the page.
align = top|_ bottom | right |
left
For IE this specifies the horizontal alignment of the caption; in
Netscape it sets vertical position
valign = bottom | top
Specifies the vertical position of the caption
accesskey = key_character
Defines a hotkey/keyboard shortcut for this
disabled = disabled
Disables the button, preventing user intervention
name = name
Specifies a name for the form control passed to the form’s
processing application as part of the name/value pair
(required)
onblur = script
Specifies a script to run when the mouse moves off the button
onfocus = script
Specifies a script to run when the element gains focus
tabindex = number
Defines this element’s position in the tabbing order
type = button | submit |
reset
Specifies the type of button
value = string
Specifies the value of the parameter sent to the processing

set to
span = number
Number of columns affected by the
<col>
tag
valign = bottom | top
Specifies the vertical alignment of content within the element
width = number
Specifies the width of the column in pixels
572
Appendix B: XHTML Element Reference
59313bapp02.qxd:WroxPro 3/23/08 1:50 PM Page 572
Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.
<comment> (IE4+ only)
The content is a comment that will not be displayed (IE4+ only — not part of HTML or XHTML).
Supports only the attributes shown in the table that follows.
<dd> (all)
The definition of an item in a definition list. This is usually indented from other text.
<del> (IE4+, N6+, FF1+)
The content of the element has been deleted from an earlier version of the document.
<dfn> (all)
Defines an instance of a term.
cite = url
Specifies a URL for justification of deletion
datetime = date
Specifies the date and time it was deleted
id = string
Specifies a unique identifier for the element
Lang = language_type
Specifies the language of the comment

compact = compact
Makes the list more vertically compact
align = center | left | right
Specifies the alignment of text within the
<div>
element
nowrap = nowrap
Prevents word-wrapping within this
<div>
element
574
Appendix B: XHTML Element Reference
59313bapp02.qxd:WroxPro 3/23/08 1:50 PM Page 574
Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.
<embed> (all)
Embeds documents in a page that require another supporting application.
<fieldset> (IE4+, N6+, FF1+)
Creates a box around the contained elements indicating that they are related items in a form.
align = center | left | right
Specifies the alignment of the group of elements
tabindex = number
Defines this
<fieldset>
’s position in the tabbing order
align = absbottom |
absmiddle | baseline |
bottom | left | middle |
right | texttop | top
Specifies the alignment within the containing element
border = number

Appendix B: XHTML Element Reference
59313bapp02.qxd:WroxPro 3/23/08 1:50 PM Page 575
Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.
<font> Deprecated (all)
Specifies the typeface, size, and color of the font to be used for text within the element.
<form> (all)
Containing element for form controls and elements.
<frame> (all)
Specifies a frame within a frameset.
Supports only the attributes listed in the table that follows.
[event_name] = script
The intrinsic events supported by most elements
bordercolor = color
Specifies the color of the border of the frame
accept-charset = list
Specifies a list of accepted character sets the processing
application can handle
action = url
Specifies the URL of the processing application that will
handle the form
enctype = encoding
Specifies the encoding method for form values
method = get | post
Specifies how the data gets sent from the browser to the
processing application
onreset = script
Specifies a script that is run when the form values are reset
onsubmit = script
Specifies a script that is run before the form is submitted
target = <window_name> |

Specifies a class name to associate styles with the element
frameborder = no | yes | 0 | 1
Specifies the presence or absence of a frame border
Id = string
Specifies a unique value for the element
lang = language_type
Specifies the language used for the content of the frame
longdesc = url
Specifies a URL for a description of the content of the frame
marginheight = number
Specifies the height of the margin for the frame in pixels
marginwidth = number
Specifies the width of the margin for the image in pixels
noresize = noresize
Specifies that the frame cannot be resized
scrolling = auto | yes | no
Specifies whether the frame can have scrollbars if the content
does not fit in the space in the browser
style = style
Specifies inline CSS style rules
src = url
Specifies a URL for the location of the content for that frame
title = title
Specifies a title for the frame
577
Appendix B: XHTML Element Reference
59313bapp02.qxd:WroxPro 3/23/08 1:50 PM Page 577
Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.
<head> (all)
Container element for heading information about the document; its content will not be displayed in the

onload = script
Specifies a script to run when the frameset loads
onunload = script
Specifies a script to run when the frameset is unloaded
rows = number
Specifies the number of rows in a frameset allowing you to
control the layout of the frameset
578
Appendix B: XHTML Element Reference
59313bapp02.qxd:WroxPro 3/23/08 1:50 PM Page 578
Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.
<hr /> (all)
Creates a horizontal rule across the page (or containing element).
Supports only the attributes listed in the table that follows.
<html> (all)
Containing element for an HTML or XHTML page.
Continued
class = classname
Specifies a class for the element to associate it with rules in a
style sheet
dir = ltr | rtl
Specifies the direction of the text within the element
id = string
Specifies a unique identifier for this element
lang = language_type
Specifies the language used in this element
version = url
Specifies the version of HTML used in the document —
replaced by the DOCTYPE declaration in XHTML
[event_name] = script

Embeds an image within a document.
align = absbottom |
absmiddle | baseline |
bottom | top | left | middle |
right | texttop | top
Specifies the alignment of the frame in relation to surrounding
content or margins
frameborder = no | yes|0|1
Specifies the presence of a border:
1
enables borders,
0
disables them
height = number
Specifies the height of the frame in pixels
longdesc = url
Specifies a URL for a description of the content of the frame
Marginheight = number
Specifies the space above and below the frame and surrounding
content in pixels
marginwidth = number
Specifies the space to the left and right of the frame and
surrounding content in pixels
scrolling = auto | yes | no
Specifies whether scrollbars should be allowed to appear if
the content is too large for the frame
src = url
Specifies the URL of the file to be displayed in the frame
width = number
Specifies the width of the frame in pixels

left and right of the image
ismap = ismap
Specifies whether the image is a server-side image map
longdesc = url
Specifies a URL for a description of the content of the image
loop = number
Specifies the number of times the video should be played; can
take a value of
infinite
lowsrc = url
Specifies a URL for a low-resolution version of the image that
can be displayed while the full image is loading
name = name
Specifies a name for the element
onabort = script
Specifies a script to run if loading of the image is aborted
onerror = script
Specifies a script to run if there is an error loading the image
onload = script
Specifies a script to run when the image has loaded
src = url
Specifies the URL of the image
start=fileopen mouseover _
number
Specifies when to play a video clip
usemap = url
Specifies the map containing coordinates and links that define
the links for the image (server-side image map)
581
Appendix B: XHTML Element Reference

Specifies the element’s position in the tabbing order
value = string
Specifies the value of the parameter sent to the processing
application as part of the name/value pair
vspace = number
Specifies the amount of additional space to be added above
and below the image
width = name
Specifies the width of the image
582
Appendix B: XHTML Element Reference
59313bapp02.qxd:WroxPro 3/23/08 1:51 PM Page 582
Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.
<input type="file"> (all)
Creates a form input control that allows a user to select a file.
accesskey = key_character
Defines a hotkey/keyboard shortcut for this
disabled = disabled
Disables the file upload control, preventing user intervention
maxlength = number
Maximum number of characters the user may enter
name = name
Specifies a name for the form control passed to the form’s
processing application as part of the name/value pair (required
)
notab = notab
Specifies that this element does not take part in the tabbing
order for the document
onblur = script
Specifies a script to run when the mouse leaves the control

Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.
<input type="hidden"> (all)
Creates a form input control, similar to a text input, but is hidden from the user’s view (although the
value can still be seen if the user views the source for the page).
<input type="image"> (all)
Creates a form input control that is like a button or submit control, but uses an image instead of a button.
accesskey = key_character
Defines a hotkey/keyboard shortcut for this
align = center | left | right
Specifies the alignment of the image
alt = string
Provides alternative text for the image
border = number
Specifies the width of the border in pixels
Disabled = disabled
Disables the image button, preventing user intervention
name = name
Specifies a name for the form control passed to the form’s
processing application as part of the name/value pair
(required)
notab = notab
Specifies that this element does not take part in the tabbing
order for the document
src = url
Specifies the source of the image
Readonly = readonly
Prevents user from modifying content
tabindex = number
Defines this element’s position in the tabbing order
taborder = number

Disables the text input, preventing user intervention
maxlength = number
Maximum number of characters the user can enter
name = name
Specifies a name for the form control passed to the form’s
processing application as part of the name/value pair
(required)
notab = notab
Specifies that this element does not take part in the tabbing
order for the document
onblur = script
Specifies a script to run when the mouse moves off the element
onchange = script
Specifies a script to run when the value of the element changes
onfocus = script
Specifies a script to run when the element gains focus
onselect = script
Specifies a script to run when the user selects this element
readonly = readonly
Prevents user from modifying content
size = number
Specifies the width of the input in numbers of characters
tabindex = number
Defines this element’s position in the tabbing order
taborder = number
Specifies the element’s position in the tabbing order
value = string
Specifies the value of the control sent to the processing
application as part of the name/value pair
585

(required)
notab = notab
Specifies that this element does not take part in the tabbing
order for the document
readonly = readonly
Prevents user from modifying content
tabindex = number
Defines this element’s position in the tabbing order
taborder = number
Specifies the element’s position in the tabbing order
value = string
Specifies the value of the control sent to the processing
application as part of the name/value pair
586
Appendix B: XHTML Element Reference
59313bapp02.qxd:WroxPro 3/23/08 1:51 PM Page 586
Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.
<input type="submit"> (all)
Creates a form input control that is a submit button to send the form values to the server.
<input type="text"> (all)
Creates a form input control that is a single-line text input.
Continued
accesskey = key_character
Defines a hotkey/keyboard shortcut for this
disabled = disabled
Disables the text input, preventing user intervention
maxlength = number
Maximum number of characters the user can enter
name = name
Specifies a name for the form control passed to the form’s

Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.
<ins> (IE4+, N6+, FF1+)
The content of the element has been added since an earlier version of the document.
<isindex> Deprecated (all)
Identifies a searchable index.
Only the attributes listed in the table that follows are supported.
accesskey = key_character
Defines a hotkey/keyboard shortcut for this
action = url
IE only specifies the URL of the search application
class = classname
Specifies a class for the element to associate it with rules in a
style sheet
dir = ltr | rtl
Specifies the direction of the text within the element
id = string
Specifies a unique identifier for this element
lang = language_type
Specifies the language used in this element
prompt = string
Specifies an alternative prompt for the field input
cite = url
Specifies a URL indicating why the content was added
datetime = date
Specifies a date and time for the addition of content
onselect = script
Specifies a script to run when the element is selected
readonly = readonly
Prevents user from modifying content
size = number

Specifies a script to run when the label gains focus
challenge = string
Provides a challenge string to be packaged with the key
class = classname
Specifies a class for the element to associate it with rules in a
style sheet
id = string
Specifies a unique identifier for this element
name = string
Specifies a name for the element
style = string
Specifies inline CSS style rules for the element
tabindex = number
Defines this element’s position in the tabbing order
title = string
Specifies a title for the element
xml:lang = language_type
Specifies the language used in this element
589
Appendix B: XHTML Element Reference
59313bapp02.qxd:WroxPro 3/23/08 1:51 PM Page 589
Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.
<layer> (Netscape only, N4+)
Defines an area of a page that can hold a different page. Netscape-specific; not covered in this book.
<legend> (IE4+, N6+, FF1+)
The content of this element is the title text to place in a
<fieldset>
.
accesskey = key_character
Defines a hotkey/keyboard shortcut for this

Specifies the stacking order of the layer
590
Appendix B: XHTML Element Reference
59313bapp02.qxd:WroxPro 3/23/08 1:51 PM Page 590
Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.


Nhờ tải bản gốc

Tài liệu, ebook tham khảo khác

Music ♫

Copyright: Tài liệu đại học © DMCA.com Protection Status