ENع
الدرس 15 · How browsers use HTML

Iframes and embeds

لم يُترجم بعد؛ يُعرض باللغة الإنجليزية

An iframe puts a whole second web page inside yours. Follow one five-line page from cafe.example as the browser reads it: the parser makes an empty box, the box sends its own request to map.example, and a second document with its own DOM fills it. Then see the walls between the two pages: contentDocument comes back null, postMessage gets through, sandbox takes powers away, and a site can refuse to be framed at all.

12 دقيقة10 خطوات5 أسئلةAdvanced
شكل 15 · تفاعلي
جارٍ تحميل الرسم…
أو ← →

اختبار يتاح بعد الخطوة الأخيرة.