If JavaScript is enabled, is this image still loaded and CSS styles apply to it?
Depends on browser implementations. Most modern browsers support the use of the <noscript> , but in some cases <noscript> may even work if <script> not executed.
However, if <noscript> is executed (I know), the css styles will be applied to the elements on the page as they are added to the DOM
What about DOM event listeners?
If the script is enabled in the browser and you are serving the <noscript> content, then the content should match so that it does not cause parry errors. See more details
I would advise you not to use <noscripts> , because the manual says:
The noscript element is a dumb tool. Sometimes scripts may be included, but for some reason, the script page may fail. For this reason, it is generally best to avoid using noscript and instead create a script to change the page from an unencrypted page to a script page on the fly
Hope that helps :)
source share