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