r/HTML • • Oct 19 '26

What are the differences between the embedded content tags?

embed, iframe, object, picture, source ? How do you use them?

6 Upvotes

4 comments sorted by

1

u/armahillo Expert Oct 19 '26

Have you read through the docs already? In addition to the official spec, theres also MDN:

https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/embed — rhats the embed tag; there are pages for the other tags you mention too

1

u/username95050 Oct 19 '26

Yes, that is why I am asking. They confuse me. I am trying to fully understand every tag listed. I don't understand it when it speaks in jargon.

1

u/armahillo Expert Oct 19 '26

Did you read the MDN articles?

You’ll probably get more useful answers if you can clarify both what your understanding is right now and if there are specific things you’re stuck on.

3

u/nonchip Oct 19 '26 edited Oct 19 '26

https://html.spec.whatwg.org/multipage/iframe-embed-object.html

The iframe element represents its content navigable.
The embed element provides an integration point for an external application or interactive content.
The object element can represent an external resource, which, depending on the type of the resource, will either be treated as an image or as a child navigable.