+ 1
Pls house can anyone help in drawing of shapes with html?
9 Answers
+ 8
Fabian Roy
Don't provide ready-made code.
Let him try on his own,
Otherwise he will not be able to understand concepts,tags,and everything.
+ 4
Oluwakemi Chizoba
Note that,If you're having trouble in code, share your code and describe what error message you're receiving. without watching no one can figure out what's going wrong.
+ 4
To create shapes in HTML, you can utilize the HTML <canvas> element, which is designed for drawing graphics. You will also need to be familiar with JavaScript.
For further information about working with canvas and JavaScript, please visit:
https://www.w3schools.com/html/html5_canvas.asp
Additionally, you can use CSS to draw shapes, as demonstrated by Fabian Roy"
+ 2
You're welcome!
+ 1
Sample code of making a shape in HTML :
<div class="circle"></div>
<div class="rectangle"></div>
<style>
.circle {
width: 100px;
height: 100px;
background-color: red;
border-radius: 50%;
}
.rectangle {
width: 200px;
height: 100px;
background-color: blue;
border-radius: 10px;
}
</style>
+ 1
okay :(
+ 1
Firstly, share your attempt. Then we can help you if any issue is there.
0
Thanks all
I do appreciate
0
So simple it is create div , then set height and width then apply margin and padding try to learn by changing these factors...