Embed multimedia files with <embed> element

Multimedia content can be directly inserted into the browser window using the <embed>..</embed> element.

Attributes of the <embed> element.

AttributesDescription
srcA valid URL of the multimedia file
typeThe MIME type associated with the multimedia file. This attribute is not necessary as the browser itself determine based on the extension.
widthThe width of the space the browser will allocate to the multimedia file.
heightThe height of the space the browser will allocate to the multimedia file.
alignThe alignment used to render the content of the multimedia file relative to the other elements
hiddenDefines whether or not controls will be shown on the web page. Values are "true" or "false"


snippet
<html>
<head></head>
<body>
<table>
<tr>
<td><embed src="logo.jpg" width="100" height="200"></embed></td>
<td><embed src="sound.mp3" width="100" height="200"></embed></td></tr>
</table>
</body>
</html>

Output
Related Tutorial
Follow Us
https://www.facebook.com/Rookie-Nerd-638990322793530 https://twitter.com/RookieNerdTutor https://plus.google.com/b/117136517396468545840 #
Contents +