DOM tests - creating and setting attribute nodes

Back to index.

Spec

createAttribute

setAttributeNode

Test area

Test paragraph

At the start of the testing the test paragraph has the following attributes:

	testAttribute="ppk"
	id="test"
	onclick="alert('Yay!')"
	style="color: green"
	align="right"