I gave the test element an event handler and an attribute I invented myself.
This is the first test element.
It has the following attributes, in this order:
id="test"
align="center"
style="border: 1px solid #0000cc"
onclick="alert('Clicked!')"
ppk="JavaScript"
This is the second test element. It has only one attribute:
id="test2"
And one with UPPER CASE attribute names:
Test alert(x.getAttribute('ALIGN'))
Test alert(x.getAttribute('PPK'))