How to hide and show initial content, depending on whether JavaScript support is available - Robert’s talk - Web development and Internet trends
The solution is to include a JavaScript file in the head part of the document. If JavaScript is enabled, it directly runs an anonymous function that in turn creates a link element which only contains CSS code to hide chosen elements if JavaScript is enabl