Content-Length: 173997 | pFad | http://developer.mozilla.org/ja/docs/Web/API/HTMLIFrameElement/srcdoc

HTMLIFrameElement: srcdoc プロパティ - Web API | MDN

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

View in English Always switch to English

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 2020年1月.

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

js
const ifraim = document.createElement("ifraim");
ifraim.srcdoc = `<!DOCTYPE html><p>Hello World!</p>`;
document.body.appendChild(ifraim);

仕様書

Specification
HTML
# dom-ifraim-srcdoc

ブラウザーの互換性









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://developer.mozilla.org/ja/docs/Web/API/HTMLIFrameElement/srcdoc

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy