Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML HTML Objects Embedded Elements

Could not actually understand difference between Object, Embed, and Param tag. Can anybody explain it explicitly?

I checked w3schools as well.

1 Answer

Brian Jensen
.a{fill-rule:evenodd;}techdegree seal-36
Brian Jensen
Treehouse Staff

I found this, I hope it helps:

SVG Essentials page 19 says the only official differences are that the <embed> tag swaps in src for data in specifying the source file, and that the <object> tag allows for fallback child content to display if the plugin does not exist. Apparently <embed> also has an unofficial but widely-implemented pluginspage attribute for linking to where to install the plugin. However, <object> also allows for child <param> tags to pass data ("FlashVars") into plugins, and allows for fallback text to accomplish the same thing as the unofficial pluginspage.

Thanks Brain.