type (HTML attribute)

Depr. Version
No 3.2
Browser support (more…)
IE5.5+ FF1+ SA1.3+ OP9.2+ CH2+
Full Full Full Full Full


type="MIME type"


The type attribute lets the author define the MIME type of the applet or object content. In many cases, though, this attribute is not required, as the browser can determine the MIME type on the basis of the URL or the header sent by the server for the embedded content.


This code shows a param element whose type is set to "video/mp4":

<param type="video/mp4"/>


This attribute takes a MIME type in the format type/subtype, for instance, "text/html", or "application/x-shockwave-flash", or "video/mp4".

User-contributed notes

There are no comments yet.

Related Products