Live DOM Viewer

Markup to test (, save, upload, download, hide):

DOM view (hide, refresh):

Rendered view: (hide):

innerHTML view: (show, refresh):

Log: (hide):

Script not loaded.

This script puts a function w(s) into the global scope of the test page, where s is a string or object to output to the log.

Some files are available for testing purposes, notably "image" is an image.
image and image.swf
a GIF image of two cats
null
a PNG image of the word "null"
flash
a Flash file
flash-as-text and flash-as-text.swf
a Flash file sent as text/plain
flash-as-image.swf
a Flash file sent as image/gif
script
a JS file
style
a CSS file
document
an HTML file
alertdoc
an HTML file with a script that alerts
delayed-image
a GIF image after a two-second pause
delayed-script
a JS file after a two-second pause
xhtml
an XHTML file
xml
an XML file
xml-as-svg
an XML file sent with the SVG MIME type
xml-broken
a malformed XML file
svg
an SVG file
svg-as-xml
an SVG file sent with the XML MIME type
download
the same file as image, but with a Content-Disposition header set to inline with a filename