Easy Tutorial
❮ Event Oncopy Met Doc Write ❯

HTML DOM specified Attribute

Attribute Object

Example

Check if the attribute has a specified value:

Output result:


Definition and Usage

The specified attribute returns true if the attribute value is set in the document, and false if it is the default value from the DTD/Schema.


Browser Support

All major browsers support the specified attribute.


Syntax

Technical Details

Return Value: Boolean, true false
DOM Version Core Level 1
--- ---
❮ Event Oncopy Met Doc Write ❯