Testing arbitrary HTML online

September 22, 2014

Found a better site for testing HTML (and Javascript): http://htmledit.squarefree.com

Original Post

Occasionally, I’ll need to test an HTML snippet for one reason or another.  Typically I’ll build a mockup page in a text editor, save the page on my desktop, launch it in a browser window and check the results.

That method works fine, but there’s an easier way.  Go to W3School’s Tryit Editor, enter the HTML you wish to test in the left-hand pane, hit Submit, and the results will show in the right-hand pane.  Easy peasy.

HTML validators/cleaners

On a fairly regular basis, I’ll run across a page on one of the sites I manage that’s gone sideways- usually due to someone making an edit to the content that inadvertently broke the HTML markup.

Or, I’ll have a page that I need to modify, but the markup is so poorly formed that it’s impossible to make heads or tails of it.

So what do you do?  Pore over the source view to find the problem, or copy/paste it into Notepad and do the necessary cleanup manually? Continue reading “HTML validators/cleaners”