w3resource

HTML codetype attribute

codetype

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.

Syntax

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

Type of value

Content type.

Value

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.



Become a Patron!

Follow us on Facebook and Twitter for latest update.

It will be nice if you may share this link in any developer community or anywhere else, from where other developers may find this content. Thanks.

https://w3resource.com/html/attributes/html-codetype-attribute.php