HTML to Javascript DOM manipulation

Make sure that you're pasting in fully formed HTML. This tool works by injecting the HTML that you paste in directly into this page, and then parsing through it.

Deciding whether to use innerHTML to inject your HTML directly, or to use jQuery to generate the DOM elements? Check out this StackOverflow post.



* This tool is relatively naive. You should make sure that it didn't mess anything up before adding this JS code to your site.