Export (0) Print
Expand All

2.2.5 [DOM Level 2 - HTML] Section 1.6.5, Object definitions

V0030:

The specification states:

version of type DOMString
Version information about the document's DTD. See the version attribute definition 
in HTML 4.01. This attribute is deprecated in HTML 4.01.

All Document Modes (All Versions)

The version attribute of the HTMLHtmlElement interface returns an empty string ("").

C0003:

The specification states:

profile of type DOMString
URI designating a metadata profile. See the profile attribute definition in HTML 
4.01.

Quirks and IE7 Mode (All Versions)

The profile attribute that is returned is the same as what the author has set in the HEAD element markup.

IE8 Mode and IE9 Mode (All Versions)

The profile attribute of the HTMLHeadElement interface returns a URI with a trailing slash if missing. For example, "http://www.contoso.com" is returned as "http://www.contoso.com/"

C0004:

The specification states:

href of type DOMString 
The URI of the linked resource. See the href attribute definition in HTML 4.01.

All Document Modes (All Versions)

The value of the href attribute of the HTMLLinkElement interface is converted into an absolute URL when it is specified as a relative URL.

V0031:

The specification states:

media of type DOMString  
Designed for use with one or more target media. See the media attribute definition 
in HTML 4.01.

All Document Modes (All Versions)

The default value for the media attribute of the HTMLLinkElement is the empty string instead of the expected value of screen.

C0005:

The specification states:

aLink of type DOMString
Color of active links (after mouse-button down, but before mouse-button up). See 
the alink attribute definition in HTML 4.01. This attribute is deprecated in HTML 
4.01.

All Document Modes (All Versions)

If the value of the alink attribute for a LINK element is specified as a color string (such as black), the value is converted and stored as a hexadecimal RGB color value in the aLink attribute of the HTMLBodyElement interface.

C0006:

The specification states:

background of type DOMString 
URI of the background texture tile image. See the background attribute definition 
in HTML 4.01. This attribute is deprecated in HTML 4.01.

Quirks and IE7 Mode (All Versions)

The background attribute of the HTMLBodyElement interface is read as a relative path.

IE8 Mode and IE9 Mode (All Versions)

When the value of the background attribute for the BODY element is specified in HTML as a relative URI, the value is converted and stored as an absolute URI in the background attribute of the HTMLBodyElement interface.

C0007:

The specification states:

bgColor of type DOMString
Document background color. See the bgcolor attribute definition in HTML 4.01. This 
attribute is deprecated in HTML 4.01.

All Document Modes (All Versions)

If the value of the bgcolor attribute for a BODY element is specified as a color string (such as "black"), the value is converted and stored as a hexadecimal RGB color value in the bgColor attribute of the HTMLBodyElement interface.

C0008:

The specification states:

link of type DOMString
Color of links that are not active and unvisited. See the link attribute definition 
in HTML 4.01. This attribute is deprecated in HTML 4.01.

All Document Modes (All Versions)

If the value of the link attribute for a BODY element is specified in HTML as a color string (such as black), the value is converted and stored as a hexadecimal RGB color value in the link attribute of the HTMLBodyElement interface.

C0009:

The specification states:

vLink of type DOMString
Color of links that have been visited by the user. See the vlink attribute 
definition in HTML 4.01. This attribute is deprecated in HTML 4.01.

All Document Modes (All Versions)

If the value of the vlink attribute for a BODY element is specified in HTML as a color string (such as black), the value is converted and stored as a hexadecimal RGB color value in the vLink attribute of the HTMLBodyElement interface.

V0032:

The specification states:

acceptCharset of type DOMString  
List of character sets supported by the server. See the accept-charset attribute 
definition in HTML 4.01.

All Document Modes (All Versions)

If the value of the acceptCharset attribute of the HTMLFormElement interface is not set, a default value of UNKNOWN is returned instead of the value of ISO-8859-1.

C0010:

The specification states:

action of type DOMString
Server-side form handler. See the action attribute definition in HTML 4.01.

Quirks and IE7 Mode (All Versions)

