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

50 394 0
Tài liệu Web Programming with HTML, XHTML, and CSS Second Edition- P13 pptx

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

<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 application as part of the name/value pair (required) 571 Appendix B: XHTML Element Reference 59313bapp02.qxd:WroxPro 3/23/08 1:50 PM Page 571 Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. <cite> (all) The content of the element is a citation and tends to be rendered in italics. <code> (all) The content of the element is code and should be rendered in a fixed width font. <col> (IE3+, N4+, FF1+) Specifies column-based defaults for a table. <colgroup> (IE3+, N4+, FF1+) Used to contain a group of columns. align = center | left | right | justify | char Specifies the horizontal alignment of content within the column bgcolor = color Specifies the background color for the group of columns char = string Specifies the alignment character for text within the cells align = center | left | right | justify | char Specifies the alignment of the column bgcolor = color Specifies a background color for the column char = string Specifies the alignment character for text within the cells charoff = string Specifies the offset character that the alignment character is 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 xml:lang = language_type Specifies the language of the comment charoff = string Specifies the offset character that the alignment character is set to valign = bottom | top Specifies the vertical alignment of content within the element width = number Specifies the width of the column group in pixels 573 Appendix B: XHTML Element Reference 59313bapp02.qxd:WroxPro 3/23/08 1:50 PM Page 573 Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. <dir> Deprecated (all) The content of the element is rendered in a directory-style file list. <li> (all) <div> (all) A containing element to hold other elements, defining a section of a page. This is a block-level container. <dl> (all) Denotes a definition list. <dt> (all) Denotes a definition term within a definition list. <em> (all) The element content is emphasized text, and is usually rendered in an italic font. type = bullet Specifies the type of bullet used to display the list type = format Specifies the type of bullet used to display the list item value = number Specifies the number of the list item 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 Specifies the width of the border around the embedded object in pixels height = number Specifies the height of the embedded object in pixels hidden = hidden Specifies that the embedded object should be hidden hspace = number Specifies the amount of additional space to be added to the left and right of the embedded object name = name Specifies a name for the embedded object palette=foreground | background Sets foreground and background colors of the embedded object pluginspage = url Specifies the URL of the page where the plug-in associated with the object can be downloaded src = url Specifies the URL of the data to be used by the object type = MIME_type Specifies the MIME type of the data used by the object units = en | ems | pixels Sets units for height and width attributes vpsace = number Specifies the amount of additional space to be added above and below the embedded object width = number Specifies the width of the embedded object in pixels 575 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> | _parent | _blank | _top | _self Defines the name of the frame or window that should load the results of the form color = color Specifies the color of text in this element face = font_family_list Specifies the family of font to be used for the text in this element size = value Specifies the size of the text used in this element 576 Appendix B: XHTML Element Reference 59313bapp02.qxd:WroxPro 3/23/08 1:50 PM Page 576 Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. <noframes> (all) The content of this element should be displayed if the browser does not support frames. <frameset> (all) Specifies a frameset containing multiple frames (and possibly other nested framesets). This element replaces the <body> element in a document. Continued border = number Specifies the width of the borders for each frame in the frameset bordercolor = color Specifies the color of the borders for frames in the frameset cols = list Specifies the number of columns in the frameset allowing you to control layout of the frameset class = 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 browser. Supports only the attributes listed in the table that follows. <hn> (all) Headings from <h1> (largest) through <h6> (smallest). align = left | center | right Specifies the horizontal alignment of the header within its containing element class = classname Specifies a class to associate style rules with this element dir = ltr | rtl Specifies the direction of text within this element Id = string Specifies a unique identifier for this element lang = language_type Specifies the language used in this element profile = url Specifies a URL for a profile of the document xml:lang = language_type Specifies the language used in this element frameborder = no | yes|0|1 Specifies whether borders will be present for the frames in this frameset framespacing = number Specifies the space between each frame in pixels onblur = script Specifies a script to run when the mouse moves off the frameset 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 The intrinsic events supported by most elements align = center | left | right Specifies the horizontal alignment of the rule class = classname Specifies a class for the element to associate it with rules in a style sheet color = color Specifies the color of the horizontal rule dir = ltr | rtl Specifies the direction of the text id = string Specifies a unique identifier for this element noshade = noshade Specifies that there should not be a 3D shading on the rule style = string Specifies inline CSS style rules for the element title = string Specifies a title for the element width = number Specifies the width of the rule in pixels or as a percentage of the containing element 579 Appendix B: XHTML Element Reference 59313bapp02.qxd:WroxPro 3/23/08 1:50 PM Page 579 Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. <i> (all) The content of this element should be rendered in an italic font. <iframe> (IE3+, N6+, FF1+) Creates an inline floating frame within a page. <img> (all) 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 xmlns = uri Specifies namespaces used in XHTML documents xml:lang = language_type Specifies the language used in this element 580 Appendix B: XHTML Element Reference 59313bapp02.qxd:WroxPro 3/23/08 1:50 PM Page 580 Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. [...]... item (IE3+, N6+, FF1+) The content of this element is a programming variable, and is usually rendered in a small fixed-width font (IE3, N2, N3, N4) Creates a soft line break within a element Deprecated (all) The content of this element is rendered in a fixed-width typeface, for example or sample code Replaced by and elements 606 Please purchase PDF Split-Merge on... opposed to block-level elements); also allows for the definition of non-standard attributes for text on a page Deprecated (all) The content of this element should be rendered in strikethrough (all) The content of this element has strong emphasis and should be rendered in a bold typeface (IE3+, N4+, FF1+) Contains CSS style rules that apply to that page (all) The content of... object has shaped hyperlinks standby = string Defines a message to display while the object is loading tabindex = number Defines this element’s position in the tabbing order type = MIME type Specifies the MIME type for the object’s data usemap = url Defines an image map for use with the object vspace = number Specifies the amount of additional space to be added above and below the embedded object width... referring to encryption keys for security Takes only the attributes listed in the table that follows 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 (IE4+, N6+, FF1+)... that kind of list (, , ) type = bullet_type Specifies the type of bullet used to display the list items value = number Specifies the number the list will start with (all) Defines a link between the document and another resource Often used to include style sheets in documents Takes only the attributes listed in the table that follows charset = character_set Specifies a character... of additional space to be added to the left and right of the marquee id = string Specifies a unique identifier for this element loop = number Specifies the number of times the marquee loops or can have the keyword infinite scrollamount = number Specifies the number of pixels moved each time the text scrolls scrolldelay = number Specifies the delay in milliseconds between each movement of the scroll... additional space to be added above and below the marquee width = number Specifies the width of the marquee in pixels 592 Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark 59313bapp02.qxd:WroxPro 3/23/08 1:51 PM Page 593 Appendix B: XHTML Element Reference Deprecated (all) Renders the child elements as individual items Replaced by lists ( and ) Deprecated in HTML... the document content= meta_content Specifies the value for the meta-information dir = ltr | rtl Specifies the direction of the text within the element http-equiv = string Specifies the HTTP equivalent name for the meta-information; causes the server to include the name and content in the HTTP header lang = language_type Specifies the language used in this element name = string Specifies the name of... MIME-type Specifies the MIME type of the code base data = url Specifies the data for the object declare Declares an object without instantiating it height = number Specifies the height of the object in pixels hspace = number Specifies the amount of additional space to be added to the left and right of the embedded object name = name Specifies a name for the object notab = notab Specifies that this element... Specifies the map containing coordinates and links that define the links for the image (server-side image map) Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark Continued 581 59313bapp02.qxd:WroxPro 3/23/08 1:51 PM Page 582 Appendix B: XHTML Element Reference vspace = number Specifies the amount of additional space to be added above and below the image width = name Specifies . 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. 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>

Ngày đăng: 24/12/2013, 07:17

Từ khóa liên quan

Tài liệu cùng người dùng

Tài liệu liên quan