Informatin you need on high tech

 

 

Social network Login

Login either using your Facebook, Google or Twitter account or using your site UserName and Password.

     

Today's Markets

Today's Oil

Crude Oil


$ and Chinese Markets

Visitor counter, Heat Map, Conversion tracking, Search Rank

Advertisement

Latest Comments

  • How to create an article in Joomla from the front-end

    Addie 2014.Jul.11
    This article will help the internet users for building up new webpage or even a blog from start to ...

    Read more...

     
  • What Hosting Companies Don't Tell You, Could Hurt You? Part 1 - Unlimited Space and Bandwidth

    Chris Bao 2013.Oct.07
    Web Hosting Companies could really trap you with marketing advertisements. So you have to be careful ...

    Read more...

     
  • How to create an article in Joomla from the front-end

    James Franklyn 2013.May.07
    Nice tutorial regards Tampa SEO

    Read more...

Our sponsors

Visitors Online

Today 12

Currently are 63 guests and no members online

Powered by Spearhead Software Labs Joomla Facebook Like Button

HTML Quick References

User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active
 
Custom Search
affiliate_link

Welcome to the Technology Source HTML Quick Reference guide. This is a handy reference source that defines and explains all of the HTML version 4.01 tags and their associated attributes that most browsers support. It's not a comprehensive reference, it's just a cheat-sheet-like reference to the more commonly-used tags and attributes. Also, this reference assumes you already know what HTML is and how to write HTML. This is not a tutorial for HTML beginners but a quick guide when you need answers immediately.

HTML Tags

Document tags
<!doctype>  
The <!doctype> is the very first thing in your document, before the <html> tag. This tag tells the browser what version of HTML or XHTML the document uses. HTML 4.01 specifies three document type declarations (DTD): Strict, Transitional, and Frameset.
HTML Strict DTD Use this when you want clean markup, free of presentational clutter. It includes all HTML elements except those that have been deprecated, and those that appear in frameset documents. Use this together with Cascading Style Sheets (CSS). Example:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
HTML Transitional DTD This document type includes all HTML elements including those that have been deprecated.. Use this when you need to use HTML's presentational features because your readers don't have browsers that support Cascading Style Sheets (CSS). Example:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
Frameset DTD It should be used for documents with frames. The Frameset DTD is equal to the Transitional DTD except for the frameset element replaces the body element. Example:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
Basic tags
<!-- ... --> This tag is compatible to all browsers.
Allows you to place comments which can help you document your HTML code and make it more maintainable. The browser ignores all text between <!-- and -->.
<comment> </comment> IE only
Indicates a comment, which is ignored by the web browser. Comments will be visible in all other browsers. Better to use <!-- --> as this tag has been declared "obsolete".
<html> </html> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
Creates an HTML document and marks the beginning and end of an entire HTML document. All other HTML tags are nested between <html> and </html> tags except that <!DOCTYPE ...> goes just before <html> tag.
Attributes:   dir, id, lang See"HTML Common Attributes".
  scroll=true(default), no, and auto Controls whether to show the scroll bars. It is a Boolean attribute. auto means that scroll bars are shown when the page content exceeds the visible area.
  version=string Indicates the HTML version used to create this document.
  xmlns="http://www.w3.org/1999/xhtml" Specifies the xml namespace for a document. The xmlns attribute is required in XHTML but it is invalid in HTML!
Events:   onLayoutComplete, onMouseEnter,
  onMouseLeave, onReadyStateChange
