w3resource

HTML declare attribute

declare

The purpose of the HTML declare attribute is to specify the object to declare but not instantiate itself.

Supported elements

HTML declare attribute supports object element.

Syntax

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

Type of value

Declare.

Value

Declare.

Default value

There is no default value of HTML declare attribute.

Supported doctypes

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

Previous: HTML datetime attribute
Next: HTML defer 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://www.w3resource.com/html/attributes/html-declare-attribute.php