javascript - how noscript tag treated in different browsers -
i can't see explanation anywhere.
i want know what browsers generate data inside noscript
tag, if js enabled.
for example:
according html5 specs, allowed use noscript
tag inside head
tag.
<head> <noscript> <link rel="stylesheet" href="basic.css" type="text/css" media="all" /> </noscript> </head>
the reason i'm asking question i'm afraid browsers may treat noscript
tag text(if js enabled), , result load/add unnecessarily data.
so, how browsers treat noscript
tag?
thanks.
the html element defines section of html inserted if script type on page unsupported or if scripting turned off in browser. source.
also
the noscript element represents nothing if scripting enabled, , represents children if scripting disabled. used present different markup user agents support scripting , don't support scripting, affecting how document parsed. source.
noscript
tag supported among browsers , far know there no deviation standard specification.
by way if need make sure of behavior across different browser can use web-based browser testing tools https://www.browserstack.com speed testing process.
Comments
Post a Comment