DOM tests - setting attributes

Back to index.

Spec

setAttribute

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="text-decoration: underline"
	align="right"