<meta charset="utf8">
<img src='javascript:"'>
<a href='local#"'>local</a>
<a href="http://www.example.com/#"><script>alert(0)</script>">external</a>
<meta charset="utf8">
<img src='javascript:"'>
<a href='local#"'>local</a>
<a href="http://www.example.com/#"><script>alert(0)</script>">external</a>