please can anybody tell how to add borders in html. please tell he code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

please can anybody tell how to add borders in html. please tell he code

please can anybody tell how to add borders in html. please tell he code

25th Jun 2021, 7:35 AM
Mohamed Hashir
Mohamed Hashir - avatar
5 Answers
+ 1
Hi ❤️ For example you want add a 1px and solid border also with black color you have to add this with css and if you want do this with html you should use style attribute : <div style"width:20px;height:20px;border:1px solid #000;"> ........ </div> - but a good advice and tip try use more external css
25th Jun 2021, 9:24 AM
CyrusKabir
CyrusKabir - avatar
0
Give us your code and mention the element you want to have border around. It's easy if you know the CSS border attribute
25th Jun 2021, 8:10 AM
CHANDAN ROY
CHANDAN ROY - avatar
0
if <table border="1">
25th Jun 2021, 8:57 AM
KuFiz
KuFiz - avatar
25th Jun 2021, 11:59 AM
visph
visph - avatar
0
mohamed hashir Pls learn from css tutorials Here is the link https://www.sololearn.com/learn/CSS/1101/?ref=app And practice. You will definitely write code for styling by yourself.
25th Jun 2021, 1:20 PM
Kumar Pinninti
Kumar Pinninti - avatar