'createAttribute()' Syntax, Parameters and Note
Note:
Creates an attribute node.
It also works with user-defined XML elements, allowing for the creation of
custom attributes.
Syntax:
document.createAttribute(param1)
Parameters:
param1 Required; the name of the attribute.
Related examples in the same category