November 2001
Intermediate to advanced
936 pages
68h 43m
English
HTMLElement.setAttribute( ) — set the value of an attribute
Internet Explorer 4, Netscape 6
element.setAttribute(name,value)
name
The name of the attribute to set.
value
The value to set it to.
setAttribute( ) sets the attribute
name of element
to value.