All Tech Tips

HTML Objects

This section contains a list of the objects defined by Dynamic HTML (DHTML). The links take you to the object definitions, which contain the set of members for the object.

Objects

a - Designates the start or destination of a hypertext link.

acronym - Indicates an acronym abbreviation.

address - Specifies information, such as address, signature, and authorship, of the current document.

applet - Places executable content on the page.

area - Defines the shape, coordinates, and associated URL of one hyperlink region within a client-side image map.

attribute - Represents an attribute or property of an HTML element as an object.

b - Specifies that the text should be rendered in bold.

base - Specifies an explicit URL used to resolve links and references to external sources such as images and style sheets.

baseFont - Sets a base font value to be used as the default font when rendering text.

bdo - Allows authors to disable the bidirectional algorithm for selected fragments of text.

bgSound - Enables an author to create pages with background sounds or soundtracks.

big - Specifies that the enclosed text should be displayed in a larger font than the current font.

blockQuote - Sets apart a quotation in text.

body - Specifies the beginning and end of the document body.

br - Inserts a line break.

button - Specifies a container for rich HTML that is rendered as a button.

caption - Specifies a brief description for a table.

center - Centers subsequent text and images.

cite - Indicates a citation by rendering text in italic.

clientInformation - Contains information about the browser.

clipboardData - Provides access to predefined clipboard formats for use in editing operations.

code - Specifies a code sample.

col - Specifies column-based defaults for the table properties.

colGroup - Specifies property defaults for a column or group of columns in a table.

comment - Indicates a comment that is not displayed.

currentStyle - Represents the cascaded format and style of the object as specified by global style sheets, inline styles, and HTML attributes.

custom - Represents a user-defined element.

dataTransfer - Provides access to predefined clipboard formats for use in drag-and-drop operations.

dd - Indicates the definition in a definition list. The definition is usually indented in the definition list.

defaults - Programmatically sets default properties on an element behavior.

del - Indicates text that has been deleted from the document.

dfn - Indicates the defining instance of a term.

Dialog Helper - Provides access the color dialog box, as well as the block format and fonts collections.

dir - Denotes a directory list.

div - Specifies a container that renders HTML.

dl - Denotes a definition list.

document - Represents the HTML document in a given browser window.

dt - Indicates a definition term within a definition list.

em - Emphasizes text, usually by rendering it in italic.

embed - Allows documents of any type to be embedded.

event - Represents the state of an event, such as the element in which the event occurred, the state of the keyboard keys, the location of the mouse, and the state of the mouse buttons.

external - Allows access to an additional object model provided by host applications of the Microsoft Internet Explorer browser components.

fieldSet - Draws a box around the text and other elements that the field set contains.

font - Specifies a new font, size, and color to be used for rendering the enclosed text.

form - Specifies that the contained controls take part in a form.

frame - Specifies an individual frame within a FRAMESET element.

frameSet - Specifies a frameset, which is used to organize multiple frames and nested framesets.

head - Provides an unordered collection of information about the document.

history - Contains information about the URLs visited by the client.

hn - Renders text in heading style.

hr - Draws a horizontal rule.

html - Identifies the document as containing HTML elements.

HTML Comment - Prevents any enclosed text or HTML source code from being parsed and displayed in the browser window.

i - Specifies that the text should be rendered in italic, where available.

iframe - Creates inline floating frames.

img - Embeds an image or a video clip in the document.

implementation - Contains information about the modules supported by the object.

input - Creates a variety of form input controls.

input type=button - Creates a button control.

input type=checkbox - Creates a check box control.

input type=file - Creates a file upload object with a text box and Browse button.

input type=hidden - Transmits state information about client/server interaction.

input type=image - Creates an image control that, when clicked, causes the form to be immediately submitted.

input type=password - Creates a single-line text entry control similar to the INPUT type=text control, except that text is not displayed as the user enters it.

input type=radio - Creates a radio button control.

input type=reset - Creates a button that, when clicked, resets the form's controls to their initial values.

input type=submit - Creates a button that, when clicked, submits the form.

input type=text - Creates a single-line text entry control.

ins - Specifies text that has been inserted into the document.

