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.



Follow us on Facebook and Twitter for latest update.