<!doctype html>
<style>
span { outline: 1px dotted black }
</style>
<span>A</span>
<div></div>
<span>B</span>