1

This question already has an answer here:

what happen if a post the following question in stackoverflow?

<script>
alert("javascript");
</script>

In other words, does stackoverflow sanitize the question text?

marked as duplicate by Martijn Pieters, George Stocker Mar 6 '13 at 18:13

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

5

The question text is sanitized. Only a (very) small subset of HTML is tolerated.

<script> tags are not included in the whitelist. Only a very specific set of attributes are allowed, and only on <img> and <a> tags. Use attributes anywhere else and the tag is stripped completely.

Not the answer you're looking for? Browse other questions tagged .