0

how to give border in html

i want to give border to html pls tell me anyone

22nd Jul 2017, 4:18 PM
Ms Ganesh
Ms Ganesh - avatar
2 Answers
+ 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>
22nd Jul 2017, 4:24 PM
visph
visph - avatar
0
Tqqq so much bro
22nd Jul 2017, 4:37 PM
Ms Ganesh
Ms Ganesh - avatar