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

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

May 16, 2016 pm 12:10 PM

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 of this Website
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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Vue 3 Vue 3 Apr 02, 2025 pm 06:32 PM

It's out! Congrats to the Vue team for getting it done, I know it was a massive effort and a long time coming. All new docs, as well.

Building an Ethereum app using Redwood.js and Fauna Building an Ethereum app using Redwood.js and Fauna Mar 28, 2025 am 09:18 AM

With the recent climb of Bitcoin’s price over 20k $USD, and to it recently breaking 30k, I thought it’s worth taking a deep dive back into creating Ethereum

Can you get valid CSS property values from the browser? Can you get valid CSS property values from the browser? Apr 02, 2025 pm 06:17 PM

I had someone write in with this very legit question. Lea just blogged about how you can get valid CSS properties themselves from the browser. That's like this.

Stacked Cards with Sticky Positioning and a Dash of Sass Stacked Cards with Sticky Positioning and a Dash of Sass Apr 03, 2025 am 10:30 AM

The other day, I spotted this particularly lovely bit from Corey Ginnivan’s website where a collection of cards stack on top of one another as you scroll.

A bit on ci/cd A bit on ci/cd Apr 02, 2025 pm 06:21 PM

I'd say "website" fits better than "mobile app" but I like this framing from Max Lynch:

Comparing Browsers for Responsive Design Comparing Browsers for Responsive Design Apr 02, 2025 pm 06:25 PM

There are a number of these desktop apps where the goal is showing your site at different dimensions all at the same time. So you can, for example, be writing

Using Markdown and Localization in the WordPress Block Editor Using Markdown and Localization in the WordPress Block Editor Apr 02, 2025 am 04:27 AM

If we need to show documentation to the user directly in the WordPress editor, what is the best way to do it?

Why are the purple slashed areas in the Flex layout mistakenly considered 'overflow space'? Why are the purple slashed areas in the Flex layout mistakenly considered 'overflow space'? Apr 05, 2025 pm 05:51 PM

Questions about purple slash areas in Flex layouts When using Flex layouts, you may encounter some confusing phenomena, such as in the developer tools (d...

See all articles