Easy Tutorial
❮ Dom Obj Source Event Onpageshow ❯

HTML DOM name Property

Attributes Object

Example

Return the attribute name:

Output result:


Definition and Usage

The name property returns the attribute name.


Browser Support

All major browsers support the name property.


Syntax

Technical Details

Return Value: String, representing the attribute name.
DOM Version Core Level 1
--- ---
❮ Dom Obj Source Event Onpageshow ❯