Comment: This article mainly introduces the definition and usage of HTML5 embed tags. Friends who need it can refer to it.
Definition and usageThe <embed> tag defines embedded content, such as plugins.
Example
<embed src=helloworld.swf />
Differences between HTML 4.01 and HTML 5
The <embed> tag is a new tag in HTML 5.
property
new : New properties in HTML5.
Property value description
heightpixels sets the height of the embedded content.
srcurl embeds the URL of the content.
typetype defines the type of embedded content.
widthpixels sets the width of the embedded content.
Here it is said that it is a new tag in HTML 5, but in fact it is no longer a surprise in HTML4.
Why is it a waste of money?
That's because the value of the src attribute must specify the actual file extension, such as if you want to use it to play mp3 files,
The file extension in the url must be mp3, if you want to pass a dynamic web page
For example, getMp3.php?id=12321, it cannot be played at all.
Even if you specify the type attribute as audio/mpeg3, it cannot recognize it as an mp3 file.