name property (attribute)
Returns the name of the current attribute.
To get the value of an attribute use the value property.
You can find the related objects in the Supported by objects section below.
This property is read-only.
String that represents the name.
Default: this property has no default value.
Example HTML code 1:
This example illustrates the use of the name property:
Did you find this example helpful?
User Contributed Comments