<iframe> ကို page ထဲမှာ နောက်ထပ် webpage/embed content ထည့်ဖို့သုံးပါတယ်။ YouTube, Google Maps, external widget တွေမှာအများဆုံးတွေ့ရပါတယ်။
Security အတွက် trusted source တွေကိုသာ embed လုပ်ပါ။ မယုံကြည်ရတဲ့ iframe က website ထဲထည့်ထားတဲ့ “အိမ်ငှား” လိုပါ — စည်းကမ်းသတ်မှတ်ထားတာကောင်းပါတယ်။
html
<iframe
src="https://www.example.com"
title="Example website preview"
width="600"
height="350"
loading="lazy"></iframe>You should see
Iframe box ထဲမှာ external page/embed content ပေါ်လာပါမယ်။