Skip to main content
W3c Standard: noscript tags with style tags should be in head tag
Source Link

perhaps a more simple option...

<html> <body><head>  <noscript>   This page needs JavaScript activated to work.   <style>div { display:none; }</style>  </noscript> </head> <body> <div> my content </div> </body> </html> 

perhaps a more simple option...

<html> <body> <noscript> This page needs JavaScript activated to work. <style>div { display:none; }</style> </noscript> <div> my content </div> </body> </html> 

perhaps a more simple option...

<html> <head>  <noscript>   This page needs JavaScript activated to work.   <style>div { display:none; }</style>  </noscript> </head> <body> <div> my content </div> </body> </html> 
Source Link
Andy
  • 2.4k
  • 1
  • 30
  • 35

perhaps a more simple option...

<html> <body> <noscript> This page needs JavaScript activated to work. <style>div { display:none; }</style> </noscript> <div> my content </div> </body> </html>