+ 2
how to draw rectangle in html5
none
4 Respuestas
+ 5
use the svg and rect tag
+ 2
this may help you
https://www.sololearn.com/learn/HTML/2200/
+ 1
You can use:
- SVG by rect tag
- Canvas tag with strokeRect/fillRect method on context
- Simple HTML by creating a block element with fixed size and fixed position ans style it with css
0
<div style="width:500px;height:100px;border:1px solid #000;">This is a rectangle!</div>