The value of the action attribute of the HTMLFormElement interface is preserved and is not converted into an absolute URI.

IE8 Mode and IE9 Mode (All Versions)

When the value of the action attribute for the FORM element is specified in HTML as a relative URI, the value is converted and stored as an absolute URI in the action attribute of the HTMLFormElement interface.

V0033:

The specification states:

elements of type HTMLCollection, readonly
Returns a collection of all form control elements in the form.

All Document Modes (All Versions)

FIELDSET elements are included in the collection of all form control elements returned by the elements attribute.

V0034:

The specification states:

length of type long, readonly
The number of form controls in the form.

All Document Modes (All Versions)

FIELDSET elements are included in the collection of all form control elements enumerated by the length attribute.

C0011:

The specification states:

length of type unsigned long, modified in DOM Level 2
The number of options in this SELECT.

Exceptions on setting 
DOMException   NOT_SUPPORTED_ERR: if setting the length is not allowed by the 
implementation.

All Document Modes (All Versions)

Setting the value of the length attribute is allowed. The number of options in this SELECT element is increased or decreased (added or removed from the end of the options collection) as required.

C0012:

The specification states:

selectedIndex of type long
The ordinal index of the selected option, starting from 0. The value -1 is returned 
if no element is selected. If multiple options are selected, the index of the first 
selected option is returned.

All Document Modes (All Versions)

By default, the first option of a SELECT element is selected (the selected property on the first OPTION element is set to TRUE). The value -1 is never returned by selectedIndex when the SELECT element does not have its multiple attribute set.

C0013:

The specification states:

size of type long
Number of visible rows. See the size attribute definition in HTML 4.01.

All Document Modes (All Versions)

If no value is specified for the size attribute of the SELECT element (or the value is not a number) then the size attribute of the HTMLSelectElement interface is assigned the value 0.

C0014:

The specification states:

tabIndex of type long  
Index that represents the element's position in the tabbing order. See the tabindex 
attribute definition in HTML 4.01.

Quirks and IE7 Mode (All Versions)

The tabIndex attribute of the HTMLSelectElement interface accepts any invalid value. The value of the attribute defaults to 0 if no value is specified in HTML.

IE8 Mode and IE9 Mode (All Versions)

If no value, or an invalid value, is specified for the tabindex attribute of a SELECT element, the tabIndex attribute of the HTMLSelectElement interface defaults to a value of 0.

C0015:

The specification states:

Interface HTMLInputElement
Form control.
Note: Depending upon the environment in which the page is being viewed, the value 
property may be read-only for the file upload input type. For the "password" input 
type, the actual value returned may be masked to prevent unauthorized use.

All Document Modes (All Versions)

The value attribute of the HTMLInputElement interface is read-only when its value is set to file. When its value is set to password, the password value is not masked.

All Document Modes (All Versions)

Setting the type attribute of the HTMLInputElement interface to an invalid value throws a JScript Error object with a description of "Invalid argument" and an error number of 0x80070057 (-2147024809).

C0016:

The specification states:

checked of type boolean
When the type attribute of the element has the value "radio" or "checkbox", this 
represents the current state of the form control, in an interactive user agent. 
Changes to this attribute change the state of the form control, but do not change 
the value of the HTML checked attribute of the INPUT element. Note: During the 
handling of a click event on an input element with a type attribute that has the 
value "radio" or "checkbox", some implementations may change the value of this 
property before the event is being dispatched in the document. If the default 
action of the event is canceled, the value of the property may be changed back to 
its original value. This means that the value of this property during the handling 
of click events is implementation dependent.

All Document Modes (All Versions)

If the default action of the click event is canceled, the value of the checked attribute of the HTMLInputElement interface is changed back to its original value.

The value of the checked attribute of the HTMLInputElement interface changes before a click event is dispatched.

V0035:

The specification states:

value of type DOMString
The current form control value. See the value attribute definition in HTML 4.01.

Quirks and IE7 Mode (All Versions)

The value attribute of the HTMLButtonElement interface returns the contents of the element.

C0017:

