Explore 100's Of Free Video Tutorials

Keep Learning, Keep Coding & Keep Sharing

iframe, object & embed tags

Notes:

HTML embed tag , HTML object tag and HTML iframe tag:

When to use embed , object and iframe tags.

embed, object and iframe tags are paired tags.
embed, object and iframe tags are used to embed external resources in html document.

embed tag has src attribute
iframe tag has src attribute
object tag has data attribute
embed, object and iframe tag have width and height attributes which take values in pixel or %

autostart attribute is used to control audio video auto start behavior
use object tag instead applet tag. object tag is going to be deprecated.
use embed tag only when we can not achieve the expected task using iframe tag.

Interview Questions: