object type Attribute - HTML CSS HTML Tag

HTML CSS examples for HTML Tag:object

Description

The type attribute specifies the Internet media type or MIME type of the object.

Attribute Values

Value Description
media_type The Internet media type of the embedded content.

The following code shows how to create An <object> element with a specified media type:

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
<body>

<object width="400" height="400" data="helloworld.swf" type="application/vnd.adobe.flash-movie">
</object><!--from   w ww.j a va 2s .c om-->

</body>
</html>

Related Tutorials