The specification states:

href of type DOMString
The absolute URI of the linked resource. See the href attribute definition in HTML 
4.01.

All Document Modes (All Versions)

A slash (/) is added to the end of the URI if a file name is not specified.

C0018:

The specification states:

shape of type DOMString
The shape of the active area. The coordinates are given by coords. See the shape 
attribute definition in HTML 4.01.

IE8 Mode and IE9 Mode (All Versions)

If the value of the shape attribute for the A element is set to default, the shape attribute of the HTMLAnchorElement interface is set to rect.

V0036:

The specification states:

focus
Gives keyboard focus to this element. 
No Parameters
No Return Value
No Exceptions

All Document Modes (Internet Explorer 7)

The focus method of the HTMLAnchorElement interface is not supported.

C0019:

The specification states:

longDesc of type DOMString
URI designating a long description of this image or frame. See the longdesc 
attribute definition in HTML 4.01.

IE8 Mode and IE9 Mode (All Versions)

When the value of the longdesc attribute for the IMAGE element is specified in HTML as a relative URI, the value is converted and stored as an absolute URI in the longDesc attribute of the HTMLImageElement interface.

C0020:

The specification states:

src of type DOMString
URI designating the source of this image. See the src attribute definition in HTML 
4.01.

IE8 Mode and IE9 Mode (All Versions)

When the value of the src attribute for the IMAGE element is specified in HTML as a relative URI, the value is converted and stored as an absolute URI in the src attribute of the HTMLImageElement.

V0037:

The specification states:

Interface HTMLObjectElement
Generic embedded object.
Note: In principle, all properties on the object element are read-write but in some 
environments some properties may be read-only once the underlying object is 
instantiated. See the OBJECT element definition in HTML 4.01.

IDL Definition
interface HTMLObjectElement : HTMLElement {
readonly attribute HTMLFormElement form;
attribute DOMString       code;
attribute DOMString       align;
attribute DOMString       archive;
attribute DOMString       border;
attribute DOMString       codeBase;
attribute DOMString       codeType;
attribute DOMString       data;
attribute boolean         declare;
attribute DOMString       height;
attribute long            hspace;
attribute DOMString       name;
attribute DOMString       standby;
attribute long            tabIndex;
attribute DOMString       type;
attribute DOMString       useMap;
attribute long            vspace;
attribute DOMString       width;
// Introduced in DOM Level 2:readonly 
attribute Document        contentDocument;
};

Quirks Mode and IE7 Mode (All Versions)

The contentDocument attribute of the HTMLObjectElement interface is undefined.

Quirks Mode and IE7 Mode (Internet Explorer 7 and Internet Explorer 8)

The vspace and hspace attributes are of type string.

V0038:

The specification states:

align of type DOMStringAligns this object (vertically or horizontally) with respect 
to its surrounding text. See the align attribute definition in HTML 4.01. This 
attribute is deprecated in HTML 4.01. 

All Document Modes (All Versions)

The align attribute of the HTMLObjectElement interface is undefined. Its value defaults to bottom.

V0039:

The specification states:

contentDocument of type Document, readonly, introduced in DOM Level 2
The document this object contains, if there is any and it is available, or null 
otherwise.

Quirks Mode, IE7 Mode, and IE8 Mode (All Versions)

The contentDocument attribute is not supported on the HTMLObjectElement interface.

C0021:

The specification states:

data of type DOMString
A URI specifying the location of the object's data. See the data attribute 
definition in HTML 4.01.

Quirks Mode and IE7 Mode (All Versions)

The data attribute of the HTMLObjectElement interface returns a URI as a relative path.

IE8 Mode and IE9 Mode (All Versions)

The data attribute of the HTMLObjectElement interface returns a URI as an absolute path.

C0022:

The specification states:

standby of type DOMString
Message to render while loading the object. See the standby attribute definition in 
HTML 4.01.

All Document Modes (All Versions)

The standby attribute is not supported on the HTMLObjectElement interface.

C0023:

The specification states:

useMap of type DOMString
Use client-side image map. See the usemap attribute definition in HTML 4.01.

