Nitro HTML Pro permits to edit HTML source files, and visualize how the resulting HTML page will be displayed in compliant Web browsers.
The source code can optionally contain JavaScript and SVG specifications.
Nitro HTML has been mentioned during an episode of The Mac Observer & Mac Geek Gab podcast. You can see the show notes and download the show here.