
<img src=x onerror="<script>console.log("a")</script>">
</p><img src=x onerror="<script>console.log("a")</script>"><p>
</p><img src=x onerror="<script>console.log("a")</script>"><p>
</p><img src=x onerror="<script>console.log("a")</script>"><p>