All Document Modes (All Versions)

The useMap attribute of the HTMLObjectElement interface is not supported for a MAP element that is a child of an OBJECT element.

V0040:

The specification states:

 

Interface HTMLParamElement
Parameters fed to the OBJECT element. See the PARAM element definition in HTML 
4.01.
IDL Definition
interface HTMLParamElement : HTMLElement {
attribute DOMString       name;
attribute DOMString       type;
attribute DOMString       value;
attribute DOMString       valueType;
};

Quirks Mode, IE7 Mode, and IE8 Mode (Internet Explorer 7 and Internet Explorer 8)

All attributes of the HTMLParamElement interface are defined only when they are defined in the markup. For an undefined attribute, HTMLParamElement returns undefined.

V0041:

The specification states:

valueType of type DOMString
Information about the meaning of the value attribute value. See the valuetype 
attribute definition in HTML 4.01.

Quirks Mode and IE7 Mode (All Versions)

The valueType attribute of the HTMLParamElement interface returns undefined, not the default value data. If the valuetype attribute of a PARAM element is not specified in HTML, the valueType attribute of the HTMLParamElement interface returns undefined as the default value.

V0042:

The specification states:

Interface HTMLAppletElement
An embedded Java applet. See the APPLET element definition in HTML 4.01. This 
element is deprecated in HTML 4.01.

IDL Definition
interface HTMLAppletElement : HTMLElement {
attribute DOMString       align;
attribute DOMString       alt;
attribute DOMString       archive;
attribute DOMString       code;
attribute DOMString       codeBase;
attribute DOMString       height;
// Modified in DOM Level 2:
attribute long            hspace;
attribute DOMString       name;
// Modified in DOM Level 2:
attribute DOMString       object;
// Modified in DOM Level 2:
attribute long            vspace;
attribute DOMString       width;
};

All Document Modes (All Versions)

The object attribute of the HTMLAppletElement interface is of type object.

C0024:

The specification states:

href of type DOMString
The URI of the linked resource. See the href attribute definition in HTML 4.01.

All Document Modes (All Versions)

A slash (/) is appended to the end of the URI if a file name is not specified.

IE8 Mode and IE9 Mode (All Versions)

A slash (/) is appended to the end of the href attribute of the HTMLAreaElement interface when the href attribute does not end with a slash.

V0043:

The specification states:

noHref of type boolean
Specifies that this area is inactive, i.e., has no associated action. See the 
nohref attribute definition in HTML 4.01. 

All Document Modes (All Versions)

The noHref attribute of the HTMLAreaElement interface is read-only.

C0025:

The specification states:

interface HTMLAreaElement : HTMLElement
shape of type DOMString. 
The shape of the active area. The coordinates are given by coords. See the shape attribute definition in HTML 4.01. 

Quirks Mode and IE7 Mode (All Versions)

The value of the shape attribute of the HTMLAreaElement interface is converted to uppercase.

IE8 Mode and IE9 Mode (All Versions)

If the value of the shape attribute for the AREA element is set to default in markup, the shape attribute of the HTMLAreaElement interface is set to rect.

C0026:

The specification states:

src of type DOMString
URI designating an external script.

IE8 Mode and IE9 Mode (All Versions)

When the value of the src attribute for the SCRIPT element is specified in HTML as a relative URI, the value is converted and stored as an absolute URI in the src attribute of the HTMLScriptElement interface.

V0044:

The specification states:

Interface HTMLTableElement
The create* and delete* methods on the table allow authors to construct and modify 
tables. [HTML 4.01] specifies that only one of each of the CAPTION, THEAD, and 
TFOOT elements may exist in a table. Therefore, if one exists, and the 
createTHead() or createTFoot() method is called, the method returns the existing 
THead or TFoot element. See the TABLE element definition in HTML 4.01.

IDL Definition

