Returns the width of the
element of the current document in pixels.
gets or sets the
property of a DOM object; it only applies to the following elements:
read–only property returns either the width in pixels of the content of an element or the width of the element itself, whichever is greater. If the element is wider than its content area (for example, if there are scroll bars for scrolling through the content), the
scrollWidth is larger than the
is an abstract interface of the
which provides access to special properties and methods not present by default on a regular (XML) document.
property represents a list of the supported
for the given FORM element. This list can be comma- or space-separated.
property is an alternative name for the
element on the DOM
property is the
of content that is used to submit the form to the server. Possible values are:
represents the HTTP method used to submit the form.
HTMLFormElement.name property represents the name of the current
form element as a string.
method restores a form element's default values. This method does the same thing as clicking the form's reset button.
method submits the form. This method does something similar to activating a submit button of the form.
property represents the target of the action (i.e., the frame to render its output in).
Constructor for creating an
. The Option constructor is from the very early days of DOM scripting and has non–standard syntax, but has ubiquitous support in browsers.
is an interface representing a collection of HTML option elements (in document order) and offers methods and properties for traversing the list as well as optionally altering its items. This type is returned solely by the "options" property of
read-only property returns the type of the current style.
property represents the alignment of the table.
property represents the background color of the table.
property represents the border width of the table element.
property represents the padding around the individual cells of the table.
represents the spacing around the individual cells of the table.