A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.cdn.mozilla.net/ja/docs/Web/API/HTMLIFrameElement/srcdoc below:

HTMLIFrameElement: srcdoc プãƒãƒ‘ティ - Web API

MDN Web Docs
  1. 開発者向けのウェブ技術
  2. Web API
  3. HTMLIFrameElement
  4. srcdoc

このページはコミュニティーの尽力で英語から翻訳されました。MDN Web Docs コミュニティーについてもっと知り、仲間になるにはこちらから。

Filter sidebar

この記事では
  1. HTMLIFrameElement
  2. インスタンスプロパティ
    1. allow
    2. allowFullscreen
    3. allowPaymentRequest 非標準 非推奨;
    4. browsingTopics Experimental 非標準
    5. contentDocument
    6. contentWindow
    7. credentialless Experimental
    8. csp Experimental
    9. featurePolicy Experimental
    10. height
    11. loading
    12. name
    13. referrerPolicy
    14. sandbox
    15. src
    16. srcdoc
    17. width
  3. インスタンスメソッド
    1. getSVGDocument()
  4. 継承
    1. HTMLElement
    2. Element
    3. Node
    4. EventTarget
この記事では HTMLIFrameElement: srcdoc プロパティ

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.

srcdoc は HTMLIFrameElement インターフェイスのプロパティで、このページの内容を指定します。

例

js

const iframe = document.createElement("iframe");
iframe.srcdoc = `<!DOCTYPE html><p>Hello World!</p>`;
document.body.appendChild(iframe);
仕様書 Specification HTML
# dom-iframe-srcdoc
ブラウザーの互換性 Help improve MDN Was this page helpful to you? Learn how to contribute

.

This page was last modified on 2023年6月21日 by MDN contributors.

View this page on GitHub

•

Report a problem with this content

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4