interface HTMLTableElement : HTMLElement {
// Modified in DOM Level 2:
attribute HTMLTableCaptionElement caption;
// raises(DOMException) on setting
// Modified in DOM Level 2:
attribute HTMLTableSectionElement tHead;
// raises(DOMException) on setting
// Modified in DOM Level 2:
attribute HTMLTableSectionElement tFoot;
// raises(DOMException) on setting
readonly attribute HTMLCollection  rows;
readonly attribute HTMLCollection  tBodies;
attribute DOMString       align;
attribute DOMString       bgColor;
attribute DOMString       border;
attribute DOMString       cellPadding;
attribute DOMString       cellSpacing;
attribute DOMString       frame;
attribute DOMString       rules;
attribute DOMString       summary;
attribute DOMString       width;
HTMLElement        createTHead();
void               deleteTHead();
HTMLElement        createTFoot();
void               deleteTFoot();
HTMLElement        createCaption();
void               deleteCaption();
// Modified in DOM Level 2:
HTMLElement        insertRow(in long index)raises(DOMException);
// Modified in DOM Level 2:
void               deleteRow(in long index)raises(DOMException);
};

Quirks Mode, IE7 Mode, and IE8 Mode (All Versions)

 

The following methods are not supported on the HTMLTableElement interface:

  • createTHead

  • deleteTHead

  • createTFoot

  • deleteTFoot

  • createCaption

  • deleteCaption

  • insertRow

  • deleteRow

C0027:

The specification states:

bgColor of type DOMString
Cell background color. See the bgcolor attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.

Quirks Mode, IE7 Mode, and IE8 Mode (All Versions)

If the value of the bgcolor attribute for a TABLE element is specified as a color string (such as black), the value is converted and stored as a hexadecimal RGB color value in the bgColor attribute of the HTMLTableElement interface.

V0045:

The specification states:

caption of type HTMLTableCaptionElement, modified in DOM Level 2

Returns the table's CAPTION, or void if none exists.

Exceptions on setting 
DOMExceptionHIERARCHY_REQUEST_ERR: if the element is not a CAPTION. 

IE7 Mode and IE8 Mode (All Versions)

The caption attribute of the HTMLTableElement interface is read-only. If this attribute is set, an error object with an error message of "Member not found" and an HRESULT of 2147352573 is returned.

C0028:

The specification states:

rows of type HTMLCollection, readonly

Returns a collection of all the rows in the table, including all in THEAD, TFOOT, all TBODY elements.

All Document Modes (All Versions)

The rows attribute of the HTMLTableElement interface returns a collection of all rows in the following order: all thead rows, all tbody rows (in document order), and all tfoot rows.

C0029:

The specification states:

rules of type DOMString

Specifies which internal table borders to render. See the rules attribute definition in HTML 4.01.

All Document Modes (All Versions)

If the rules attribute of a TABLE element is not specified in HTML, the rules attribute of the HTMLTableElement interface returns an empty string as the default value.

V0046:

The specification states:

tBodies of type HTMLCollection, readonly

Returns a collection of the table bodies (including implicit ones).

Quirks Mode, IE7 Mode, and IE8 Mode (All Versions)

If a TABLE element contains more than one THEAD or TFOOT element, the tBodies attribute of the HTMLTableElement interface includes these additional THEAD and TFOOT elements in its collection of table bodies.

V0047:

The specification states:

tFoot of type HTMLTableSectionElement, modified in DOM Level 2

Returns the table's TFOOT, or null if none exists.

Exceptions on setting 
DOMException HIERARCHY_REQUEST_ERR: if the element is not a TFOOT.

Quirks Mode, IE7 Mode, IE8 Mode, IE9 Mode and IE10 Mode (All Versions)

If an object of a type other than HTMLTableSectionElement is assigned to the tFoot property, an error object with an error message of "Member not found" and an HRESULT of 2147352573 is returned.

IE11 Mode and Edge (beta) Mode (All Versions)

If an object of a type other than HTMLTableSectionElement is assigned to the tFoot property, then "Error: No such interface supported" is thrown.

V0048:

The specification states:

tHead of type HTMLTableSectionElement, modified in DOM Level 2

Returns the table's THEAD, or null if none exists.

