Spraw, by granica do Div
border: 2px solid black
Tender Tortoise
border: 2px solid black
<div style="border:1px solid black;">Hello world</div>