You can do this:
<noscript>
<style type="text/css">body { display: none; } </style>
<meta http-equiv="refresh" content="0; url=http://redirectpage.com/">
</noscript>
I want to stop rendering the page and exit when the user's browser doesn't have JavaScript enabled or support, I want it like how exit() works in PHP. Is it possible via HTML?