Exceptions on setting 
DOMException HIERARCHY_REQUEST_ERR: if the element is not a THEAD.

Quirks Mode, IE7 Mode, IE8 Mode, IE9 Mode and IE10 Mode (All Versions)

If an object of a type other than HTMLTableSectionElement is assigned to the tHead property, an error object with an error message of "Member not found" and an HRESULT of 2147352573 is returned.

IE11 Mode and Edge (beta) Mode (All Versions)

If an object of a type other than HTMLTableSectionElement is assigned to the tHead property, then "Error: No such interface supported" is thrown.

V0049:

The specification states:

deleteRow modified in DOM Level 2
Delete a table row.
 
Parameters 
index of type long
The index of the row to be deleted. This index starts from 0 and is relative 
to the logical order (not document order) of all the rows contained inside 
the table. If the index is -1 the last row in the table is deleted.

Exceptions 
DOMException INDEX_SIZE_ERR: Raised if the specified index is greater 
than or equal to the number of rows or if the index is a negative number 
other than -1.

No Return Value

Quirks Mode, IE7 Mode, and IE8 Mode (All Versions)

 

If the specified index is greater than or equal to the number of rows or if the index is a negative number other than –1, the deleteRow method of the HTMLTableElement interface throws a JSErrors exception with an error message of "Invalid argument" and an HRESULT of 2147024809 is returned.

V0050:

The specification states:

deleteTFoot
Delete the footer from the table, if one exists. 

No Parameters
No Return Value
No Exceptions 

 

All Document Modes (All Versions)

The deleteTFoot method of the HTMLTableElement interface deletes the tFoot element and its child nodes from the table, resulting in inaccessible child nodes.

V0051:

The specification states:

deleteTHead
Delete the header from the table, if one exists. 
No Parameters
No Return Value
No Exceptions

 

All Document Modes (All Versions)

The deleteTHead method of the HTMLTableElement interface deletes the tHead element and its child nodes from the table, resulting in inaccessible child nodes.

V0052:

The specification states:

insertRow modified in DOM Level 2
Insert a new empty row in the table. The new row is inserted immediately before and 
in the same section as the current indexth row in the table. If index is -1 or 
equal to the number of rows, the new row is appended. In addition, when the table 
is empty the row is inserted into a TBODY which is created and inserted into the 
table. 

Note: A table row cannot be empty according to [HTML 4.01].Parameters index of type 
longThe row number where to insert a new row. This index starts from 0 and is 
relative to the logical order (not document order) of all the rows contained inside 
the table.

Return Value HTMLElement
The newly created row.

Exceptions 
DOMException INDEX_SIZE_ERR: Raised if the specified index is greater than 
the number of rows or if the index is a negative number other than -1.

Quirks Mode, IE7 Mode, and IE8 Mode (All Versions)

If the specified index is greater than the number of rows or if the index is a negative number other than –1, the insertRow method of the HTMLTableElement interface throws a JSError exception with an error message of "Invalid argument" and an HRESULT of 2147024809.

V0053:

The specification states:

align of type DOMString
Horizontal alignment of data in cells. See the align attribute for HTMLTheadElement 
for details.

All Document Modes (All Versions)

If the value of the align attribute for a TBODY, THEAD, or TFOOT element is set to char or justify, the align attribute of the HTMLTableSectionElement interface returns an empty string.

V0054:

The specification states:

 

ch of type DOMStringAlignment character for cells in a column. See the char 
attribute definition in HTML 4.01.

Quirks Mode, IE7 Mode, and IE8 Mode (All Versions)

The ch attribute of the HTMLTableSectionElement interface returns an empty string.

V0055:

The specification states:

 

chOff of type DOMStringOffset of alignment character. See the charoff attribute 
definition in HTML 4.01.

All Document Modes (All Versions)

The chOff attribute of the HTMLTableSectionElement interface returns an empty string.

V0056:

The specification states:

deleteRow modified in DOM Level 2

Delete a row from this section. 

Parameters 
index of type long
The index of the row to be deleted, or -1 to delete the last row. This index starts
 from 0 and is relative only to the rows contained inside this section, not all the
 rows in the table.

