Why you should use the Noscript tag?
Why you should use styling in error messages?
Webmasters often use the noscript tag to deliver alert messages. But most webmasters use no styling. They simply put their message between the tags, something like this:
Approximately 5% of your visitors see this message. You take so much effort to design your site and yet leave a bland message for 5% of your visitors to see?
Besides, some designers waste a lot of effort in designing creative Error 404 pages, even though a visitor rarely see it. Why not design creative noscript messages?
How to create a stylish error message?
You can use CSS to style your noscript messages, but remember not to go overboard other wise it can create validation error. Here is an example of a simple code you can use to deliver noscript alert messages.
background:#FCE9C0 url(/alerticon.png) left no-repeat;
border-top:2px solid #DBAC48;
border-bottom:2px solid #DBAC48;
padding: 15px 10px 15px 50px;
When rendered, it looks like this
Like those funny error 404 pages, noscript is a way to add some humor to your site – surprise and tickle your visitors with creative and funny messages.