isIndex - Causes the browser to display a dialog window that prompts the user for a single line of input.

kbd - Renders text in a fixed-width font.

label - Specifies a label for another element on the page.

legend - Inserts a caption into the box drawn by the fieldSet object.

li - Denotes one item in a list.

link - Enables the current document to establish links to external documents.

listing - Renders text in a fixed-width font.

location - Contains information about the current URL.

map - Contains coordinate data for client-side image maps.

marquee - Creates a scrolling text marquee.

menu - Creates an unordered list of items.

meta - Conveys hidden information about the document to the server and the client.

namespace - Dynamically imports an element behavior into a document.

navigator - Contains information about the browser.

nextID - Creates unique identifiers that text editing software can read.

noBR - Renders text without line breaks.

noFrames - Contains HTML for browsers that do not support FRAMESET elements.

noScript - Specifies HTML to be displayed in browsers that do not support scripting.

object - Inserts an object into the HTML page.

ol - Draws lines of text as a numbered list.

optGroup - Allows authors to group choices logically in a select element.

option - Denotes one choice in a SELECT element.

p - Denotes a paragraph.

page - Represents an @page rule within a styleSheet.

param - Sets the initial value of a property for an APPLET, EMBED, or OBJECT element.

plainText - Not currently supported.

popup - A special type of overlapped window typically used for dialog boxes, message boxes, and other temporary windows that appear separate from an application's main window.

pre - Renders text in a fixed-width font.

q - Sets apart a quotation in text.

rt - Designates the ruby text for the RUBY element.

ruby - Designates an annotation or pronunciation guide to be placed above or inline with a string of text.

rule - Represents a style within a Cascading Style Sheets (CSS) that consists of a selector and one or more declarations.

runtimeStyle - Represents the cascaded format and style of the object that overrides the format and style specified in global style sheets, inline styles, and HTML attributes.

s - Renders text in strike-through type.

samp - Specifies a code sample.

screen - Contains information about the client's screen and rendering capabilities.

script - Specifies a script for the page that is interpreted by a script engine.

select - Denotes a list box or drop-down list.

selection - Represents the active selection, which is a highlighted block of text, and/or other elements in the document on which a user or a script can carry out some action.

small - Specifies that the enclosed text should be displayed in a smaller font.

span - Specifies an inline text container.

strike - Renders text in strike-through type.

strong - Renders text in bold.

style - Represents the current settings of all possible inline styles for a given element.

style - Specifies a style sheet for the page.

styleSheet - Represents a single style sheet in the document.

sub - Specifies that the enclosed text should be displayed in subscript, using a smaller font than the current font.

sup - Specifies that the enclosed text should be displayed in superscript, using a smaller font than the current font.

table - Specifies that the contained content is organized into a table with rows and columns.

tBody - Designates rows as the body of the table.

td - Specifies a cell in a table.

textArea - Specifies a multiline text input control.

TextNode - Represents a string of text as a node in the document hierarchy.

TextRange - Represents text in an HTML element.

TextRectangle - Specifies a rectangle that contains a line of text in either an element or a TextRange object.

tFoot - Designates rows as the table's footer.

th - Specifies a header column. Header columns are centered within the cell and are bold.

tHead - Designates rows as the table's header.

title - Contains the title of the document.

tr - Specifies a row in a table.

tt - Renders text in a fixed-width font.

u - Renders text that is underlined.

ul - Draws lines of text as a bulleted list.

userProfile - Provides methods that allow a script to request read access to and perform read actions on a user's profile information.

var - Defines a programming variable. Typically renders in an italic font style.

wbr - Inserts a soft line break into a block of NOBR text.

window - Represents an open window in the browser.

xml - Defines an XML data island on an HTML page.

xmp - Renders text used for examples in a fixed-width font.



Copyright © 2006 alltechtips.com. All rights reserved.

This website and the materials and information you find on this website are provided "as is", without warranty of any kind, either express or implied, including without limitation any warranty for information, services, or products provided through or in connection with the service and any implied warranties of merchantability, fitness for a particular purpose, expectation of privacy or non-infringement.
Advertising
health | home | ip address | golf courses | recipes | flooring | rubber flooring | cd duplication | schools