Exceptions 
DOMException
INDEX_SIZE_ERR: Raised if the specified index is greater than or equal to the 
number of rows or if the index is a negative number other than -1.

Quirks Mode, IE7 Mode, and IE8 Mode (All Versions)

If the specified index is greater than or equal to the number of rows or if the index is a negative number other than –1, the deleteRow method of the HTMLTableSectionElement interface throws a JSError exception with an error message of "Invalid argument" and an HRESULT of 2147024809 is returned.

V0057:

The specification states:

insertRow modified in DOM Level 2

Insert a row into this section. The new row is inserted immediately before the 
current indexth row in this section. If index is -1 or equal to the number of rows 
in this section, the new row is appended. 

Parameters 
index of type long
The row number where to insert a new row. This index starts from 0 and is relative 
only to the rows contained inside this section, not all the rows in the table.

Return Value 
HTMLElement The newly created row.

Quirks Mode, IE7 Mode, and IE8 Mode (All Versions)

If the specified index is greater than the number of rows or if the index is a negative number other than –1, the insertRow method of the HTMLTableSectionElement interface throws a JSError exception with an error message of "Invalid argument" and an HRESULT of 2147024809 is returned.

V0058:

The specification states:

align of type DOMStringHorizontal alignment of data in cell. See the align 
attribute definition in HTML 4.01.

All Document Modes (All Versions)

If the value of the align attribute for a TR or TD element is set to char or justify, the align attribute of the HTMLTableCellElement interface returns an empty string.

C0030:

The specification states:

bgColor of type DOMString
Cell background color. See the bgcolor attribute 
definition in HTML 4.01. This attribute is deprecated in HTML 4.01.

Quirks Mode, IE7 Mode, and IE8 Mode (All Versions)

If the value of the bgcolor attribute for a TH or TD element is specified as a color string (such as black), the value is converted and stored as a hexadecimal RGB color value in the bgColor attribute of the HTMLTableCellElement interface.

V0059:

The specification states:

ch of type DOMStringAlignment character for cells in a column. See the char 
attribute definition in HTML 4.01.

Quirks Mode, IE7 Mode, and IE8 Mode (All Versions)

 

The ch attribute of the HTMLTableCellElement interface has no association with the char attribute.

V0060:

The specification states:

 

chOff of type DOMStringOffset of alignment character. See the charoff attribute 
definition in HTML 4.01.

Quirks and IE7 Mode (All Versions)

The chOff attribute of the HTMLTableCellElement interface has no association with the charoff attribute.

C0031:

The specification states:

 

height of type DOMStringCell height. See the height attribute definition in HTML 
4.01. This attribute is deprecated in HTML 4.01.

All Document Modes (All Versions)

The height attribute of the HTMLTableCellElement interface is serialized with the "px" suffix removed if present.

C0032:

The specification states:

 

noWrap of type booleanSuppress word wrapping. See the nowrap attribute definition 
in HTML 4.01. This attribute is deprecated in HTML 4.01.

All Document Modes (All Versions)

The noWrap attribute of the HTMLTableCellElement interface returns true when its value is set; otherwise, it returns false.

C0033:

The specification states:

longDesc of type DOMString
URI [IETF RFC 2396] designating a long description of 
this image or frame. See the longdesc attribute definition in HTML 4.01.

IE8 Mode and IE9 Mode (All Versions)

When the value of the longdesc attribute for the IFRAME element is specified in HTML as a relative URI, the value is converted and stored as an absolute URI in the longDesc attribute of the HTMLIFrameElement interface.

C0034:

The specification states:

src of type DOMString
A URI [IETF RFC 2396] designating the initial frame contents.
 See the src attribute definition in HTML 4.01. 

IE8 Mode and IE9 Mode (All Versions)

When the value of the src attribute for the IFRAME element is specified in HTML as a relative URI, the value is converted and stored as an absolute URI in the src attribute of the HTMLIFrameElement interface.

Show:
© 2015 Microsoft