Attribute Description DATAFLD Sets the field of a given data source to bind to this element DATASRC Sets the source of the data for binding DIR Sets the reading order of this element DIS
Trang 1Sets the ID of the element Sets the language of the element Sets the client-side scripting language this element should use Sets the amount of margin on the left of the page
Sets the color of links in the page Sets the amount of margin on the right of the page Sets whether the scroll bars are turned on or off Sets style-sheet-specific information for this element Sets the color that body text should be
Sets the amount of margin on the top of the document Sets the color of visited links
BR
Inserts a line break in the page
BR Attributes
Attribute Description
CLASS Sets the style sheet class this element should use
CLEAR Sets the side where the next line of content will appear after the line break, relative to a
floating object
ID Sets the ID of the element
STYLE Sets style-sheet-specific information for this element
BUTTON
Renders an HTML button with the specified text
BUTTON Attributes
Attribute Description
ACCESSKEY Sets the accessibility key for this element
CLASS Sets the style sheet class this element should use
Trang 2Attribute Description
DATAFLD Sets the field of a given data source to bind to this element
DATASRC Sets the source of the data for binding
DIR Sets the reading order of this element
DISABLED Sets the status of the element
ID Sets the ID of the element
LANG Sets the language for this element
LANGUAGE Sets the client-side scripting language that this element should use
NAME Sets the name of the element
STYLE Sets style-sheet-specific information for this element
TABINDEX Sets the tab order of this element
TITLE Sets a Tool Tip for this element
TYPE Specifies the type of button this element is
VALUE Sets the default selected value of this element
CAPTION
Specifies a caption to be placed next to a table
CAPTION Attributes
Attribute Description
ALIGN Sets the position of the element relative to the table
CLASS Sets the style sheet class this element should use
ID Sets the ID of the element
STYLE Sets style-sheet-specific information for this element
CITE
Renders text in italics
CITE Attributes
Attribute Description
CLASS Sets the style sheet class this element should use
ID Sets the ID of the element
STYLE Sets style-sheet-specific information for this element
CODE
Renders text as a code sample using a fixed-width font
CODE Attributes
Attribute Description
CLASS Sets the style sheet class this element should use
ID Sets the ID of the element
STYLE Sets style-sheet-specific information for this element
Trang 3ID Sets the ID of the element
SPAN Sets the number of columns in the group
STYLE Sets style-sheet-specific information for this element VALIGN Sets the vertical alignment of the element
WIDTH Sets the width of the element
ID Sets the ID of the element
SPAN Sets the number of columns in the group
STYLE Sets style-sheet-specific information for this element VALIGN Sets the vertical alignment of the element
WIDTH Sets the default width for each column in the group
DD
This specifies the definition of an item in a definition list
DD Attributes
Attribute Description
CLASS Sets the style sheet class this element should use
ID Sets the ID of the element
STYLE Sets style-sheet-specific information for this element
Trang 4DFN
Defines an instance of a term
DFN Attributes
Attribute Description
CLASS Sets the style sheet class this element should use
ID Sets the ID of the element
STYLE Sets style-sheet-specific information for this element
DIR
Renders text so it appears like a directory listing
DIR Attributes
Attribute Description
CLASS Sets the style sheet class this element should use
COMPACT Sets a Boolean value specifying whether the list should be compacted by removing white space
between the items
ID Sets the ID of the element
STYLE Sets style-sheet-specific information for this element
Sets the ID of the element Sets the language of the element Sets the client-side scripting language this element should use Sets the browser to not automatically wrap text
Sets style-sheet-specific information for this element Sets the tab order for this element
Sets a Tool Tip for this element
Trang 5DL
Starts a definition list
DL Attributes
Attribute Description
CLASS Sets the style sheet class this element should use
COMPACT Sets a Boolean value specifying whether the list should be compacted by removing white space
between the items
ID Sets the ID of the element
STYLE Sets style-sheet-specific information for this element
DT
Starts a definition term in a definition list
DT Attributes
Attribute Description
CLASS Sets the style sheet class this element should use
ID Sets the ID of the element
STYLE Sets style-sheet-specific information for this element
EM
Renders text as emphasized; basically just bolds the text
EM Attributes
Attribute Description
CLASS Sets the style sheet class this element should use
ID Sets the ID of the element
STYLE Sets style-sheet-specific information for this element
EMBED
Embeds a document of any type into the page
EMBED Attributes
Attribute Description
ALIGN Sets the horizontal alignment of the element
ALT Sets the alternate text for the element
BORDER Sets the amount of border the element will have
CLASS Sets the style sheet class this element should use
HEIGHT Sets the height of the element
Trang 6Attribute Description
ID Sets the ID of the element
NAME Sets the name of the element
PLUGINSPAGE Retrieves a URL of the plug-in to be used to view the embedded document
SRC Sets a URL to be loaded
STYLE Sets style-sheet-specific information for this element
TITLE Sets a Tool Tip for this element
WIDTH Sets the width of the element
FIELDSET
Draws a box around the contained elements
FIELDSET Attributes
Attribute Description
ALIGN Sets the horizontal alignment of the element
CLASS Sets the style sheet class this element should use
ID Sets the ID of the element
STYLE Sets style-sheet-specific information for this element
FONT
Allows you to specify a font face, size, and color for a section of text
FONT Attributes
Attribute Description
CLASS Sets the style sheet class this element should use
COLOR Sets the color of the text for this element
FACE Sets the font for this element
ID Sets the ID for the element
SIZE Sets the size of the font for this element
STYLE Sets style-sheet-specific information for this element
FORM
Creates a form that can contain controls and elements whose values are sent to the server
FORM Attributes
Attribute Description
ACTION Specifies the URL for processing
CLASS Sets the style sheet class this element should use
ENCTYPE Sets the encoding type of the form
ID Sets the ID for the element
Trang 7Attribute Description
METHOD Sets how the form will transfer its data to the server
NAME Sets the name of the element
STYLE Sets style-sheet-specific information for this element
FRAME
Specifies a individual frame within a frameset
FRAME Attributes
Attribute Description
ALIGN Sets the horizontal alignment of the element
BORDERCOLOR Sets the border color of the element
CLASS Sets the style sheet class this element should use
DATAFLD Sets the field of a given data source to bind to this element
DATASRC Sets the source of the data for binding for this element
FRAMEBORDER Sets whether or not the element will have a border
HEIGHT Sets the height of the element
ID Sets the ID of the element
MARGINHEIGHT Sets the height of the margin
MARGINWIDTH Sets the width of the margin
NAME Sets the name of the element
NORESIZE Sets the frame at a fixed width so the user can not resize the frame SCROLLING Sets whether the frame will allow scrolling or not
SRC Sets a URL to be loaded by the element
STYLE Sets style-sheet-specific information for this element
FRAMESET
Specifies a frameset that can contain multiple frames and other nested framesets
FRAMESET Attributes
Attribute Description
BORDER Sets the amount of border for the frameset to have
BORDERCOLOR Sets the border color for this element
CLASS Sets the style sheet class this element should use
COLS Sets the widths of the columns in the frameset
FRAMEBORDER Sets whether or not to display a border
FRAMESPACING Sets the amount of space between frames
ID Sets the ID of the element
ROWS Sets the height of the rows in the frameset
STYLE Sets style-sheet-specific information for this element
Trang 8CLASS Sets the style sheet class this element should use
ID Sets the ID of the element
PROFILE Sets one or more Uniform Resource Identifiers of meta-data profiles
STYLE Sets style-sheet-specific information for this element
HN
The six headers (H1 – H6) that can render text in a range of sizes
HN Attributes
Attribute Description
ALIGN Sets the horizontal alignment of the element
CLASS Sets the style sheet class this element should use
ID Sets the ID of the element
STYLE Sets style-sheet-specific information for this element
Sets the ID of the element Sets the element to render without 3-D shading Sets the size of the element
Sets style-sheet-specific information for this element
Trang 9CLASS Sets the style sheet class this element should use
STYLE Sets style-sheet-specific information for this element
Sets the horizontal margin for the element Sets the ID for this element
Sets the height of the margin Sets the width of the margin Sets the name of the element Sets the frame at a fixed width so the user can not resize the frame Sets whether the frame will allow scrolling or not
Sets a URL to be loaded by the element Sets style-sheet-specific information for this element Sets the vertical margin for the element
Sets the width of the element
Trang 10Sets the height of the element Sets the name of the element Sets the URL to be loaded by the element Sets what image map to use
Sets the width of the element
INPUT
Specifies an input control for a form The input control could be a button, check box,
radio button, text box, or password box
Sets the ID of the element Sets the maximum number of characters accepted for this element Sets the name of the element
Specifies that the element is read only Sets the size of the element
Sets style-sheet-specific information for this element Sets the tabbing order for this element
Sets the type of input this element will be Sets the initial value for the element
Trang 11CLASS Sets the style sheet class this element should use
ID Sets the ID of the element
STYLE Sets style-sheet-specific information for this element
Sets style-sheet-specific information for this element
Specifies an item in an ordered or unordered list
LI Attributes
Attribute Description
CLASS Sets the style sheet class this element should use
ID Sets the ID for the element
STYLE Sets style-sheet-specific information for this element
LINK
Specifies a hyperlink to another document This is used in the heading of the HTML document
LINK Attributes
Attribute Description
CLASS Sets the style sheet class that this element should use
HREF Specifies the base URL to go to
ID Sets the ID for the element
STYLE Sets style-sheet-specific information for this element
Trang 12MAP
Defines the collection of hot spots for an image map
MAP Attributes
Attribute Description
CLASS Sets the style sheet class that this element should use
ID Sets the ID of the element
STYLE Sets style-sheet-specific information for this element
NAME Sets the name of the image map defined by the map element
Sets the height of the element Sets the ID of the element Sets the number of times the element should play Sets the amount of characters the element should scroll by Sets the amount of delay before scrolling starts
Sets style-sheet-specific information for this element Sets the width of the element
META
Provides various types of information to search engines and other interpreters This
ele-ment goes in the heading of the HTML docuele-ment
META Attributes
Attribute Description
CONTENT Sets the meta content
HTTP-EQUIV Sets information to be used to bind the content to the HTTP headers
NAME Sets the name of the value specified in the content
Trang 13NOFRAMES
Specifies the section of text to display for browsers that do not support framesets
NOFRAMES Attributes
Attribute Description
CLASS Sets the style sheet class that this element should use
ID Sets the ID of the element
STYLE Sets style-sheet-specific information for this element
Sets a URL for the location of the compiled class Sets the URL of the component for this element Sets the internet media type for this element Sets the height of this element
Sets the name for this element Sets style-sheet-specific information for this element Sets the width of this element
OL
Creates an ordered list wherein each item is numbered with the LI tag
OL Attributes
Attribute Description
CLASS Sets the style sheet class this element should use
ID Sets the ID of the element
START Sets a starting number for the element
STYLE Sets style-sheet-specific information for this element
TYPE Sets the type of ordered list this should be
Trang 14P
Specifies a paragraph of text Even though the ending tag is optional I recommend always
putting it in for completeness
P Attributes
Attribute Description
ALIGN Sets the horizontal alignment of the element
CLASS Sets the style sheet class this element should use
ID Sets the ID of the element
STYLE Sets style-sheet-specific information for this element
PARAM
Specifies a parameter or a property in an OBJECT or an APPLET
PARAM Attributes
Attribute Description
ID Sets the ID of the element
NAME Sets the name of the element
TYPE Sets the type of the element
VALUE Sets the value of the element
VALUETYPE Sets the type of the value specified
Trang 15PRE
Renders text in a fixed-width font
PRE Attributes
Attribute Description
CLASS Sets the style sheet class this element should use
ID Sets the ID of the element
STYLE Sets style-sheet-specific information for this element
SAMP
Renders text in a smaller font for use as a code sample listing
SAMP Attributes
Attribute Description
CLASS Sets the style sheet class this element should use
ID Sets the ID of the element
STYLE Sets style-sheet-specific information for this element
CLASS Sets the style sheet class this element should use
ID Sets the ID of the element
SRC Specifies a URL pointing to a scripting file
TYPE Sets the language for the script block
SELECT
Creates a list box or a drop-down list in a form
SELECT Attributes
Attribute Description
ALIGN Sets the horizontal alignment of the element
CLASS Sets the style sheet class this element should use
DATAFLD Sets the field of a given data source to bind to this element
DATASRC Sets the source of the data for binding for this element
Trang 16Attribute Description
MULTIPLE Sets whether you can select multiple items in the element
NAME Sets the name of the element
SIZE Sets the number of items to show at one time in the element
STYLE Sets style-sheet-specific information for this element
TABINDEX Sets the tab order of this element
CLASS Sets the style sheet class this element should use
ID Sets the ID of the element
STYLE Sets style-sheet-specific information for this element
Sets style-sheet-specific information for this element
STRONG
Renders a section of text in a bold-faced font
STRONG Attributes
Attribute Description
CLASS Sets the style sheet class this element should use
ID Sets the ID of the element
STYLE Sets style-sheet-specific information for this element
Trang 17SUB
Renders text in subscript, using a smaller font than the current font specified
SUB Attributes
Attribute Description
CLASS Sets the style sheet class this element should use
ID Sets the ID of the element
STYLE Sets style-sheet-specific information for this element
SUP
Renders text in superscript, using a smaller font than the current font specified
SUP Attributes
Attribute Description
CLASS Sets the style sheet class this element should use
ID Sets the ID of the element
STYLE Sets style-sheet-specific information for this element
Sets the color of the dark part of the border Sets the color of the light part of the border Sets the amount of padding between the content and the border of the cell Sets the amount of spacing between the cells
Sets the style sheet class this element should use Sets the way the border frame around the table should display Sets the height of the element
Sets the ID of the element Sets style-sheet-specific information for this element Sets the width of the element
Trang 18Sets the color of the dark part of the border Sets the color of the light part of the border Sets the style sheet class this element should use Sets the amount of cells this cell should span Sets the height of the element
Sets the ID of the element Sets the browser to not automatically wrap text Sets the amount of rows this cell should span Sets style-sheet-specific information for this element Sets the vertical alignment of this element
Sets the width of this element
Sets the name of the element Sets the text area to read-only Sets the number of rows in characters the text area should have Sets style-sheet-specific information for this element
Sets the tab order of the element Sets how the text should wrap
Trang 19Sets the color of the dark part of the border Sets the color of the light part of the border Sets the style sheet class this element should use Sets the amount of cells this cell should span Sets the height of the element
Sets the ID of the element Sets the browser to not automatically wrap text Sets the amount of rows this cell should span Sets style-sheet-specific information for this element Sets the vertical alignment of this element
Sets the width of this element
Sets the color of the dark part of the border Sets the color of the light part of the border Sets the style sheet class this element should use Sets the height of the element
Sets the ID of the element Sets style-sheet-specific information for this element Sets the vertical alignment of this element
Sets the width of this element