0
how to give border in html
i want to give border to html pls tell me anyone
2 Respostas
+ 5
Set this css style to the element you want style with borders:
border:2px solid red;
... maybe you want some interior margins (between border and content):
padding:10px;
You can use, different units and/or values, obviously... try:
<div style="border:2px solid rgb(255,0,0); padding:1em;">text content</div>
0
Tqqq so much bro