Skip to main content
added 27 characters in body
Source Link

First of all itsit's not inside the script tag.. evenEven if you put it in the script tag it gets converted to corresponding HTML entities.

e.g.For example,

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

AboveThe above code gets converted using following lookup table.

< --> &lt;
> --> &gt;
" --> &quot;

First of all its not inside script tag.. even if you put it in script tag it gets converted to corresponding HTML entities

e.g.

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

Above code gets converted using following lookup table

< --> &lt;
> --> &gt;
" --> &quot;

First of all it's not inside the script tag. Even if you put it in the script tag it gets converted to corresponding HTML entities.

For example,

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

The above code gets converted using following lookup table.

< --> &lt;
> --> &gt;
" --> &quot;
Post Migrated Here from stackoverflow.com (revisions)
Source Link
Xinus
  • 658
  • 3
  • 12

First of all its not inside script tag.. even if you put it in script tag it gets converted to corresponding HTML entities

e.g.

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

Above code gets converted using following lookup table

< --> &lt;
> --> &gt;
" --> &quot;