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

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

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)

Working With GraphQL Caching Working With GraphQL Caching Mar 19, 2025 am 09:36 AM

If you’ve recently started working with GraphQL, or reviewed its pros and cons, you’ve no doubt heard things like “GraphQL doesn’t support caching” or

Making Your First Custom Svelte Transition Making Your First Custom Svelte Transition Mar 15, 2025 am 11:08 AM

The Svelte transition API provides a way to animate components when they enter or leave the document, including custom Svelte transitions.

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

Show, Don't Tell Show, Don't Tell Mar 16, 2025 am 11:49 AM

How much time do you spend designing the content presentation for your websites? When you write a new blog post or create a new page, are you thinking about

How do you use CSS to create text effects, such as text shadows and gradients? How do you use CSS to create text effects, such as text shadows and gradients? Mar 14, 2025 am 11:10 AM

The article discusses using CSS for text effects like shadows and gradients, optimizing them for performance, and enhancing user experience. It also lists resources for beginners.(159 characters)

Creating Your Own Bragdoc With Eleventy Creating Your Own Bragdoc With Eleventy Mar 18, 2025 am 11:23 AM

No matter what stage you’re at as a developer, the tasks we complete—whether big or small—make a huge impact in our personal and professional growth.

What the Heck Are npm Commands? What the Heck Are npm Commands? Mar 15, 2025 am 11:36 AM

npm commands run various tasks for you, either as a one-off or a continuously running process for things like starting a server or compiling code.

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:

See all articles