Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. ProcessingInstruction
  4. sheet

ProcessingInstruction: sheet property

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since ⁨January 2020⁩.

The read-onlysheet property of theProcessingInstruction interfacecontains the stylesheet associated to theProcessingInstruction.

Thexml-stylesheet processing instruction is used to associate a stylesheet in an XML file.

Value

The associatedStylesheet object, ornull if there are none.

Example

xml
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/css" href="rule.css"?>…

Thesheet property of the processing instruction will return theStyleSheet object describingrule.css.

Specifications

Specification
CSS Object Model (CSSOM)
# dom-linkstyle-sheet

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp