Dùng outline-style: dashed.
Ví dụ
<html>
<head></head>
<body>
<p style="outline-width:6px; outline-style:dashed;">
This text is having 6px dashed outline.
</p>
</body>
</html>
Dùng outline-style: dashed.
<html>
<head></head>
<body>
<p style="outline-width:6px; outline-style:dashed;">
This text is having 6px dashed outline.
</p>
</body>
</html>