Quick Reference of DOM-related content _ basic knowledge

Source: Internet
Author: User
DOM-related content quick query manual object returns included objects.
OffscreenBuffering sets or obtains whether to draw an object out of the screen before it is visible to the user.
OffsetHeight gets the height of the object relative to the layout or the parent coordinate specified by the parent coordinate offsetParent attribute.
OffsetLeft obtains the left position of the object relative to the layout or the parent coordinate specified by the offsetParent attribute.
OffsetParent gets the reference of the container Object Defining the offsetTop and offsetLeft attributes of the object.
OffsetTop obtains the top position of an object relative to the layout or the parent coordinate specified by the offsetTop attribute.
OffsetWidth gets the width of the object relative to the layout or the parent coordinate specified by the parent coordinate offsetParent attribute.
OffsetX is used to set or obtain the x coordinate between the cursor position and the object that triggers the event.
OffsetY is used to set or obtain the y coordinate of the object relative to the trigger event.
OnLine query indicates whether the system is in global offline mode.
Opener sets or gets a reference to the window used to create the current window.
OuterHTML sets or obtains the HTML format of the object and its content.
OuterText sets or retrieves the object text.
Overflow sets or gets the value that indicates how to manage the object content when the content exceeds the object height or width.
OverflowX sets or gets how to manage object content when the content exceeds the object width.
OverflowY sets or gets how to manage object content when the content exceeds the object height.
OwnerDocument sets or obtains the document Object associated with the node.
The owningElement obtains the next object in the HTML hierarchy.
Padding is used to set or obtain all the space to be inserted between the object and its margin or the existing border.
PaddingBottom sets or obtains the total space to be inserted between the border and content under the object.
Set or obtain the total space to be inserted between the left border and content of the object.
Set or obtain the total space to be inserted between the right border and content of the object.
PaddingTop is used to set or obtain the total space inserted between the border and content on the object.
PageBreakAfter is used to set or obtain a string that indicates that the object is paginated.
PageBreakBefore is used to set or obtain a string that indicates a page break before an object.
Palette gets the palette used for embedded documents.
Parent obtains the parent window in the object hierarchy.
ParentElement obtains the parent object in the object hierarchy.
ParentNode obtains the parent object in the document level.
ParentStyleSheet gets the style sheet imported to the current style sheet.
ParentTextEdit obtains the document level and can be used to create a TextRange container object containing the original object.
ParentWindow gets the reference of the window where the container object is located.
Set or retrieve the specified file name or path of the object.
PixelBottom sets or obtains the position below the object.
PixelHeight: sets or obtains the object height.
PixelLeft is used to set or obtain the left position of an object.
PixelRight is used to set or obtain the right position of an object.
PixelTop is used to set or obtain the top position of an object.
PixelWidth specifies or obtains the width of an object.
Platform obtains the user's operating system name.
Pluginspage gets the plug-in URL used to view embedded documents.
Set or obtain the port number associated with the URL.
PosBottom sets or gets the position below the object in the unit specified by the bottom label attribute.
PosHeight sets or gets the object height in the unit specified by the height label attribute.
Position to set or obtain the positioning method used by the object.
PosLeft sets or gets the left position of the object in the unit specified by the left tag attribute.
PosRight is used to set or obtain the right position of the object in the unit specified by the right label attribute.
PosTop sets or gets the position above the object in the unit specified by the top tag attribute.
PosWidth sets or gets the object width in the unit specified by the width label attribute.
Previussibling gets a reference to the previous sibling object of this object.
Profile sets or obtains the attributes of an object and one or more Uris defined by the valid values of these attributes.
PropertyName: set or obtain the property name that has been changed on the object.
The protocol that sets or retrieves a URL.
Pseudo class gets the pseudo-class string of the page to which the @ page rule is applied.
Qualifier sets or gets the name of the data member provided by the data source object.
ReadOnly obtains the rule or style sheet, which is defined on the page or imported.
ReadOnly is used to set or obtain a value indicating whether the object content is read-only.
ReadyState: Get the current state of the object.
ReadyState: Get the current state of the object.
ReadyState: Get the current state of the object.
Reason sets or obtains the data transmission result of the data source object.
RecordNumber gets the original records of the objects generated in the dataset.
Recordset sets or obtains references to the default dataset from the data source object.
Referrer obtains the URL of the location where the user is introduced to the current page.
Rel sets or obtains the relationship between objects and links.
Repeat checks whether the onkeydown event is repeated.
ReturnValue: set or obtain the value returned by the slave mode dialog box.
ReturnValue is used to set or obtain the return value of an event.
Rev sets or obtains the relationship between objects and links.
Right to set or obtain the right coordinate of the rectangle around the object content.
Right sets or gets the right boundary position of an object relative to the object located in the lower part of the document level.
RightMargin sets or obtains the right margin of the entire body of the page, rather than the default margin.
RowIndex obtains the position of an object in the table's rows set.
Rows sets or retrieves the number of horizontal rows contained in an object.
Rows sets or obtains the framework height of an object.
RowSpan sets or obtains the number of rows in a table to be crossed by a cell.
RubyAlign sets or obtains the location of the phonetic text specified by the rt object.
RubyOverhang sets or obtains the location of the phonetic text specified by the rt object.
RubyPosition sets or gets the location of the phonetic text specified by the rt object.
Rules sets or gets the separators (internal borders) to be displayed ).
SaveType obtains the clipboard type when oncontentsave is triggered.
Scheme sets or gets a scheme for interpreting the attribute value specified by the object.
Scope sets or obtains the tag cell group applied to the object information.
ScopeName gets the namespace defined for this element.
ScreenLeft: Obtain the x coordinates in the upper left corner of the browser client area relative to the upper left corner of the screen.
ScreenTop obtains the y coordinate in the upper left corner of the browser's client area relative to the upper left corner of the screen.
ScreenX is used to set or obtain the x coordinates of the cursor position relative to the user's screen.
ScreenY is used to set or obtain the y coordinate of the mouse pointer position relative to the user's screen.
Scroll sets or gets whether to disable the scroll.
ScrollAmount is used to set or obtain the number of text scroll shards between the draw sequence of each subtitle.
Scrollbar3dLightColor sets or gets the upper left color of the scroll button and scroll slider on the scroll bar.
ScrollbarArrowColor sets or gets the color of the scroll arrow.
ScrollbarBaseColor sets or gets the main color of the scroll bar, which includes the scroll button and scroll slider.
ScrollbarDarkShadowColor sets or gets the color of the chute on the scroll bar.
ScrollbarFaceColor sets or gets the color of the scroll arrow of the scroll bar and scroll bar.
ScrollbarHighlightColor sets or gets the color of the upper left edge of the scroll box and scroll bar scroll arrow.
ScrollbarShadowColor sets or gets the color of the bottom right edge of the scroll box and scroll bar scroll arrow.
ScrollbarTrackColor sets or gets the color of the scroll bar track element.
ScrollDelay sets or obtains the speed of subtitle scrolling.
ScrollHeight: gets the scroll height of an object.
Scrolling sets or obtains whether the framework can be rolled.
ScrollLeft sets or gets the distance between the left edge of the object and the leftmost end of the currently visible content in the window.
ScrollTop sets or gets the distance between the top of the object and the top of the visible content in the window.
ScrollWidth obtains the scroll width of an object.
Search sets or obtains the Section following the question mark in the href attribute.
SectionRowIndex obtains the position of the object in the tBody, tHead, tFoot, or rows set.
SECURITY obtains whether the source file of frame or iframe has applied the specified SECURITY limit value.
Select to set or obtain whether the options in the list box are the default items.
SelectedIndex sets or obtains the position of the selected option in the select object.
Selector obtains the string of the page to which the @ page rule is applied.
SelectorText gets the string that identifies the element to which the corresponding style sheet rule applies.
Self gets a reference to the current window or framework.
Shape to set or obtain the shape of an object.
ShiftKey sets or obtains the status of the Shift key.
ShiftLeft sets or obtains the status of the Left Shift key.
Set or obtain the font size of the object.
Set the size or obtain the height of the hr object.
Set or obtain the widget size.
Set the size or obtain the number of rows in the list.
SourceIndex obtains the sequential position of objects in the source order, that is, the order in which objects appear in the all set of documents.
Span sets or obtains the number of columns in the group.
Specified checks whether this attribute is specified.
Src sets or gets the URL of the sound to be played.
Src: Obtain the URL of an external file containing source code or data.
Set or retrieve the URL to be loaded by the object in src.
SrcElement sets or gets the object that triggers the event.
SrcFilter sets or gets the filter object that triggers the onfilterchange event.
SrcUrn obtains the unified Resource Name (URN) for triggering event behavior ).
Standby sets or gets the string that can be used to implement the standby function of the object.
Set or obtain the start number of The number list.
Set or obtain the time when the video clip file starts playing.
Set status or obtain the status bar at the bottom of the window.
Set or obtain the value indicating whether the control is selected.
STYLE sets an embedded STYLE for this setting element.
StyleFloat is used to set or obtain the side of the object to be exclusive.
Summary sets or obtains the description and/or structure of an object.
SystemLanguage gets the default language applicable to the operating system.
Set or retrieve the index of the Tab order of the defined object.
TableLayout is a string that indicates whether the table layout is fixed.
TabStop sets or obtains whether the element behavior can receive the focus and participate in the Tab sequence.
The tagName obtains the Tag Name of the object.
Set the tagUrn or obtain the unified Resource Name (URN) specified in the namespace declaration ).
The window or frame in which the target content is to be displayed.
Set or retrieve text in the range of text.
Text sets or gets the text (foreground) color of the document body.
Set or obtain the string format of the object text.
Set or retrieve the string specified by the option label in text.
TextAlign sets or obtains whether the text in the object is left-aligned, right-aligned, center-aligned, or aligned on both ends.
TextAlignLast sets or obtains how to arrange the last or only one row of an object.
TextAutospace is used to set or retrieve the automatically left blank and the narrow width of the text.
TextDecoration sets or obtains whether the text in an object has a style that is blinking, strikethrough, dashes, or underscores.
TextDecorationBlink: set or obtain a Boolean value indicating whether the textDecoration attribute of the object contains "blink.
TextDecorationLineThrough is used to set or obtain a Boolean value indicating whether the text in the object has a strikethrough.
Set textDecorationNone or obtain a Boolean value indicating whether the textDecoration attribute of the object is set to none.
TextDecorationOverline is used to set or obtain a Boolean value indicating whether the text in the object has been underlined.
TextDecorationUnderline is used to set or obtain the Boolean value of the text in the object that contains underscores.
TextIndent sets or obtains the indentation of text in an object.
TextJustify sets or gets the alignment type used by the text in the object.
TextKashidaSpace sets or gets the magnification of the kashida extension that uses the blank extension when the text in the object is aligned.
TextOverflow specifies whether to display ellipsis to indicate text overflow.
TextTransform sets or gets the rendering method of text in an object.
Set textUnderlinePosition or obtain the underline position set in the textDecoration attribute of the object.
TFoot: Get the table's tFoot object.
THead obtains the tHead object of the table.
Set or obtain the title of the style sheet.
Set or obtain the consultation information (tooltip) of the object ).
Set or retrieve the reference of the object to which the user wants to move the mouse pointer.
Top sets or obtains the position of the upper boundary of an object relative to the object located at the bottom of the document level.
Top obtains the top-level ancestor window.
Top sets or obtains the coordinates above the rectangle around the object content.
TopMargin sets or obtains the top margin of the page.
TrueSpeed determines whether to use scrollDelay and scrollAmount to set or obtain the subtitle position. The actual time passed is based on the clock timing.
Type.
Type to obtain the type of the selected area.
Type: Specifies the CSS language used to compile a style sheet.
Type.
Type obtains the event name from the event object.
Set or obtain the MIME type of the object.
Type: Specifies the CSS language used to compile a style sheet.
The input control type represented by the type acquisition or initial setting object.
Set or obtain the MIME type of the associated script engine.
Type obtains the type of the select control based on the value of the MULTIPLE attribute.
Type to obtain the control type.
Set or obtain the resource content type specified by the value tag attribute.
TypeDetail gets the name of the selected area type.
UnicodeBidi sets or obtains the embedding level about bidirectional rules.
UniqueID is the unique identifier automatically generated by the object.
Units sets or gets the height and width units of the embed object.
UNSELECTABLE specifies that this element cannot be selected.
UpdateInterval sets or obtains the update interval of the screen.
Set or obtain the URL of the current document.
URLUnencoded gets the URL of the document and removes all character encoding.
Urn sets or obtains the URN of the target document.
UseMap sets or obtains the URL used for client image ing. It usually has a bookmarkextension (# name ).
UserAgent obtains a string equivalent to the HTTP user proxy request header.
UserLanguage: obtains the natural language settings of the operating system.
VAlign sets or obtains whether the title is on or below the table.
VAlign sets or gets how text and other content are arranged in the vertical direction of the object.
Value gets or sets the text in the textArea element Field.
Value to obtain the default or selected value of the control.
Set or obtain the value of the list item.
Set or obtain the value returned to the server when the form control is submitted.
Set or obtain the display value of the control object. This value is returned to the server when the control object is submitted.
Set or obtain the input parameter value of an element.
Value: when the text is set by user input, the file name of the input object is obtained.
Set or obtain the object value.
ValueType sets or obtains the Data Type of the value tag attribute.
Vcard_name is used to set or obtain the vCard value of an object for the Automatic completion box.
Set or obtain the document type definition (DTD) version used to manage the current document.
VerticalAlign sets or obtains the vertical arrangement of objects.
ViewInheritStyle is used to set or obtain whether the document fragment inherits the CSS style value set in the main document.
ViewLink sets or gets the document object that provides content to the main element.
ViewMasterTab is used to set or obtain the value indicating whether the main element of viewlink is included in the Tab sequence of the main document.
Visibility sets or gets whether the object content is displayed.
VLink sets or gets the color of the accessed link in the object.
VlinkColor sets or gets the link color that the user has accessed.
Set the volume or obtain the volume of the sound.
Vspace sets or obtains the vertical margin of an object.
WheelDelta sets or gets the scroll distance and direction of the scroll wheel button.
WhiteSpace is used to set or obtain whether to automatically wrap a line in an object.
Width to obtain the vertical resolution of the screen.
Width: sets or obtains the calculated width of an object.
Width to set or obtain the width of an object.
Width to set or obtain the width of an object.
Set or obtain the string that can be used to implement your own width Function of the object.
WordBreak is used to set or obtain line breaks in a word, especially when multiple languages exist in an object.
Set or retrieve the total additional space between words in an object.
Set or retrieve whether the word is broken when the content exceeds the container boundary.
Wrap sets or gets how to process automatic line breaks in objects.
WritingMode sets or obtains the direction and winding of object content.
X sets or obtains the x-pixel coordinates of the cursor position relative to the parent document.
XMLDocument gets reference to the XML Document Object Model (DOM) derived from objects.
XMLNS declares the namespace of custom tags in HTML documents.
Document references the top-level node of the XSL document.
Y sets or obtains the y pixel coordinate of the cursor position relative to the parent document.
ZIndex sets or obtains the stack order of the positioning object.
Zoom sets or obtains the zoom-in ratio of an object.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.