0
How to make box in html using div tag?
html
2 Answers
+ 7
These codes might help you
https://code.sololearn.com/WSOVBf87dC48/?ref=app
https://code.sololearn.com/Wl2U7EFqtsgS/?ref=app
+ 1
HTML:
<div class="box"></div>
CSS:
.box{
width:50px;
height:50px;
border: 2px solid black;
/*border-radius:20px
this only if you dont want a box with 90 degrees corners*/
}