- 1

How to make a box in html?

I just want to know how to make a box ?or any dimensions

17th Jun 2018, 6:33 AM
yesse
yesse - avatar
6 Answers
17th Jun 2018, 6:56 AM
yesse
yesse - avatar
+ 3
https://www.sololearn.com/learn/HTML/2200/ and here is simple bod with css https://code.sololearn.com/WfIsXA8YOnpb/?ref=app simply you can use css height and widh values or you can use svg element and canvas element to draw shapes
17th Jun 2018, 6:57 AM
estifanos
estifanos - avatar
+ 2
use div to separate different elements in website This will separate that element particularly and then you can use css to alter its width and height and other stuff.. it will automatically look like different box
17th Jun 2018, 6:56 AM
Abhishek Rawat
Abhishek Rawat - avatar
+ 2
oh were you asking for a diagram type box using SVG? i answered for different box
17th Jun 2018, 6:59 AM
Abhishek Rawat
Abhishek Rawat - avatar
+ 1
first try this... if you got that right then thank me 😊
17th Jun 2018, 6:57 AM
Abhishek Rawat
Abhishek Rawat - avatar
17th Jun 2018, 7:00 AM
yesse
yesse - avatar