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
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
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
0
if <table border="1">
0
avoid posting duplicates:
https://www.sololearn.com/Discuss/2821038/?ref=app
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.