Home  >  Article  >  Web Front-end  >  DOM attribute usage quick guide page 1/4_CSS/HTML

DOM attribute usage quick guide page 1/4_CSS/HTML

PHP中文网
PHP中文网Original
2016-05-16 12:10:371978browse

object Returns the contained object.​

OffscreenBuffering Sets or gets whether the object should be drawn off-screen before being 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 property.​

OffsetLeft Gets the calculated left position of the object relative to the layout or the parent coordinate specified by the offsetParent property.​

offsetParent Gets a reference to the container object that defines the offsetTop and offsetLeft properties of the object.  

  offsetTop Gets the calculated top position of the 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 offsetParent property.  

 offsetX Sets or gets the x coordinate of the mouse pointer position relative to the object that triggered the event.

offsetY Sets or gets the y coordinate of the mouse pointer position relative to the object that triggered the event.  

 onLine Gets a value indicating whether the system is in global offline mode.  

 opener Sets or gets a reference to the window that created the current window.  

 outerHTML Sets or gets the HTML form of the object and its content.  

 outerText Set or get the text of the object.  

 overflow Sets or gets a value indicating how the object's content is managed when the content exceeds the object's height or width.  

 overflowX Sets or gets how to manage object content when the content exceeds the width of the object.  

 overflowY Sets or gets how to manage object content when the content exceeds the height of the object.  

 ownerDocument Sets or gets the document object associated with the node. ​

owningElement Gets the next object in the HTML hierarchy.

Padding Sets or gets the total space to be inserted between the object and its margins or, if present, a border.  

 paddingBottom Sets or gets the total amount of space to be inserted between the object's bottom border and the content.  

 paddingLeft Sets or gets the total amount of space to be inserted between the left border of the object and the content.  

 paddingRight Sets or gets the total amount of space to be inserted between the right border of the object and the content.  

 paddingTop Sets or gets the total amount of space inserted between the object's upper border and the content.  

 pageBreakAfter Sets or gets the string indicating that a page break occurs after the object.  

 pageBreakBefore Sets or gets the string indicating that a page break occurred before the object.  

 palette Gets the palette used to embed the document.  

 parent Gets the parent window in the object hierarchy.  

 parentElement Gets the parent object in the object hierarchy.  

 parentNode Gets the parent object in the document hierarchy.

parentStyleSheet Gets the style sheet imported into the current style sheet.

parentTextEdit Gets the container object in the document hierarchy that can be used to create a TextRange containing the original object.  

 parentWindow Gets the reference to the window where the container object is located.  

 pathname Sets or gets the file name or path specified by the object.  

 pixelBottom Set or get the bottom position of the object.  

 pixelHeight Set or get the height of the object.  

 pixelLeft Set or get the left position of the object.  

 pixelRight Set or get the right position of the object.  

 pixelTop Set or get the top position of the object.  

 pixelWidth Set or get the width of the object. 

 platform Get the user’s operating system name.​

pluginspage Get the plugin URL for viewing embedded documents.  

 port Sets or gets the port number associated with URL.  

 posBottom Sets or gets the position below the object in the unit specified by the bottom tag attribute.  

 posHeight Sets or gets the height of the object in the unit specified by the height tag attribute.  

  Position Sets or gets 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 Sets or gets the right position of the object in the unit specified by the right tag attribute. ​

posTop Sets or gets the position above the object in the unit specified by the top tag attribute. ​

posWidth Sets or gets the width of the object in the unit specified by the width tag attribute.​

previousSibling このオブジェクトの前の兄弟オブジェクトへの参照を取得します。

Profile オブジェクトのプロパティとこれらのプロパティの有効な値によって定義された 1 つ以上の URI を設定または取得します。

propertyName オブジェクトの変更されたプロパティの名前を設定または取得します。

protocol URL のプロトコル部分を設定または取得します。

pseudoClass @page ルールが適用されるページの擬似クラスを識別する文字列を取得します。

修飾子 データ ソース オブジェクトによって提供されるデータ メンバーの名前を設定または取得します。

readOnly ルールやスタイルシートがページ上で定義されているか、インポートされているかを取得します。

readOnly オブジェクトの内容が読み取り専用かどうかを示す値を設定または取得します。

readyState オブジェクトの現在の状態を取得します。

readyState オブジェクトの現在の状態を取得します。


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn