#TIL that one can put #HTML element inside , and conditionally include headers t...

@aartaka@merveilles.town

#TIL that one can put #HTML <noscript> element inside <head>, and conditionally include <meta> headers there. Which means: one can redirect and change headers whenever #JavaScript is off, thus allowing redirections to no-JS versions! I think I’ll even use that some day. Something like:

<head>
...
<noscript>
<meta http-equiv="refresh" content="0; url=example.com/" />
</noscript>
...
</head>

I personally think modern HTML is really nice, albeit sometimes too powerful for its own good.

#programming #webdev