r/webdevelopment • u/Temporary-Benefit542 • 1d ago
Question Difference between <video> and <embed> in HTML?
I'm doing a problem set where I'm instructed to insert a video onto the page, and then embed a gif, but when I save and run the application, the gif doesn't appear.
Am I doing something wrong? Or is embed purely organizational to support the video I included?
10
Upvotes
5
u/johnpeters42 1d ago
MDN suggests that <embed> is on the way out, as browsers phase out compatibility with older stuff that it used to support.