See"Event Handlers for HTML Elements".
<body> </body> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
This element defines all text and images that make up the page and all items that provide control and formatting for the page.
Attributes: alink= Defines the color of the active link. Default is red.
background, bgcolor, class, style See"HTML Common Attributes".
bgproperties=fixed IE. only Makes the background image a watermark that does not scroll as a normal background image does.
leftmargin="pixels" IE. only Indents the left margin of the document the specified number of pixels. Internet Explorer only. .
link=color name or hex value: #RRGGBB Sets the color of links, using name or hex value.
text=color name or hex value: #RRGGBB Sets the text color, using name or hex value.
topmargin="pixels" IE. only Indents the top margin of the document the specified number of pixels.
vlink=color name or hex value: #RRGGBB Sets the color of followed links, using name or hex value.
Events: onblur, onfocus, onload, onunload See"Event Handlers for HTML Elements".
Header tags
<base> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
It is used to specify a base URI, or URL, for relative links, then all subsequent relative links will use that URL as a starting point.
Attributes:   href, id, target See"HTML Common Attributes".
Events:    There are no events defined for this tag.
<basefont> IE. only.
Specify the default font for the document. The basefont element was deprecated in HTML 4.01, and is not supported in XHTML 1.0 Strict DTD. You should use CSS font to set font properties instead.
Attributes: color=color name or hex value: #RRGGBB IE. only. Specify the color of the base font.
face= IE. only. Specifies local font family to be used for the base font.
size=n IE. only. Specifies the font size of the text. "n" is a number between 1 (smallest) and 7 (largest) inclusive. The default is 3.
Events:   This tag does not support any event attributes.
<head> </head> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
Sets off the title and other information that isn't displayed on the Web page itself.
Attributes: dir, id, lang See"HTML Common Attributes".
profile=URL Specifies the URI/URL of one or more meta data profiles.
Events: onLayoutComplete, onReadyStateChange See"Event Handlers for HTML Elements".
<meta> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
Defines additional information about the document that isn't defined by other HTML elements. Many search engines use information in the META tags to index your site. Server and client programs can extract this meta information for identification, indexing, and cataloging purposes. Place the <meta> tag between the <head>...</head> tags. Metadata will not be displayed on the page.
Attributes: charset=name Specify the character set to be used with this document..
content=text Defines the content associated with the NAME or HTTP-EQUIV attribute.
http-equiv=content-type, content-style-type, expires, refresh, set-cookie Binds the element to an HTTP response header. If you omit this attribute, the NAME value is considered to be equivalent.
name=author, description, keywords, generator, revised, others Assigns a name to the meta-information, such as Author, Classification, Description, and Keywords. If you omit this attribute, the HTTP-EQUIV value is considered to be equivalent.
scheme=format, URI Sets a scheme to be used to interpret the value of the content attribute.
Events:   This tag does not support any event attributes.
<title> </title>  
This tag is used for indicating the title of the HTML document. The body title is placed between the <head> and the </head> tags. HTML document title is visible via borwser's title bar.
Attributes: class, dir, id, lang, style, title See"HTML Common Attributes".
Events: onLayoutComplete, onReadyStateChange See"Event Handlers for HTML Elements".
Formatting
<blockquote></blockquote> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
It is used for indicating long quotations. It indents text from both sides.
Attributes: class, dir, id, lang, style, title See"HTML Common Attributes".
cite=URL Defines the source of a quotation.
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<br> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
Starts a new line without a blank line. The new line has the same indent as line-wrapped text.
Attributes: class, id, style, title See"HTML Common Attributes".
Events:   This tag does not support any event attributes.
<center> </center> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
Center the enclosed text. The center element was deprecated in HTML 4.01, and is not supported in XHTML 1.0 Strict DTD.
Attributes: class, dir, id, lang, style, title See"HTML Common Attributes".
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<code> </code> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
The text that appears between these tags represents programming code and typically appears in monospaced font.
Attributes: class, dir, id, lang, style, title See"HTML Common Attributes".
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<dd> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
Specify a definition item in a definition list. Definition items typically are indented and formatted paragraph style after the term they define.
Attributes: class, dir, id, lang, style, title See"HTML Common Attributes".
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<dfn> </dfn> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
Format the enclosed text as a definition. Most browsers display the text in italics.
Attributes: class, dir, id, lang, style, title See"HTML Common Attributes".
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<dir> </dir>  
The dir element was deprecated in HTML 4.01, and is not supported in XHTML 1.0 Strict DTD.
<div> </div> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
It is used to group larger chunks of HTML code. Often used to center, left-align, or right-align text. A chunk of text in DIV tags always starts on a new line and is followed by a blank line. For inline styling, use the <SPAN>...</SPAN> tags instead.
Attributes: align, class, dir, id, lang, style, title See"HTML Common Attributes".
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<dl> </dl> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
Creates a definition list.
Attributes: class, dir, id, lang, style, title See"HTML Common Attributes".
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<dt> </dt> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
Specifies a definition term in a definition list. Definition terms typically are formatted flush left and are followed by the indented definition in a paragraph-style format.
Attributes: class, dir, id, lang, style, title See"HTML Common Attributes".
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<li> <li> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
Specifies a single list item in a <DIR> (directory), <MENU> (menu), <OL> (ordered), or <UL> (unordered) list. The appearance of the list item depends on the type of list in which it is located. Use CSS to define the type of list and list item.
Attributes: class, dir, id, lang, style, title See"HTML Common Attributes".
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<marquee> </marquee> IE only.
A non-standard HTML markup element type which causes text to scroll up, down, left or right. Text is displayed, but doesn't move, in other browsers.
Attributes: class, dir, height, hspace, id, lang, loop, style, title, vspace, width See"HTML Common Attributes".
behavior=scroll (default), slide, alternate Specifies how text should scroll.
alternate: The content moves back and forth between the borders.
scroll: The content loops through. This is the default value.
slide: The content moves to the end and stops.
direction=up, down, left (default), right Define the direction the text is to scroll.
scrolldelay=milliseconds Specifies the speed of each redraw in milliseconds.
scrollamount=number Sets the number of pixels the marquee text moves between each redraw.
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<menu> </menu> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
Define a menu list containing <li> tags. The menu element was deprecated in HTML 4.01, and is not supported in XHTML 1.0 Strict DTD. Use CSS to style lists!
Attributes: class, dir, id, lang, style, title See"HTML Common Attributes".
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<multicol> </multicol>  
Define a multi-column text flow and lets you control the size and number of the columns.
Attributes: class, dir, id, lang, style, width See"HTML Common Attributes".
cols=number Specify the number of columns.
gutter=number Specify the spacing between columns in pixels.
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<nobr> </nobr> Netscape Navigator and Internet Explorer only.
No breaks allowed in the enclosed text. Prevents the browser from word-wrapping any of the enclosed text. This feature is useful for character sequences that shouldn't be broken by word wrapping to the next line. Forces the page to be as wide as the line between the tags. To force a break at a specific place in the line, use <WBR>.
Attributes: class, dir, id, lang, style, width See"HTML Common Attributes".
cols=number Specify the number of columns.
gutter=number Specify the spacing between columns in pixels.
Events: onBeforeActivate, onBeforeCopy, onBeforeCut, onBeforeEditFocus, onBeforePaste, onClick, onContextMenu, onCopy, onCut, onDblClick, onDrag, onDragEnd, onDragEnter, onDragLeave, onDragOver, onDragStart, onDrop, onFocusIn, onFocusOut, onHelp, onKeyDown, onKeyPress, onKeyUp, onLoseCapture, onMouseEnter, onMouseLeave, onMouseMove, onMouseOver, onMouseUp, onMouseWheel, onPaste, onPropertyChange, onReadyStateChange, onSelectStart See"Event Handlers for HTML Elements".
<ol> </ol> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
Creates a numbered list. Use CSS to define the type of list.
Attributes: class, dir, id, lang, style, title See"HTML Common Attributes".
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<p> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
defines a paragraph. Paragraphs usually are surrounded by extra space (a line or half a line); in some browsers, the first line is indented. The closing </p> tag is optional, and often omitted.
Attributes: align, class, dir, id, lang, style, title See"HTML Common Attributes". The align attribute is deprecated. Use styles instead.
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<plaintext>  
This tag is deprecated in HTML as well as in XHTML.
<pre> </pre> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
Creates preformatted text. Browsers normally render pre text in a fixed-pitched font, with whitespace in tact, and without word wrap. You also can include anchor elements, character highlighting elements, and the horizontal tab character (though tabs are not recommended). Do not use elements that define paragraph formatting within the preformatted text.
Attributes: class, dir, id, lang, style, title, width See"HTML Common Attributes". The width attribute is deprecated. Use styles instead.
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<q> </q> Supported in Netscape 4, Firefox, Opera, Safari and Google Chrome, except IE. It will be supported in IE 8
This tag is used for indicating short quotations (i.e. quotations that span multiple lines).
Attributes: align, class, dir, id, lang, style, title See"HTML Common Attributes".
cite=URL URL of the quote, if it is taken from the web.
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<samp> </samp> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
Use these tags to differentiate text that should look like a "sample" of something to the reader, such as sample programming code. Most browsers display the sample text in a monospaced font.
Attributes: class, dir, id, lang, style, title See"HTML Common Attributes".
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<spacer> This tag is supported in Netscape 4 and higher version only.
It is used to create a block of white space within an html document.
Attributes: accesskey, align, class, dir, id, lang, style, tabindex, title See"HTML Common Attributes".
height=number The height attribute is used when the spacer type="block". Between the quotes specify a pixel value for the height of the block.
size=number Specifies the number of pixels tall or wide the spacer will be This attribute is only used if the spacer type is "horizontal" or "vertical." If the spacer type is "block," then the width attribute is used..
type=vertical, horizontal, block It is used to specify whether the spacer will be horizontal, vertical, or block.
Events: onblur, onfocus, onchange See"Event Handlers for HTML Elements".
<span> </span> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
It is used to group a small chunk of in-line HTML text. Unlike the <DIV> tags, SPAN doesn't insert blank lines above and below the tagged text.
Attributes: class, dir, id, lang, style, title See"HTML Common Attributes".
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<style> </style> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
Define one or more document level styles.
Attributes: dir, lang, title See"HTML Common Attributes".
type=text/css Define the format of the styles(always text/css).
media=screen, tty, tv, projection, handheld, print, braille, aural, all Specifies styles for different media types.
Events:   This tag does not support any event attributes.
<ul> </ul> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
Creates a bulleted list.
Attributes: dir, id, lang, style, title See"HTML Common Attributes".
compact=compact Specifies that the list should render smaller than normal. Deprecated. Use styles instead.
type=disc, square, circle Specifies the style of the bullet points of the list items. Deprecated. Use styles instead.
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<wbr> Netscape Navigator and Internet Explorer only.
This stands for Word Break. Indicate a potential word break point within a <nobr> section. <wbr> tag is used to define a potential line break point if needed.
This is used with the <nobr> tag. <wbr> advises the extended browser when it may insert a line break in an otherwise nonbreakable sequence of text. Unlike the <br> tag, which always causes a line break, even within a <nobr>- tagged segment, the <wbr> tag works only when placed inside a <nobr>- tagged content segment and causes a line break only if the current line has already extended beyond the browser's display window margins.
Forms
For functional forms, you'll have to run a CGI script. The HTML just creates the appearance of a form.
<button> </button> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
It is used for creating a button within forms. Button can be created using <input> tag as well.
Attributes: accesskey, class, dir, id, lang, name, style, tabindex, title See"HTML Common Attributes".
disabled=disabled Specifies that a button should be disabled.
type=button, reset, submit(default) Specifies the type of a button.
value=text Assigns an initial value to the button.
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<fieldset> </fieldset> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome
It is used for grouping related form elements. By using the fieldset tag and the legend tag, you can make your forms much easier to understand for your users.
Attributes: accesskey, class, dir, id, lang, style, tabindex, title See"HTML Common Attributes".
align=left, right, center, top, bottom Deprecated Specifies the content alignment.
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<form> </form> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome
Defines the start and end of a fill-in-the-blank form.
Attributes: class, dir, id, lang, name, style, title See"HTML Common Attributes".
action=URL or URI Specifies the URL where the contents of the form will be submitted. When ACTION is omitted, the URL of the document itself is assumed.
accept=content types Specifies a comma-separated list of types of files that can be submitted through a file upload.
accept-charset=charset list Specifies a list of character encodings that the server accepts. The default value is "unknown".
enctype=format In case the protocol specified by METHOD doesn't impose a format, specifies the mime type used to encode the content of the form.
method=get, post Specifies the HTTP method to use when the form is submitted.
  get - the form data is appended to the URL when submitted.
  post - the form data is not appended to the URL.
