HTML DOM Textarea Object
November 14th, 2010 by aBisona
Textarea Object
The Textarea object represents a text-area in an HTML form.
For each <textarea> tag in an HTML form, a Textarea object is created.
You can access a Textarea object by indexing the elements array (by number or name) of the form or by using getElementById().
Textarea Object Properties
W3C: W3C Standard.
Property
Description
W3C
cols
Sets or returns the width of a textarea
Yes
defaultValue
Sets...HTML DOM TableRow Object
November 14th, 2010 by aBisona
TableRow Object
The TableRow object represents an HTML table row.
For each <tr> tag in an HTML document, a TableRow object is created.
TableRow Object Collections
W3C: W3C Standard.
Collection
Description
W3C
cells[]
Returns an array containing each cell in the table row
Yes
TableRow Object Properties
Property
Description
W3C
align
Sets or returns the horizontal alignment of data within ...HTML DOM TableCell Object
November 14th, 2010 by aBisona
TableCell Object
The TableCell object represents an HTML table cell.
For each <td> tag in an HTML document, a TableCell object is created.
TableCell Object Properties
W3C: W3C Standard.
Property Description W3C
abbr
Sets or returns an abbreviated version of the content in a table cell
Yes
align
Sets or returns the horizontal alignment of data within a table cell
Yes
axis
Sets or returns...HTML DOM Table Object
November 14th, 2010 by aBisona
Table Object
The Table object represents an HTML table.
For each <table> tag in an HTML document, a Table object is created.
Table Object Collections
W3C: W3C Standard.
Collection
Description
W3C
cells[]
Returns an array containing each cell in a table
No
rows[]
Returns an array containing each row in a table
Yes
tBodies[]
Returns an array containing each tbody in a table
Yes
Table Object...HTML DOM Style Object
November 14th, 2010 by aBisona
Style object
The Style object represents an individual style statement.
The Style object can be accessed from the document or from the elements to which that style is applied.
Syntax for using the Style object properties:
document.getElementById(“id“).style.property=”value”
The Style object property categories:
Background
Border and Margin
Layout
List
Misc
Positioning
Printing
Table
Text
Background...HTML DOM Select Object
November 14th, 2010 by aBisona
Select Object
The Select object represents a dropdown list in an HTML form.
For each <select> tag in an HTML form, a Select object is created.
You can access a Select object by searching through the elements[] array of the form, or by using document.getElementById().
Select Object Collections
W3C: W3C Standard.
Collection
Description
W3C
options[]
Returns an array of all the options in a dropdown...HTML DOM Option Object
November 14th, 2010 by aBisona
Option Object
The Option object represents an option in a dropdown list in an HTML form.
For each <option> tag in an HTML form, an Option object is created.
You can access an Option object by searching through the elements[] array of the form, or by using document.getElementById().
Option Object Properties
W3C: W3C Standard.
Property
Description
W3C
defaultSelected
Returns the default value...HTML DOM Object Object
November 14th, 2010 by aBisona
Object Object
The Object object represents an HTML object element.
The <object> tag is used to include objects such as images, audio, videos, Java applets, ActiveX, PDF, and Flash into a webpage.
Object Properties
W3C: W3C Standard.
Property
Description
W3C
align
Sets or returns the alignment of the object according to the surrounding text
Yes
archive
Sets or returns a string that can be used...HTML DOM Meta Object
November 14th, 2010 by aBisona
Meta Object
The Meta object represents an HTML meta element.
Metadata is information about data.
The <meta> tag provides metadata about the HTML document. Metadata will not be displayed on the page, but will be machine parsable.
Meta elements are typically used to specify page description, keywords, author of the document, last modified, and other metadata.
The <meta> tag always goes...HTML DOM Link Object
November 14th, 2010 by aBisona
Link Object
The Link object represents an HTML link element.
A link element defines the relationship between two linked documents.
The link element is defined in the head section of an HTML document.
Link Object Properties
W3C: W3C Standard.
Property
Description
W3C
charset
Sets or returns the character encoding of the target URL
Yes
disabled
Sets or returns whether or not the target URL should be...HTML DOM Text Object
November 14th, 2010 by aBisona
Text Object
The Text object represents a text-input field in an HTML form.
For each <input type=”text”> tag in an HTML form, a Text object is created.
You can access a text-input field by searching through the elements[] array of the form, or by using document.getElementById().
Text Object Properties
W3C: W3C Standard.
Property
Description
W3C
alt
Sets or returns an alternate text...HTML DOM Submit Object
November 14th, 2010 by aBisona
Submit Object
The Submit object represents a submit button in an HTML form.
For each <input type=”submit”> tag in an HTML form, a Submit object is created.
Example: Form validation
You can access a submit button by searching through the elements[] array of the form, or by using document.getElementById().
Submit Object Properties
W3C: W3C Standard.
Property
Description
W3C
alt
Sets...