Home > database >  Why is the Embed Tag Used in HTML?
Why is the Embed Tag Used in HTML?

Time:06-17

Why is the Embed Tag Used in HTML? Why not using like "CSS" or "XML"?

I need someone to explain why

CodePudding user response:

It allows adding an external resource (video, text, image, plug-in...) to your web page by creating a container that can receive such external data streams. However, it is often better to use more specific tags like <img>, <iframe>, or <video>.

It is also possible to achieve a similar embedding functionality with XML, but use cases are less common. However, CSS is for style only: it changes the appearance of DOM objects on the page.

  •  Tags:  
  • html
  • Related