I download some html tree from an untrustworthy source, and use it to just display content as a child of some HTML div in my page. However, there is the danger of this downloaded code running scripts/or executing scripts in event handlers. Is it possible in HTML just like using a tag to define scripts, do a
<noscriptex>
<script>
...
</script>
</noscriptex>
then the browser wouldn't execute any code within this tag?
If there is no such thing, how do I clean up the downloaded HTML just to display DOM elements with their CSS without any scripting involved?