|
|
|
| |
HTML tag references / keywords - helpful for web designing / development
!DOCTYPE This is the necessary first element of any HTML 3.2 compliant document
@FONT-FACE Specifies a font to embed into your HTML document
@IMPORT Specifies a style sheet to import
A This element is what the hyperlinked structure of the World Wide Web is based on
ACCESSKEY Specifies an accelerator key that can be applied to element
ACRONYM Identifies that some text is an acronym
ACTION Specifies the address to be used to carry out the action of the form
ACTIVE Sets the style of anchor (A) elements when the link is engaged or "active"
ADDRESS Encloses the signature file of the author of the page
ALIGN Specifies how the element is aligned with adjacent text
ALINK Sets the color for the active link
ALT Indicates optional text as an alternative to the graphic for rendering in nongraphical environments
APPLET Inserts a Java applet in the HTML document
AREA Specifies the shape and size of a hot spot to be used in the definition of a client-side image map
B Boldfaces the enclosed text
BACKGROUND Sets all background attributes (image, attachment, color, repeat, position) for an element at once
BACKGROUND-ATTACHMENT Determines if the background image is fixed with regard to the content or if it scrolls with the content
BACKGROUND-COLOR Sets the background color of an element
BACKGROUND-IMAGE Sets the background image of an element
BACKGROUND-POSITION Specifies the initial position of the background image for the element
BACKGROUND-REPEAT Determines how the background image of an element is repeated
BASE Specifies the base target frame that all links will default to
BASEFONT Sets the default font properties for the entire page
BGCOLOR Sets the background color of the page
BGPROPERTIES Specifies whether the picture is a fixed watermark or scrolls with the page
BGSOUND Specifies a background sound to be played whenever the page is loaded
BIG Makes the enclosed text one size larger
BLOCKQUOTE Encloses a long quote. Both the left and right margins are indented
BODY Encloses the main body of the document
BORDER Specifies the width, color, and style of a border to be drawn around the element
BORDER-BOTTOM Specifies the bottom border
BORDER-BOTTOM-COLOR Sets the color of an element's bottom border
BORDER-BOTTOM-STYLE Sets the style of an element's bottom border
BORDER-BOTTOM-WIDTH Sets the width of an element's bottom border
BORDER-COLOR Sets the color of the four borders
BORDER-LEFT Sets the left border
BORDER-LEFT-COLOR Sets the color of an element's left border
BORDER-LEFT-STYLE Sets the style of an element's left border
BORDER-LEFT-WIDTH Sets the width of an element's left border
BORDER-RIGHT Sets the right border
BORDER-RIGHT-COLOR Sets the color of an element's right border
BORDER-RIGHT-STYLE Sets the style of an element's right border
BORDER-RIGHT-WIDTH Sets the width of an element's right border
BORDER-STYLE Sets the style of the borders
BORDER-TOP Describes the top border
BORDER-TOP-COLOR Sets the color of an element's top border
BORDER-TOP-STYLE Sets the style of an element's top border
BORDER-TOP-WIDTH Sets the width of an element's top border
BORDER-WIDTH Sets the width of the four borders at the same place in the style sheet
BOTTOMMARGIN Specifies the bottom margin for the entire body of the page and overrides the default margin
BR Inserts a line break
BUTTON This attribute creates a button that the user can push
CAPTION Specifies the caption of the table
CELLPADDING Specifies the amount of space between the border of the cell and the content of the cell
CELLSPACING Specifies the amount of space between cells in a table
CENTER Centers the enclosed elements
CHARSET Sets the character set of the document
CHECKED Specifies the given check box or radio button defaultly selected
CITE Encloses a citation such as the title of a book or paper
CLASS Specifies the class of the tag being defined. This is used to associate a sub-classed style sheet with the tag
CLASSID Specifies the class identifier for the object
CLEAR Inserts vertical space so that the next text displayed will be below left-aligned or right-aligned floating images
CODE Encloses a sample of code. The text is rendered in small font
CODEBASE Specifies a URL referencing where to find the implementation of the object
CODETYPE Specifies the Internet media type for the code associated with the object
COLGROUP Specifies the properties of one or more columns
COLOR Sets the color to be used by the font or horizontal rule
COLS Specifies how many characters wide the text area is
COLSPAN Specifies how many columns in the TABLE this cell should span
COL Used with the COLGROUP tag, this specifies the properties of one column
COMMENT Encloses a comment. Text inside the tags is ignored unless it contains HTML code
COMPACT Specifies that the list should be compacted to remove extra space between list elements
CONTENT Specifies meta-information to be associated with the given name or HTTP response header
COORDS Specifies coordinates that define the hot spot's shape
CURSOR Sets the the type of cursor to display for the mouse pointer
DATA Specifies a URL that references the object's data
DD The description of a term in a definition list
DEFER Indicates whether the script contains an inline executable function
DEL This can be used to show if text has been replaced what the original text was
DFN Encloses a definition. Text inside the tags is formatted to look like a definition
DIR Puts the enclosed items marked with , in a directory listing
DISABLED Disables a control
DISPLAY Indicates whether an element is rendered
DIV Specifies the alignment of the enclosed elements
DL Creates a definition list. Within this container
DT The term described in a definition list
EM Put emphasis on the enclosed text
EMBED Inserts an embedded multimedia object
FACE Sets the current font's typeface
FIELDSET Group a set of related controls in a form together
FILTER Sets the filter or collection of filters applied to the element
FLOAT Specifies whether the object floats, causing text to flow around it
FONT Change the font which is used to draw the text
FONT-FAMILY Specifies the typeface name of the font used for text in the element
FONT-SIZE Specifies the size of the font to be used when rendering the text displayed by an element
FONT-STYLE Sets the font style
FONT-VARIANT Sets the font variation to small-caps in the current font family
FONT-WEIGHT Sets the weight (boldness) of the text
FORM Create a form inside a document
FRAME Defines a single frame within a frameset
FRAMEBORDER Specifies whether or not to display a border for the frame
FRAMESET Defines a set of frames that will make up the page
H1 It is used to create a level of header
H2 It is used to create a level of header
H3 It is used to create a level of header
H4 It is used to create a level of header
H5 It is used to create a level of header
H6 It is used to create a level of header
HEAD Encloses the head of the document. The following optional tags are placed inside the head
HEIGHT Along with WIDTH, specifies the size at which the element is drawn
HOVER Sets the style of the anchor (A) elements when the user's mouse hovers over the link
HR Draw a horizontal rule
HREF Specifies the destination URL or anchor point
HSPACE Specifies the horizontal margin for the element
HTML Encloses the entire document
HTTP-EQUIV Supplies information that can also be provided through HTTP response headers
I Change the text to italic
ID Specifies a string identifying the object
IFRAME Defines a floating frame
IMG Places an inline image into the document
INPUT Specifies a control or input area for a form
INS It is used to indicate text that has been inserted
ISINDEX Displays a text box indicating the presence of a searchable index
ISMAP Identifies the picture as a server-side image map
KBD This is used to identify text that a user is supposed to enter
LABEL Attach information to a specific field of a form
LANG Specifies the language to use
LANGUAGE Specifies the language the current script is written in and invokes the proper scripting engine
LEFT Sets the position of the element relative to the left edge of the document
LEFTMARGIN Specifies the left margin for the entire body of the page and overrides the default margin
LEGEND Give the caption for a group of related controls, created with the <#FIELDSET> element
LETTER-SPACING Sets or retrieves the amount of additional space between letters in the element
LI Identifies an item in a list
LINE-HEIGHT Specifies how far apart the lines in a paragraph are
LINK The LINK element provides a way to link the current document to other related resources
LISTING This is used to show a program listing
LIST-STYLE Sets three properties (list-style-type, list-style-image, and list-style-position) at once
LIST-STYLE-IMAGE Specifies an image to use as a list item marker
LIST-STYLE-POSITION Determines how the list item marker is drawn with regard to the content
LIST-STYLE-TYPE Specifies a predefined list item marker
MAP Specifies a collection of hot spots that define a client-side image map
MARGIN Sets the margin on all four sides of an object with a single style sheet rule
MARGIN-BOTTOM Specifies the bottom margin for the element
MARGINHEIGHT Sets the top and bottom margins to the appropriate height before displaying the text in a frame
MARGIN-LEFT Specifies the left margin for the element
MARGIN-RIGHT Specifies the right margin for the element
MARGIN-TOP Specifies the top margin for the element
MARGINWIDTH Sets or retrieves the amount the left and right margin should be set to before displaying the text in a frame
MARQUEE Places a scrolling text marquee into the document
MAXLENGTH Indicates the maximum number of characters that can be entered into a text control
MEDIA Sets the media type through the STYLE and LINK elements
MENU Puts the enclosed items marked with , in a menu list
META This element supplies meta-information about the current document
METHOD Indicates how the form data should be sent to the servereither as GET or POST
MULTIPLE Indicates that multiple items in the list can be selected
NAME Specifies the name of a window or the frame so it can be targeted from links in other documents
NOBR Causes the enclosed text to not wrap to fit the screen
NOFRAMES This tag is used to create pages that are compatible with older browsers that do not support frames
NOHREF Encloses anything you want displayed by browsers that do not support inline scripts
NORESIZE Specifies whether the user can resize the frame
NOSCRIPT Specifies HTML to be displayed in browsers that do not support scripting
NOSHADE Draws the horizontal rule without 3-D shading
NOWRAP Prevents the browser from automatically performing word wrap
OBJECT The object element allows the author to embed an object into the document
OL Puts the enclosed items marked with , in a numbered list
ONBLUR Fires when an object, such as a button or check box, loses the input focus
ONCHANGE Fires when the contents of the object have changed
ONCLICK Fires when the user presses and releases the left mouse button, or when the user presses keys, such as ENTER and ESC, in a form
ONDBLCLICK Fires when the user clicks twice over an object
ONFOCUS Fires when a control receives the focus
ONKEYDOWN Fires when the user presses a key
ONKEYPRESS Fires when a user presses a key
ONKEYUP Fires when the user releases a key
ONLOAD Fires immediately after the browser loads the given object
ONMOUSEDOWN Fires when the user presses a button on a pointer device, such as the mouse
ONMOUSEMOVE Fires when the user moves the mouse
ONMOUSEOUT Fires when the user moves the mouse pointer out of an element
ONMOUSEOVER Fires when the user moves the mouse pointer into an element
ONMOUSEUP Fires when the user releases a mouse button
ONRESET Fires when a user resets a form (clicks a Reset button)
ONSELECT Fires when the current selection changes
ONSUBMIT Fires when a form is about to be submitted
ONUNLOAD Fires immediately prior to the page being unloaded
OPTION Specifies an item in the drop down list
OVERFLOW Determines what to do when the element's content exceeds the height and width of the element
P Designates the enclosed text as a plain paragraph
PADDING Padding describes how much space to insert between the element and its margin, or if there is a border, between the element and its border
PADDING-BOTTOM Sets the bottom padding of an element
PADDING-LEFT Sets the left padding of an element
PADDING-RIGHT Sets the right padding of an element
PADDING-TOP Sets the top padding of an element
PAGE-BREAK-AFTER Indicates where to set a page break and on which page (left or right) the subsequent content should resume
PAGE-BREAK-BEFORE Indicates where to set a page break and on which page (left or right) the subsequent content should resume
PARAM This element is for supplying parameters to a JAVA applet or another object
PLAINTEXT All HTML elements inside this container are ignored by the browser, and shown as they were only text
POSITION Specifies the type of positioning for an element
PRE This element allows you to show preformatted text as it is, using the supplied whitespace of the text
Q This is used to enclose short quotations from other works in the page
READONLY Causes the element's contents to be read-only
REL Specifies the relationship(s) described by the hypertext link from the anchor to the target
REV Same as the rel property, but the semantics of the link type are in the reverse direction
RIGHTMARGIN Specifies the right margin for the entire body of the page
ROWS Specifies the number of rows tall the text area control should be
ROWSPAN Specifies how many rows in a TABLE this cell should span
RULES Specifies which dividing lines are displayed (inside borders)
S Render text as strikethrough
SAMP This element describes text that is output from a program
SCRIPT Encloses scripting language statements to be executed by the browser
SCROLLING Specifies that the frame can be scrolled
SELECT This element lets you create a listbox as an input field on a form
SELECTED Indicates that this item is the default
SHAPE Specifies the type of shape used in the image map
SIZE Specifies the size of the control
SMALL Draw the text using a smaller font than the one that is use for normal text
SPAN This element is used to create a structure in a document
SRC Specifies a URL for the associated file
START Specifies the starting number for a list
STRIKE Render text as strikethrough
STRONG Render the text with strong emphasis
STYLE This element is a container for style sheet elements to use with this document
SUB This is a container for text that should be displayed as a subscript, and, if practical, using a smaller font
SUP Display the text as a superscript
TABINDEX Sets the tab index for the object
TABLE Tables can be used to organise data into rows and columns and also increasingly as a way of arranging text and graphics on the page
TARGET Specifies the window or frame at which to target the contents
TBODY This element defines the body part of a table
TD The container for a cell in a table
TEXT-ALIGN Describes how text is aligned within the element
TEXTAREA Define a multiline text field in a form
TEXT-DECORATION Describes decorations that are added to the text of an element
TEXT-INDENT Specifies the indent that appears before the first formatted line
TEXT-TRANSFORM Changes the rendering of text
TFOOT This element defines the footer of a table
TH This element describes cells of a table in which header information is presented
THEAD This element defines the header of a table
TITLE Specify the title of the HTML document
TOP Sets the position of the element relative to the top of the document
TOPMARGIN Specifies the margin for the top of the page
TR Define a row inside a table
TT Render the text as teletype or monospaced text
TYPE Specifies the MIME type for the associated scripting engine
U Change the text to underlined
UL Create an unordered list of items
USEMAP Identifies a URL, often with a bookmark extension (#name), to use as a client-side image map
VALIGN Specifies whether the caption appears at the top or bottom
VALUE
VAR Used to describe a metasyntactic variable, where the user is to replace the variable with a specific instance
VERTICAL-ALIGN
VISIBILITY Indicates whether the content of a positioned element is displayed
VISITED Sets the style of anchor (A) elements for previously visited links
VLINK Sets the color of links that have already been visited
VSPACE Specifies vertical margins for the element
WBR The WBR element stands for word break
WIDTH Along with HEIGHT, sets the initial size of the element
XMP Causes enclosed text to be displayed by the browser without processing most HTML tags
Z-INDEX Specifies the stacking order of positioned elements
Sources :
DEVFYI - Developer Resource - FYI
TechGuider - techguider from 1asphost
Click here to get Interview's Topic Index
|
|