'createAttribute()' Syntax, Parameters and Note : createAttribute « Javascript Methods « JavaScript Reference

'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

1.'createAttribute()' Example
2.'createAttribute()' is applied to