target=_blank, _self, _parent, _top Specify the name of the frame or window to receive the results of the form after submission.
  _blank - the target URL will open in a new window.
   _self - the target URL will open in the same frame as it was clicked.
  _parent - the target URL will open in the parent frameset.
  _top - the target URL will open in the full body of the window.
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
onreset=script Netscape 4, Firefox. Specify a script to be run when the form is reset.
onsubmit=script Specify a script to be run when the form is submitted.
<input> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome
Sets up an input field to allow data entry in a form. In JavaScript-capable browsers, the <input> tag can accept an event handler as an attribute.
Attributes: accesskey, class, dir, id, lang, name, size, style, tabindex, title See"HTML Common Attributes".
accept=content types If type="file", specifies a comma-separated list of types of files that can be submitted through a file upload.
align=left, right, top, texttop, middle, absmiddle, baseline, bottom, absbottom Deprecated. Use styles instead. If type="image", sets the content alignment.
alt=text If type="image", specifies an alternate text for an image input in case the browser/user agent can't render the input control.
checked=checked Marks the checkbox or radio button as selected. Unselected checkboxes and radio buttons don't return any name/value pairs when the form is submitted.
disabled=disabled Disables the input control. The button won't accept changes from the user. It also cannot receive focus and will be skipped when tabbing.
maxlength=number Defines the maximum number of characters allowed in a text field. If value is greater than the size given by the SIZE attribute, the field will scroll. Default is unlimited length.
readonly=readonly Sets the input control to read-only. It won't allow the user to change the value. The control however, can receive focus and are included when tabbing through the form controls.
src=URL An absolute or relative reference to an image file. Used only with type=image.
value=text Assigns the default value for the control. If type="checkbox" or type="radio" this attribute is required.
Events: onblur, onchange, onclick, ondblclick, onfocus, onselect, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<keygen> Supported in Netscape 4 and later version only.
It is used to process Web forms with certificate management systems. The element generates a secure key and submits the public key.
Attributes: class, dir, id, lang, name, style, title See"HTML Common Attributes".
challenge=string Specifies the challenge string to be packaged with the public key in the PublicKeyAndChallenge for use in verification of the form submission. If no challenge string is provided, then it is encoded as an IA5STRING of length zero.
Events:    
<label> </label> Supported in Netscape 4+, Firefox, IE, Opera, Safari 3+ and Google Chrome
Add a label to a form input element like text, textarea etc.
Attributes: accesskey, class, dir, id, lang, style, title See"HTML Common Attributes".
for=element_id Sets the input element that this label is for. This value must be the same as the value in the input element's "id" attribute.
Events: onblur, onclick, ondblclick, onfocus, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<optgroup> </optgroup> Supported in Netscape 4+, Firefox, IE, Opera, Safari and Google Chrome
It is used for grouping related options within your select list. This makes it easier for users to comprehend their choices when looking at a large list.
Attributes: class, dir, id, lang, style, tabindex, title See"HTML Common Attributes".
disabled=disabled Disables the input control. The button won't accept changes from the user. It also cannot receive focus and will be skipped when tabbing.
label=text Defines a description for a group of options to use.
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<option> </option> Supported in Netscape, Firefox, IE, Opera, Safari and Google Chrome
Defines a single option within a select (drop-down list) box. You must use it within <SELECT...> ... </SELECT> tags inside of <FORM>...</FORM> tags.
Attributes: class, dir, id, lang, style, title See"HTML Common Attributes".
disabled=disabled Disables the input control. The button won't accept changes from the user. It also cannot receive focus and will be skipped when tabbing.
label=text Defines a description for a group of options to use.
selected=selected Defines the default option to be selected when page loads. If omitted, the form shows the first option in the list.
value=text Indicates the value returned when the user chooses this option. If you omit the VALUE attribute, the form returns the value of the option itself.
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<select> </select> Supported in Netscape, Firefox, IE, Opera, Safari and Google Chrome
Creates a pulldown menu in a form. Each option within the menu is defined by an <option> tag.
Attributes: accesskey, class, dir, id, lang, name, style, tabindex, title See"HTML Common Attributes".
disabled=disabled Indicates that a drop-down list should be disabled.
multiple=multiple Lets users choose more than one option from the list.
size=number Defines the number of menu items visible before you need to scroll in the drop-down list.
Events: onblur, onchange, onclick, ondblclick, onfocus, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<textarea> </textarea> Supported in Netscape, Firefox, IE, Opera, Safari and Google Chrome
Creates a multi-line text box on a form. If you include text between the <textarea ...> and </textarea> tags, that text will appear as the initial value of the input field.
Attributes: accesskey, class, dir, id, lang, name, style, tabindex, title See"HTML Common Attributes".
cols=number Sets the width of the text box.
disabled=disabled Indicates that the text area should be disabled.
readonly=readonly Sets the input control to read-only. It won't allow the user to change the value. The control however, can receive focus and are included when tabbing through the form controls.
rows=number Sets the height of the text box based on lines of text.
Events: onblur, onchange, onclick, ondblclick, onfocus, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
Frames
<frame> Supported in Netscape, Firefox, IE, Opera, Safari and Google Chrome
Defines a single frame within a frameset. Must be enclosed within <FRAMESET> ... </FRAMESET> tags.
Attributes: class, id, name, style, title See"HTML Common Attributes".
bordercolor=color Netscape only. Define the color of the borders for this frame.
frameborder=yes, no(Netscape only) or 1, 0 Specifies whether or not to display border around the frame.
marginheight=pixels Specify the size of upper and lower margins for the frame in pixels. It must be equal to or greater than 1.
marginwidth=pixels Specifies the size of left and right margins for the frame in pixels. It must be equal to or greater than 1.
noresize=noresize Prevents the user from resizing the frame.
scrolling=yes, no, auto (default) Sets whether the frame has a scrollbar. "auto": scroll bar appears if necessary.
src=URL Specifies which HTML document should be displayed in this frame. If omitted, the frame appears as blank.
Events:   No event attribute.
<frameset> </frameset> Supported in Netscape, Firefox, IE, Opera, Safari and Google Chrome
Declares the current page as a set of frames for displaying multiple pages. It can also be nested in other framesets.
Attributes: class, id, lang, style, title, width See"HTML Common Attributes".
border=number Netscape only. Set the thickness of the frames or other framesets.
bordercolor=color Netscape only. Define the color of the borders in this frameset.
cols=pixels, %, * A comma-separated list that defines the number and width of the columns in the window. The total number of columns must equal the window width. If omitted, one column is assumed.
pixels: An absolute pixel value.
%: Percentage values between 1% and 100%. Default is 100%.
*: Relative scaling values. * tells the browser to calculate the width based on the other values given.
frameborder=yes, no (Netscape only) or 1, 0 Specifies whether or not to display border around the frame.
framespacing=number IE only. Define the thickness of the frame borders in this frameset.
rows=pixels, %, * Same as the COLS attribute, except that it defines the number and width of the rows in the windows. If omitted, one row is assumed.
Events: onload, onunload See"Event Handlers for HTML Elements".
<iframe> </iframe> Supported in IE. This element was created by Microsoft.
Defines an inline frame.
Attributes: align, class, height, id, name, style, title, width See"HTML Common Attributes".
frameborder=yes, no(Netscape only) or 1, 0 Specifies whether or not to display border around the iframe.
longdesc=URL A URL to a long description of the iframe contents.
marginheight=pixels Specify the size of upper and lower margins for the iframe in pixels.
marginwidth=pixels Specifies the size of left and right margins for the iframe in pixels.
scrolling=yes, no, auto (default) Sets whether the frame has a scrollbar. "auto": scroll bar appears if necessary.
src=URL Specifies which HTML document should be displayed in this iframe.
Events:   No event attribute.
<ilayer> </ilayer> Supported in Netscape only.
Defines an inline layer. Subsequent content is placed after the space occupied by the <ilayer>. This is in contrast to the <layer> tag, which creates a layer above the containing text flow, allowing subsequent content to be placed under the layer just created.
Attributes: background, bgcolor, class, height, id, name, style, width See"HTML Common Attributes".
above=layer name Place this layer above the named layer.
below=layer name Place this layer below the named layer.
clip=number Define the coordinates of the inline layer's viewable area.. If left and top are 0, they may be omitted.
left=pixels Define the position of the layer's left edge from the containing line of text.
pagex=number The position of the left side of the inline layer relative to the browser window.
pagey=number The position of the top of the inline layer relative to the browser window.
src=URL Specifies which HTML document should be displayed in this inline layer.
top=number Define the position of the layer's top edge from the cintaining line of text.
visibility=show, hide, inherit Determine whether to show or hide the layer, or inherit the visibility attribute from a containing layer.
z-index=number Specify the layer's position in the stacking order. Inline layers with higher Z-INDEX values are positioned above inline layers with lower Z-INDEX values.
Events:   No event attribute.
<layer> </layer> Supported in Netscape 4 and higher versions only.
Defines a layer. It is used to position and animate (through scripting) elements in a page. A layer can be thought of as a separate document that resides on top of the main one, all existing within one window.
Attributes: background, bgcolor, class, height, id, name, style, width See"HTML Common Attributes".
above=layer name Place this layer above the named layer.
below=layer name Place this layer below the named layer.
clip=number Define the coordinates of the layer's viewable area.. If left and top are 0, they may be omitted.
left=pixels Define the position of the layer's left edge from the containing line of text.
pagex=number The position of the left side of the layer relative to the browser window.
pagey=number The position of the top of the layer relative to the browser window.
src=URL Specifies which HTML document should be displayed in this layer.
top=number Define the position of the layer's top edge from the cintaining line of text.
visibility=show, hide, inherit Determine whether to show or hide the layer, or inherit the visibility attribute from a containing layer.
z-index=number Specify the layer's position in the stacking order. Layers with higher Z-INDEX values are positioned above layers with lower Z-INDEX values.
Events:   No event attribute.
<noframes> </noframes> Supported in Netscape, Firefox, IE, Opera, Safari and Google Chrome
Defines what will appear on browsers that don't support frames.
Attributes: accesskey, class, dir, id, lang, style, tabindex, title See"HTML Common Attributes".
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
Graphical elements
<area> Supported in Netscape, Firefox, IE, Opera, Safari and Google Chrome
Defines a clickable hot spot within an client side image map defined by <MAP>...</MAP> tags, and sets the URL to go to when the area is clicked.
Attributes: accesskey, alt, class, dir, href, id, lang, name, nohref, style, tabindex, target, title See"HTML Common Attributes".
coords=coordinates Specifies the coordinates of the hot spot measuring from the top left corner of the image, specified as x1, y1, x2, y2 where x1 and y1 are the pixel at the top left corner of the hot spot, and x2 and y2 represent the pixel at the lower right corner of the hot spot.
if shape="rect" then coords=left,top,right,bottom
if shape="circ" then coords=centerx,centery,radius
if shape="poly" then coords=x1,y1,x2,y2,..,xn,yn
notab= IE only. Do not include this area in the tabbing order.
shape=rect, rectangle, circ, circle, poly, polygon The shape of the hot spot.
taborder=number IE only. Specify this area's position in the tabbing order.
type=mime_type Specifies the MIME (Multipurpose Internet Mail Extensions) type of the target URL
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<hr> Supported in Netscape, Firefox, IE, Opera, Safari and Google Chrome
Draws a horizontal line or rule across the page. Horizontal rules are great for dividing sections of text on the page. The hr element renders differently in different browsers.
Attributes: align, class, dir, id, lang, size, style, title, width See"HTML Common Attributes". align, size and width are deprecated.
noshade=noshade Deprecated.Creates a rule without a shadow. Displays the line as a solid bar. Default is shaded and engraved.
Events: onclick, ondblclick, onerror, onkeydown, onkeypress, onkeyup, onload, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<img> Supported in Netscape, Firefox, IE, Opera, Safari and Google Chrome
Puts graphics into your web pages. It does not work with audio media.
Attributes: alt, align, border, class, dir, height, hspace, id, lang, src, style, title, usemap, vspace, width See"HTML Common Attributes". align, border, hspace and vspace are deprecated.
controls= IE only. Displays a set of controls under the inline video clip window.
longdesc=URL The URL to a document that contains a long description of an image.
loop=number, -1, infinite IE only. Defines how many times the inline video clip loops when activated. If the value is -1 or INFINITE, the video plays continuously until another page is loaded.
loopdelay=delay IE only. Specifies the lenght of the wait, in milliseconds, between play loops for an inline video clip.
lowsrc=URL Netscape only. An absolute or relative reference to a low resolution image to display before the document and all of its images are fully loaded. After loading, the browser displays the image specified by the SRC attribute.
start=start IE only. Specifies when an inline video clip will play. Start can be FILEOPEN or OUSEOVER (or both, separated by a comma).
Events: onclick, ondblclick, onerror, onkeydown, onkeypress, onkeyup, onload, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
onabort=script Provide an script to be run if the loading of the image is aborted.
<map> </map> Supported in Netscape, Firefox, IE, Opera, Safari and Google Chrome
Defines the clickable hotspots on a client-side image map, and the action to be taken when the reader clicks the hotspot. The easiest way to create a client-side image map is to use a helper application like LiveImage, available from http://www.mediatec.com.
Attributes: class, dir, id, lang, name, style, title See"HTML Common Attributes". The name attribute is required in the map element. This attribute is associated with the <img>'s usemap attribute and creates a relationship between the image and the map.
Events: onclick, ondblclick, onerror, onkeydown, onkeypress, onkeyup, onload, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
Links
<a> </a> Supported in Netscape, Firefox, IE, Opera, Safari and Google Chrome
Create a hyperlink anchor in your web pages.
Attributes: accesskey, class, dir, href, id, lang, name, style, tabindex, target, title See"HTML Common Attributes".
charset=character_encoding Defines the character encoding of the linked document.
coords=coordinates Specifies the coordinates of the link.
if shape="rect" then coords=left,top,right,bottom
if shape="circ" then coords=centerx,centery,radius
if shape="poly" then coords=x1,y1,x2,y2,..,xn,yn
hreflang=language_code Defines the language of the linked document.
rel=alternate, designates, stylesheet, start, next, prev, contents, index, glossary, copyright, chapter, section, subsection, appendix, help, bookmark Specifies the relationship(s) from the current document to the target. It is a comma-separated list. Used only with the HREF attribute.
rev=alternate, designates, stylesheet, start, next, prev, contents, index, glossary, copyright, chapter, section, subsection, appendix, help, bookmark Same as REL, except that it specifies the relationship(s) from the target to the current document
shape=rect, rectangle, circ, circle, poly, polygon Defines the shape of the link.
Events: onblur, onclick, ondblclick, onfocus, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
Tables
<caption> </caption> Supported in Netscape, Firefox, IE, Opera, Safari and Google Chrome
Creates a caption for a table. The <caption> tag must be inserted immediately after the <table> tag. Only one caption is allowed per table.
Attributes: align, class, dir, id, lang, style, title See"HTML Common Attributes".
Events: onblur, onclick, ondblclick, onfocus, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<colgroup> </colgroup> Supported in Netscape, Firefox, IE, Opera, Safari and Google Chrome
Specify properties for a group of columns within a table.
Attributes: align, class, dir, id, lang, style, title, valign, width See"HTML Common Attributes".
char=character Aligns the content in a column group to a character(use with align="char").
charoff=number Sets an alignment offset (either in pixels or percentage value) against the first character as specified with the char attribute.
span=number Define the number of columns in the group.
Events: onblur, onclick, ondblclick, onfocus, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<table> </table> Supported in all browsers
Creates a caption for a table. The <caption> tag must be inserted immediately after the <table> tag. Only one caption is allowed per table.
Attributes: align, bgcolor, border, class, dir, id, lang, style, title, width See"HTML Common Attributes".
cellpadding=pixels or % Specifies the amount of space between the cell's border and the cell's contents.
cellspacing=pixels or % Defines the spacing between individual cells in a table.
frame=above, below, border, box, hsides, lhs, rhs, void, vsides Defines where table borders are displayed.
rule=all, cols, groups, none (default), rows Determines where inner dividers are drawn.
summary=text Specifies a summary of the content of a table.
Events: onblur, onclick, ondblclick, onfocus, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<tbody> </tbody> Supported in Netscape, Firefox, IE, Opera, Safari and Google Chrome
Adds a body to a table. The <tbody> tag is used in conjunction with the <thead> tag and the <tfoot> tag in determining each part of the table (header, footer, body).
Attributes: align, class, dir, id, lang, style, title, valign See"HTML Common Attributes".
char=character Aligns the content in a column group to a character(use with align="char").
charoff=number Sets an alignment offset (either in pixels or percentage value) against the first character as specified with the char attribute.
Events: onblur, onclick, ondblclick, onfocus, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<td> </td> Supported in Netscape, Firefox, IE, Opera, Safari and Google Chrome
Defines the data for a cell in a table row. Each <td>...</td> pair corresponds to one cell within a table row <tr> ... <tr>.
Attributes: align, bgcolor, class, dir, height, id, lang, nowrap, style, title, valign, width See"HTML Common Attributes". bgcolor, height, nowrap and width are deprecated
axis=text Specifies a category for this td. This can potentially be used to perform queries against the table data and can be beneficial in the context of a speech browser.
char=character Aligns the content in a column group to a character(use with align="char").
charoff=number Specifies an alignment offset (either in pixels or percentage value) against the first character as specified with the char attribute.
colspan=number (The default is 1. ) Sets how many columns of the table this cell should span.
header=ID of the header cell Specifies a space-separated list of header cells that contain information about this cell. The value needs to correspond with the id of the header cell (which is set using the id attribute). This attribute is useful for non-visual browsers.
rowspan=number (The default is 1. ) Sets how many rows of the table this cell should span.
scope=col, colgroup, row, rowgroup It is used on header cells and specifies the cells that will use this header's information.
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<tfoot> </tfoot> Partially supported in Netscape, Firefox, IE, Opera, Safari and Google Chrome
Define a footer to a table. The <tfoot> tag is used in conjunction with the <thead> tag and the <tbody> tag in determining each part of the table (header, footer, body).
Attributes: align, class, dir, id, lang, style, title, valign See"HTML Common Attributes".
char=character Aligns the content in a column group to a character(use with align="char").
charoff=number Sets an alignment offset (either in pixels or percentage value) against the first character as specified with the char attribute.
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<th> </th> Supported in Netscape, Firefox, IE, Opera, Safari and Google Chrome
Defines a table header cell -- the cell at the top of a column. Text in these cells is boldfaced and centered by default. The attributes for the<th> ... </th> element are the same as for the <td> ... </td> element.
<thead> </thead> Supported in Netscape, Firefox, IE, Opera, Safari and Google Chrome
Define a table heading. The <thead> tag is used in conjunction with the <tbody> tag and the <tfoot > tag in determining each part of the table (header, footer, body).
Attributes: align, class, dir, id, lang, style, title, valign See"HTML Common Attributes".
char=character Aligns the content in a column group to a character(use with align="char").
charoff=number Specifies an alignment offset (either in pixels or percentage value) against the first character as specified with the char attribute.
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<tr> </tr> Supported in Netscape, Firefox, IE, Opera, Safari and Google Chrome
Sets off each row in a table.
Attributes: align, bgcolor, class, dir, id, lang, style, title, valign See"HTML Common Attributes". bgcolor is deprecated
char=character Aligns the content in a column group to a character(use with align="char").
charoff=number Sets an alignment offset (either in pixels or percentage value) against the first character as specified with the char attribute.
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
Text tags
<abbr> </abbr> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
Indicates an abbreviated form like pvt. inc. etc.
Attributes: class, dir, id, lang, style, title See"HTML Common Attributes".
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<acronym> </acronym> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
The text that appears between these tags represents programming code and typically appears in monospaced font.
Attributes: class, dir, id, lang, style, title See"HTML Common Attributes".
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<address> </address> Supported in Netscape, Firefox, IE, Opera, Safari and Google Chrome
The enclosed text is an address. Use them to specify a mailing address, e-mail address, telephone number, and so on. Typically, the address text appears italicized and an automatic paragraph break appears before and after.
Attributes: class, dir, id, lang, style, title See"HTML Common Attributes".
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<b> </b> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
Creates bold text.
Attributes: class, dir, id, lang, style, title See"HTML Common Attributes".
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<big> </big> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
Creates text that is at a slightly larger size than surrounding text.
Attributes: class, dir, id, lang, style, title See"HTML Common Attributes".
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<blink> </blink> Supported in Netscape and now this is obsolete..
Cause the enclosed content to blink.
Attributes: accesskey, class, dir, id, lang, style, tabindex, title See"HTML Common Attributes".
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<cite> </cite> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
The text that appears between these tags represents a citation and typically appears in italics.
Attributes: class, dir, id, lang, style, title See"HTML Common Attributes".
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<em> </em> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
Emphasizes the enclosed text with italic or bold.
Attributes: class, dir, id, lang, style, title See"HTML Common Attributes".
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<font> </font> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
Sets the font style of the enclosed text.
Attributes: class, color, dir, id, lang, size(deprecated), style, title See"HTML Common Attributes".
face=List of font names Sets the typeface used to display text. The typeface must already exist on the user's computer; if it doesn't, the specified alternative font (if any) or the browser's default font is used.
Events:   No event attribute.
<h1> </h1> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
Creates the largest headline. There are six levels of heading: h1(largest), h2, h3, h4, h5 and h6(smallest).
Attributes: align(deprecated), class, dir, id, lang, style, title See"HTML Common Attributes".
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<h6> </h6> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
Creates the smallest headline. There are six levels of heading: h1(largest), h2, h3, h4, h5 and h6(smallest).
Attributes: align(deprecated), class, dir, id, lang, style, title See"HTML Common Attributes".
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<i> </i> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
Creates italic text.
Attributes: class, dir, id, lang, style, title See"HTML Common Attributes".
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<pre> </pre> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
Creates preformatted text. The enclosed text is in fixed-width font, with whitespace in tact, and without word wrap. You also can include anchor elements, character highlighting elements, and the horizontal tab character (though tabs are not recommended). Do not use elements that define paragraph formatting within the preformatted text.
Attributes: class, dir, id, lang, style, title, width(deprecated) See"HTML Common Attributes".
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<s> </s> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
Displays text between the tags in strikethrough style: a strike (or line) through the middle of the text.
Attributes: class, dir, id, lang, style, title See"HTML Common Attributes".
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<small> </small> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
The text enclosed these tags is displayed in a size that's slightly smaller than the base font size..
Attributes: class, dir, id, lang, style, title See"HTML Common Attributes".
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<strike> </strike> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
Same as the <s> <s> tags.
<strong> </strong> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
The text between these tags is emphasized - displayed in boldface by most browsers.
Attributes: class, dir, id, lang, style, title See"HTML Common Attributes".
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<sub> </sub> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
Subscripts the text between the tags.
Attributes: class, dir, id, lang, style, title See"HTML Common Attributes".
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<sup> </sup> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
Displays superscript (raised) text between the tags.
Attributes: class, dir, id, lang, style, title See"HTML Common Attributes".
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<tt> </tt> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
Format the enclosed text in typewriter or teletype machine's font (monospaced font). Displays fixed width (Courier) text in most browsers.
Attributes: class, dir, id, lang, style, title See"HTML Common Attributes".
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<u> </u> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
The enclosed text is underlined. Use with caution because underlining is also used to identify hypertext links. (Don't confuse the reader by having a lot of non-hyperlink underlined text on your page.)
Attributes: class, dir, id, lang, style, title See"HTML Common Attributes".
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<var> </var> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
The enclosed text is a variable's name.
Attributes: class, dir, id, lang, style, title See"HTML Common Attributes".
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
Video, Audio and Plug-in Tags
<applet> </applet> Supported in Netscape, Firefox, IE, Safari. The applet tag is deprecated in HTML 4.01 and is not supported in XHTML (strict DTD). Use the HTML object tag instead.
Defines an excutable Java applet within an HTML document.
Attributes: align, alt, class, dir, height, hspace, id, lang, name, style, title, vspace, width See"HTML Common Attributes".
archive=URL Specify a class archive to be downloaded to the browser and then searched for code class.
code=URL Specify the URL that points to the class name of the code to be executed(required).
codebase=URL URL from which the code is retrieved.
mayscript Netscape only. If present, allows the applet to access JavaScript within the page.
object=name Allows you to load a serialized (saved) applet.
Events:   No event attribute.
<bgsound> Supported in IE only.
Allows to play a soundtrack in the background.
Attributes: loop See"HTML Common Attributes".
src=URL Speecifies the path of the sound file.
Events:   No event attribute.
<del> </del> Supported in Netscape, Firefox, IE, Opera, Safari and Google Chrome.
Markup the enclosed text as a deleted text.
Attributes: class, dir, id, lang, style, title See"HTML Common Attributes".
cite=URL Defines a URL to another document which explains why the text was deleted.
datetime=YYYYMMDD HH:MM:SS Defines the date and time the text was deleted.
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<embed> </embed> It is not a part of the HTML 4 or xHTML 1 specifications, but it is still widely supported by modern browsers.
Embed an application to a document to support browser plug-in. The difference between a plug-in and a helper application is: helper applications are external to the browser and require a separate window to display content. Plug-ins appear to the user as seamless extensions of the browser and are capable of rendering content directly within the browser window.
Attributes: align, class, dir, height, id, lang, loop, name, style, target, title, width See"HTML Common Attributes".
autostart=true, false or 1, 0 Specifies whether the sound/movie should start automatically. Netscape default is TRUE, Internet Explorer is FALSE.
controls=console (default), smallconsole, playbutton, pausebutton, stopbutton, volumelever Defines which sound control to display.
console:The browser should display a full-sized full set of controls: a start button, a pause button, a stop button, and a volume control.smallconsole:The controls displayed are the start button, the stop button, and the volume lever. The pause button is not displayed. SMALLCONSOLE takes up less vertical space than CONSOLE but is just as wide.playbutton:Only show the play button. This value is usually used in conjunction with the MASTERSOUND attribute.pausebutton:Only show the pause button. This value is usually used in conjunction with the MASTERSOUND attribute.stopbutton:Only show the stop button. This value is usually used in conjunction with the MASTERSOUND attribute.volumelever:Only show the volume lever. This value is usually used in conjunction with the MASTERSOUND attribute.
endtime=mm:ss Netscape only. Indicates when to finish playing.
hidden=true or false Defines if the object shows on the page. FALSE means no and TRUE means yes.
href=URL IE only. Makes the media object into a hyperlink.
playcount=number IE only. Specifies the number of times to play the sound.
pluginspace=URL Netscape only. Location of software necessary to install the plugin file. Only needed if the plugin is not a standard one.
pluginurl=URL Netscape only. Location of software necessary to play the sound file. Only needed if the plugin is not a standard one.
src=URL URL of the object to be embedded. This can be any recognized (by the client system) sound file (.midi, .wav and so on).
starttime=mm:ss Netscape only. Indicates spot (minutes and seconds) on track where play is to start.
volume=number Netscape only. Controls volume of the sound. Can be from 0 (off) to 100 (full volume).
units=pixels(Default) or em Indicates how to measure the units.
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<noembed> </noembed> Supported in Netscape 4 and Firefox.
Defines alternative content to be presented by browsers that do not support the <embed> tag. The message inside </noembed> tag will appear only when your browser does not support <embed> tag.
Attributes:   It does not have any attributes.
Events:   No event attribute.
<object> </object> It is partially supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
Insert a multimedia into a HTML document. An object can be video, audio, image, sound, Java applet, ActiveX controls, documents and other media etc. <object> provide the functionality of both the <applet> and <embed>. The difference between <object> and <embed>:
<object> expects you to explicitly specify the application by the classid and codebase attributes; <embed> infers the processing application based upon the data type.
Note: Do not use the <object> tag for images, use the <img> tag instead!
Attributes: accesskey, align, border(IE only), class, dir, height, hspace(IE only), id, lang, name(IE only), style, tabindex(IE only), title(IE only), usemap(IE only), vspace(IE only) and width See"HTML Common Attributes".
archive=URL A space separated list of URL's to archives.
classid==url or string Supply the URL of the object or identifies the implementation of the object.
codebase=URL Specifies locations on the Web where objects can be found and automatically downloaded.
codetype=MIME type IE only. Specify the MIME type of the code base. It is used in conjunction with the classid attribute. The possible values are: audio/basic, image/gif, image/png, text/css, text/html, text/javascript, text/vbscript and video/mpeg
data=URL Supply a separate data file that is to be processed by the object.
declare=yes or true, no or false IE only. Defines that the object should only be declared, not created or instantiated until needed.
standby=text IE only. Define a message to display while the object loads.
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<param> </param> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
It is used for supplying parameters to an embedded object using <applet>, <embed> or <object> tag.
Attributes: id, name See"HTML Common Attributes".
type=MIME type IE only. Specify the MIME type of the parameter. The possible values are: audio/basic, image/gif, image/png, text/css, text/html, text/javascript, text/vbscript and video/mpeg
value=text Defines the value of the parameter.
valuetype=data,ref or object Specifies the MIME type of the value.
ref: the value is a URL pointing to the data;
object: the value is the name of an object in this document.
Events:   No event attribute.
<kbd> </kbd> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
The enclosed text represents user-typed text (texts that are entered by user ) and typically appears in a monospaced font.
Attributes: class, dir, id, lang, style, title See"HTML Common Attributes".
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
Other tags
<isindex> Poorly supported in Netscape, Firefox, IE, Safari and has limited practical value.
Create a 'searchable' HTML document. It is the old way to make an online form. Deprecated in favor of the INPUT element. The format for this tag is:
<ISINDEX PROMPT="string" ACTION="location of CGI program">
The ISINDEX tag is placed in the HEAD section of the document and was used before the FORM tag became popular.
Attributes: class, dir, id, lang, style, title See"HTML Common Attributes".
action=URL IE only. Provide the URL of the program that will perform the searching action.
prompt=text Provide an alternate prompt for the input field.
Events: onActivate, onBeforeDeactivate, onBeforeEditFocus, onBlur, onDeactivate, onFocus, onMove See"Event Handlers for HTML Elements".
<noscript> </noscript> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
Defines the content to be presented by browsers that do not support the <script> tag or that have disabled scripts.
Attributes: class, dir, id, lang, style, title See"HTML Common Attributes".
Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup See"Event Handlers for HTML Elements".
<script> </script> Supported in Netscape 4, Firefox, IE, Opera, Safari and Google Chrome.
Marks the beginning and end of a client-side script embedded in a page.
Attributes: charset=charset Defines the character encoding used in an external script file.
defer=defer Declares that the script will not generate any content. Therefore, the browser/user agent can continue parsing and rendering the rest of the page.
language=javascript, livescript, vbscript or other Deprecated. Defines the scripting language. If omitted, JavaScript is assumed. Don't use this attribute; use the type attribute instead.
src=URL Provides an URL(absolute/relative reference) of a script stored in a text file.
type=text/javascript, application/ecmascript, application/javascript, or text/vbscript Defines the scripting language. If omitted, JavaScript is assumed.
Events:   No event attribute.

 

HTML Common Attributes

Syntax: <element attribute="value">...</element>
AttributeValueDescription
accessKey character Supported by all major browsers. Specifies a keyboard shortcut to access an element.
align left, right, and center Supported by all major browsers. Specifies the horizontal alignment of the HTML element.
alt text Supported by all major browsers. This attribute allows elements, such as embedded objects or images, to have an alternate description. In the case that a browser has images or objects turned off, it will display the value of this attribute.
backGround URL Supported by all major browsers. Sets the URL of an image displayed as the background
begin s (second), clock-value, id.event[+clock-value], indefinite and 0 (default) Supported by IE. This attribute belongs to the HTML+TIME technology introduced by Microsoft. Sets or retrieves the delay time before the timeline begins playing on the element.
bgColor color name or hexadecimal color value using the "#RRGGBB" method Supported by all major browsers. Sets the background color.
border px Supported by all major browsers. Sets the thickness in pixels of the border around an element.
borderColor color name or hexadecimal color value using the "#RRGGBB" method Supported by Firefox, IE. and Safari. Specifies the color of the element border.
class text Supported by all major browsers. Classifies an element for use with CSS controlling the appreance of this tag. To specify multiple classes for one element, separate the class names with a space.
The class attribute is mostly used to point to a class in a CSS. However, it can also be used by a JavaScript (via the HTML DOM) to make changes to HTML elements with a specified class.
color color name or hexadecimal color value using the "#RRGGBB" method Supported by all major browsers. Sets the color of the text or line.
contentEditable inherit (default), false or true Supported by all major browsers. Determines whether an element can be edited or not.
dataFld text Supported by IE. Determines which field in the dataSrc the element should be bound to. datafld acts as an intermediary between the page and the dataSrc.
dataFormatAs text, html or localized-text Supported by IE. Sets how to be displayed. localized-text: uses the locale setting of the browser's computer.
dataSrc text Supported by IE. Sets the identifier of the data source for binding data to elements.
dir rtl or ltr Supported by all major browsers. Specifies the text direction: left-to-right (DIR=ltr, the default) or right-to-left (DIR=rtl).
disabled false (default) or true Supported by all major browsers. Sets the enabled state of an element. disabled is a Boolean attribute.
end s (second), clock-value, id.event[+/-clock-value], and indefinite Supported by IE. This attribute belongs to the HTML+TIME technology introduced by Microsoft. Sets or gets a value indicating the end time for the element, or the end of the simple duration when the element is set to repeat.
frameBorder 0 or no means no border
1 or yes means display (default)
Supported by all major browsers. Whether to display a border around a frame or frameset.
height px or % Supported by all major browsers. Sets the height of an element in pixels or a percentage of the screen height.
hideFocus false (default) or true Supported by IE. It is a Boolean attribute. This attribute specifies whether a dotted rectangle (focus rectangle) is drawn around an object while it has focus.
href URL (Specifies the location of the requested file)
#name (Specifies the target anchor "#name")
Filename (Specifies the name of a file in a network or local hard drive)
Other protocols
Supported by all major browsers. Sets URL or anchor point of the elements. For Other protocols, you can use any of the following protocols in your href value:
afs:// AFS file access.
cid:// Content identifiers for MIME body part.
file:// Specifies the address of a file from the locally accessible drive.
ftp:// Uses Internet File Transfer Protocol (FTP) to retrieve a file.
http:// The most commonly used access method.
https:// Provide some level of security of transmission.
mailto:// Opens an email program.
mid:// The message identifier for email.
news:// Usenet newsgroup.
x-exec:// Executable program.
hSpace px Supported by all major browsers. This attribute is deprecated. Sets the space in pixels between the left and right sides of an element. Use the margin style property instead.
id string Supported by all major browsers. Defines a unique id that can be used to reference a HTML element. The id attribute can be used by a JavaScript (via the HTML DOM)or by CSS to make changes or style the element with the specified id. It is preferable to use the id attribute than to the name attribute. The name attribute is not available to all the HTML elements, whereas the id attribute is.
lang String Supported by all major browsers. Sets the document text language. Once set, the browser uses it to determine how to display quotes, numbers. It also helps spell checkers and search engines.
language Jscript, javascript, vbs, vbscript or XML, etc Supported by all major browsers. It is deperecated in HTML 4.01. Specifies the programming language used by a client or server side script. Use it only for the script element.
loop -1, 0, positive integer Supported by IE. and Opera. Repeat the video clip, sound clip or marquee at a specified number of times.
-1: means that the element continuously repeats while the page is active
0: means that the element loops only one time
positive integer: indicates the loop times
name text Supported by all major browsers. Defines a unique name for the element or the target for an anchor <a> element. This attribute also identifies the elements sent to the server.
noWrap false (default) or true Supported by all major browsers. Similar to the <pre> element, it determines whether or not to perform word wrapping. nowrap is a Boolean attribute.
size number Supported by all major browsers. Sets the font size in an element block, from 1 to 7. Later versions of IE no longer favor this attribute.
For <hr> element, the size is the height of the horizontal rule. For <input> or <isindex> element, the size is the element width in characters. The default is 20.
For <keygen> or <select> element, the size is the rows to be displayed.
style definition : value Supported by all major browsers. Specifies an inline style for a HTML element.
syncMaster false (default) or true Supported by IE. This attribute belongs to the HTML+TIME technology introduced by Microsoft. Sets or gets whether the time container must synchronize playback to this element.
systemBitrate positive integer Supported by IE. This attribute belongs to the HTML+TIME technology introduced by Microsoft. Gets the approximate bandwidth available to the system in bits-per-second.
systemCaptions on or off Supported by IE. This attribute belongs to the HTML+TIME technology introduced by Microsoft. Indicates whether to display a text equivalent of the audio portion of the presentation.
systemLanguage language name Supported by IE. This attribute belongs to the HTML+TIME technology introduced by Microsoft. Indicates whether a given language is selected in a user's system preferences. The value of this attribute can be a comma-delimited list of language names to check.
tabIndex number or 0 (default) Supported by all major browsers. Assigns the tab order for keyboard navigation using the TAB key.
target _blank, _parent, _self, _top or framename Supported by all major browsers. Specifies where to open the link on a page. If nothing is matched, a new window is opened for the link.
timeContainer excl, none (default), par or seq Supported by IE. This attribute belongs to the HTML+TIME technology introduced by Microsoft. Sets or gets the type of timeline associated with an element.
excl: Exclusive timeline container element in a document. Only one HTML descendant of this element can play at a time.
none: Current element does not define a local timeline and has no effect on its contained time descendants.
par: New timeline container element in a document. All HTML descendants of this element have independent, or parallel, timing.
seq: Sequence timeline container element in a document. When the timeline of an element in the sequence ends, the next element begins playing.
timeStartRule onDocLoad (default) or string Supported by IE. This attribute belongs to the HTML+TIME technology introduced by Microsoft. Sets or gets the point at which the document timeline begins.
title text  Supported by all major browsers. Specifies extra information about a HTML element. The information is most often shown as a tooltip text when the mouse moves over the element.
unSelectable on or off (default) Supported by IE. and Opera. Specifies whether or not an element can be selected.
useMap URL of an image map, or a "#" followed by the id attribute value of a <map> element on the same page. Supported by all major browsers. Sets the image map for the map element.
vAlign top, middle (default), absmiddle, bottom or baseline Supported by all major browsers. Defines the vertical alignment of text within the table cell or other element.
vSpace px Supported by all major browsers. Sets the size in pixels of the vertical margins. hspace and vspace combined specify the empty space around an element.
width integer or integer% Supported by all major browsers. Defines the width of an element.
integer: Specifies the width of an element in pixels.
integer%: Specifies the percentage of the parent element's width.


 


Event Handlers for HTML Elements

EventBrowserDescription
CheckboxStateChange Firefox Specifies a script to be run when a checkbox is checked or unchecked. It is not recommended to use the CheckboxStateChange event ; use the onChange or onClick event instead.
DOMActivate Firefox, Safari Specifies a script to be run when an element becomes active. In Internet Explorer(IE.), use the onActivate event instead of the DOMActivate event.
DOMAttrModified Firefox, Opera Specifies a script to be run when an attribute is added, removed or when the value of an attribute is modified by script. The DOMAttrModified event is not fired if the modification was made through the user interface, only if it was made by script.
DOMCharacterDataModified Firefox, Opera, Safari Fires after a script changes the value of a CharacterData type of TextNode.
DOMFocusIn Opera, Safari Specifies a script to be run before an element receives focus.
DOMFocusOut Opera, Safari Specifies a script to be run before an element loses the focus.
DOMMouseScroll Firefox Specifies a script to be run when the mouse wheel is moved, whether it results in content being scrolled or not. In Internet Explorer, Opera and Safari, use the onMouseWheel event and the wheelDelta event property instead.
DOMNodeInserted Firefox, Opera, Safari Specifies a script to be run on a node when it is added to an element.
DOMNodeInsertedIntoDocument Opera, Safari Specifies a script to be run on a node when it is added into the document.
DOMNodeRemoved Firefox, Opera, Safari Specifies a script to be run on a node when it is removed from its parent.
DOMNodeRemovedFromDocument Opera, Safari Specifies a script to be run on a node when it is removed from the document.
DOMSubtreeModified Firefox, Safari Specifies a script to be run on a node when a modification occurs in the subtree that belongs to it.
DragDrop Firefox, Safari Specifies a script to be run on a possible target element when the dragged data is dropped on it.
DragExit Firefox, Safari Specifies a script to be run on an element when the user moves the mouse pointer out of it during a drag operation.
DragGesture Firefox, Safari Specifies a script to be run on the source element when the user starts the drag operation.
Message Firefox, Opera, Safari Specifies a script to be run when the postMessage method sends a message to the current window.
onAbort IE. only Specifies a script to be run when the loading of the image is cancelled or interrupted.
onActivate IE. only Specifies a script to be run when an element becomes active.
onAfterPrint IE. only Specifies a script to be run when the browser has built the contents of the current document for printing or for the print preview.
onAfterUpdate IE. only Specifies a script to be run on a databound object after it updates the data in the data source object.
onBeforeActivate IE. only Specifies a script to be run before an element becomes active.
onBeforeCopy IE., Safari Specifies a script to be run before the selection is copied to the clipboard and before the oncopy event.
onBeforeCut IE., Safari Specifies a script to be run before the selection is cut from the document and provides a possibility to enable the Cut menu item.
onBeforeDeactivate IE. only Specifies a script to be run on the active element before it loses the active state.
onBeforeEditFocus IE. only Specifies a script to be run before an editable element or an element in an editable region becomes a UI-activated.
onBeforePaste IE., Safari Specifies a script to be run before the contents of the clipboard are pasted into the document and provides a possibility to enable the Paste menu item.
onBeforePrint IE. only Specifies a script to be run when the browser starts to build the contents of the current document for printing or for the print preview.
onBeforeUnload Firefox, IE., Safari Specifies a script to be run before the browser unloads the document and provides a possibility to display a confirmation dialog, where the user can confirm whether he wants to stay or leave the current page.
The onBeforeUnload event is not cancelable, because of security reasons, but if an event handler function for the onBeforeUnload event returns a string value, this text will be shown in a confirmation dialog box, where the user can confirm whether he wants to stay or leave the current page.
onBeforeUpdate IE. only Specifies a script to be run on a databound object before it updates the data in the data source object.
onBlur all major browsers Specifies a script to be run when the mouse loses focus (the mouse leaves the document window).
onBounce Firefox, IE. This event applies to the <marquee> element. Specifies a script to be run when the contents of a <marquee> element touch one side of the <marquee> element's bounding rectangle.
onCellChange IE. only Specifies a script to be run on a data source object when the data in it has changed.
onChange all major browsers Specifies a script to be run when the user changes the value of this element. In some cases, it only occurs when the element loses the focus.
onClick all major browsers Specifies a script to be run when the mouse is clicked
onContextMenu   Specifies a script to be run when the right mouse button is clicked on an element and the context menu is shown.
onControlSelect IE. only Specifies a script to be run before a control is selected in an editable region.
onCopy Firefox,IE., Safari Specifies a script to be run before the selection is copied to the clipboard.
onCut Firefox, IE., Safari Specifies a script to be run before the selection is cut from the document and added to the clipboard.
onDataAvailable IE. only Specifies a script to be run each time when a new chunk of data becomes available from the source.
onDataSetChanged IE. only Specifies a script to be run on a data source object when the initial or a new data set becomes available.
onDataSetComplete IE. only Specifies a script to be run on a data source object when all its data becomes available.
onDblClick all major browsers Specifies a script to be run when the mouse is double-clicked
onDeactivate IE. only Specifies a script to be run on the active element when it loses the active state.
onDrag Firefox, IE., Safari Specifies a script to be run periodically on the source element during the drag operation.
onDragEnd Firefox, IE., Safari Specifies a script to be run on the source element when the user has finished the drag operation.
onDragEnter Firefox, IE., Safari Specifies a script to be run on an element when the user moves the mouse pointer into it during a drag operation.
onDragLeave IE., Safari Specifies a script to be run on an element when the user moves the mouse pointer out of it during a drag operation.
onDragOver Firefox, IE., Safari Specifies a script to be run periodically on an element while the mouse pointer is over it during a drag operation.
onDragStart IE., Safari Specifies a script to be run on the source element when the user starts the drag operation.
onDrop IE., Safari Specifies a script to be run on a possible target element when the dragged data is dropped on it.
onError all major browsers Specifies a script to be run if the loading of the HTML element is unsuccessful or while loading of an external file failed..
onErrorUpdate IE. only Specifies a script to be run on a databound object when it cannot update the data in the data source object.
onFilterChange IE. only Specifies a script to be run after a filter has changed or finished a transition.
onFinish Firefox, IE. Specifies a script to be run when a <marquee> element has finished the scrolling animation.
onFocus all major browsers Specifies an script to be run when the mouse gets focus (the mouse enters the document window).
onFocusIn IE. only Specifies a script to be run before an element receives focus.
onFocusOut IE. only Specifies a script to be run after an element loses focus.
onHelp IE. only Specifies a script to be run after the user has pressed the F1 key.
onInput Firefox,Opera Specifies a script to be run when the text content of an element is changed through the user interface.
onKeyDown all major browsers Specifies a script to be run when a key is pressed.
onKeyPress all major browsers Specifies a script to be run when a key is pressed and released.
onKeyUp all major browsers Specifies a script to be run when a key is released.
onLoad all major browsers Specifies a script to be run when the document is loaded.
onLoseCapture IE. only Specifies a script to be run when the object loses the mouse capture.
onMouseDown all major browsers Specifies a script to be run when the mouse button is pressed.
onMouseEnter IE. only Specifies a script to be run when the user moves the mouse pointer into the area of an element.
onMouseLeave IE. only Specifies a script to be run when the user moves the mouse pointer out of the element.
onMouseMove all major browsers Specifies a script to be run when the mouse pointer moves.
onMouseOut all major browsers Specifies a script to be run when the mouse pointer moves out of an element.
onMouseOver all major browsers Specifies a script to be run when the mouse pointer moves over an element.
onMouseUp all major browsers Specifies a script to be run when the mouse button is released.
onMouseWheel IE., Opera, Safari Specifies a script to be run when the mouse wheel rolls.
onMove IE. only Specifies a script to be run when the position of an element's top-left corner is changed.
onMoveEnd IE. only Specifies a script to be run when the user stops dragging an absolute or relative positioned element in an editable region.
onMoveStart IE. only Specifies a script to be run when the user starts dragging an absolute or relative positioned element in an editable region.
onPaste Firefox, IE., Safari Specifies a script to be run before the contents of the clipboard are pasted into the document.
onPropertyChange IE. only Specifies a script to be run every time when the value of an element's property is changed.
onReadyStateChange IE., Opera Specifies a script to be run when the load state of the data that belongs to an element or a HTML document changes.
onReadyStateChange (XMLHttpRequest) all major browsers Specifies a script to be run when the state of the request changes.
onReset all major browsers Specifies a script to be run when a form is reset.
onResize all major browsers Specifies a script to be run when the size of an object has changed.
onResizeEnd IE. only Specifies a script to be run when the user stops resizing an element in an editable region.
onResizeStart IE. only Specifies a script to be run when the user starts to resize an element in an editable region.
onRowEnter IE. only Specifies a script to be run on a data source object when the current row in it has changed.
onRowExit IE. only Specifies a script to be run on a data source object before the current row in it changes.
onRowsDelete IE. only Specifies a script to be run on a data source object before rows are deleted.
onRowsInserted IE. only Specifies a script to be run on a data source object when rows have been inserted.
onScroll all major browsers Specifies a script to be run before the contents of an element are scrolled.
onSearch Safari Specifies a script to be run when the user presses the ENTER key or clicks the 'Erase search text' button (x) in an input:search field.
onSelect all major browsers Specifies a script to be run when some text in an HTML element is selected.
onSelectionChange IE. only Specifies a script to be run when the selection in the document has changed.
onSelectStart IE., Safari Specifies a script to be run at the start of a selection process.
onStart Firefox, IE. Specifies a script to be run when when a <marquee> element begins the scrolling animation and when a new loop starts.
onStop IE. only Specifies a script to be run when the user aborts the loading of the document.
onSubmit all major browsers Specifies a script to be run when a form is submitted.
onTextInput Safari Specifies a script to be run when some characters are entered into an element and the user presses return.
onTimeError   Specifies a script to be run when a time-related error occurs, usually as a result of setting a property to an invalid value.
onUnload all major browsers Specifies a script to be run when the document is unloaded.
OverFlow Firefox Specifies a script to be run when the contents or the size of an element is changed and it causes a scrollbar to appear.
OverFlowChanged Safari Specifies a script to be run when the contents or the size of an element is changed and it causes a scrollbar to appear or disappear.
RadioStateChange Firefox, Safari Specifies a script to be run when the state of a radio button has changed.
UnderFlow Firefox Specifies a script to be run when the contents or the size of an element is changed and it causes a scrollbar to disappear.



Add comment

Before you post a comment, please read our Comment Rules . By posting comments you agree to our Comment Rules! Your cooperation is greatly appreciated.

Login using your Facebook, Google or Twitter account.

     


Security code
Refresh