HTML codetype attribute


The purpose of the HTML codetype attribute is to define the content-type for the code embedded by the object tag.

Supported elements

HTML codetype attribute supports object element.


<object codetype="value">..............</object>

Type of value

Content type.


A supported content type.

Default value

There is no default value.

Supported doctypes

HTML 4.01 strict, HTML 4.01 transitional, HTML 4.01 frameset.

Previous: HTML classid attribute
Next: HTML cols attribute

Test your Programming skills with w3resource's quiz.

Follow us on Facebook and Twitter for latest update.

We are closing our Disqus commenting system for some maintenanace issues. You may write to us at reach[at]yahoo[dot]com or visit us at Facebook