HTML DOM Preview

Paste your html code here, then click DOM to grab the JS code generated.
Optionally you can preview the result of executing the generated DOM code.