Multimedia content can be directly inserted into the browser window using the
<embed>..</embed>
element.
Attributes of the
<embed>
element.
Attributes | Description |
---|
src | A valid URL of the multimedia file |
type | The MIME type associated with the multimedia file. This attribute is not necessary as the browser itself determine based on the extension. |
width | The width of the space the browser will allocate to the multimedia file. |
height | The height of the space the browser will allocate to the multimedia file. |
align | The alignment used to render the content of the multimedia file relative to the other elements |
hidden | Defines 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>