HTML CSS examples for HTML Tag:object
The type attribute specifies the Internet media type or MIME type of the object.
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:
<!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>