Original code

Some text to start...
<script type="text/javascript" src="malicious.example.com" />

<style type="text/css">
body{
    background-color: red;
    border: solid green 3px;
}
</style>
<div>
<iframe src="malicious.example.com" style="width: 0; height: 0; position: absolute; left: -1px; top: -1px;" />
</div>

<img src="malicious.example.com" />
<p class="bold yellow" name="restricted">This is some content in a paragraph</p>
<p><a href="hello.txt" onmouseover="javascript:$.getJSON(malicious.example.com)">Click here!</a></p>

And text to end :)

Filtered code

Some text to start...
<script></script>
<img><p>This is some content in a paragraph</p>
<p><a>Click here!</a></p>

And text to end :)