I was wondering whether there is a way to make html5 code visible in Internet Explorer 7 or less.
For example
IE versions < 9 will not render elements that they don't recognize, so the new HTML5 elements, header, etc are off the list. Other browsers render unrecognized elements, but without styling.
The way around this is to "show" the new elements to IE by squirting them into the DOM directly using JavaScript. You only have to do this once on each page view.
The two standard ways to do this are:
Modernizr also does a whole bunch of other things to do with feature detection.