HTML video tutorial – 77 – iframe tag vs object embed tags



HTML video tutorial – 77 – iframe tag vs object embed tags

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.

=========================================

Follow the link for next video:
HTML video tutorial – 78 – html embedding youtube videos

Follow the link for previous video:
HTML video tutorial – 76 – html iframe tag

======= HTML Questions & Answers ==========

=========================================

source

Reply


Build A Site Info