embed

Form

<embed>

Attributes

attribute default description
id none specifies the unique ID
class none specifies the style sheet class
style none specifies the style sheet
src none specifies the URL of the data file
pluginspage none specifies the URL of the plugin software
align none specifies how to wrap text around a image
name none specifies the name
type none specifies the MIME type
width none specifies the width
height none specified the height

Support

Microsoft (MSDN)
[IE3 or later][Firefox 1 or later][Safari 1 or later][Opera 3 or later][Netscape 2 or later]

Explanation

The embed tag specifies the data to be displayed through a plug-in. Use the <noembed> tag for browsers which can not display a plug-in data. As the <embed> tag is old, it is recommended to use the <object> tag and the <param> tag. However, it is safe to use these tags together because some browsers support the <object> tag.

Related Tags

object, noembed, param

Sample Code [Output]

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=shift_jis">
<title>Sample</title>
</head>
<body>
<h1>Sample</h1>
<embed src="sample.swf" width="320" height="240">
</body>
</html>