+ 2
My question is about canvas {display:block;}
WHERE do you insert canvas {display:block;} ? WHY do you have to insert canvas {display:block;} ? HOW do I make the display show ? WHAT will happen if I show it ? Please Help Yours Sincerely Edwin Simnett Pratt <3
2 Respuestas
+ 5
1. in css or in js:[canvas element].style.display = "block";
2. to display it but you dont have to.
3. set: display:block;
4. it will be visible in the document.
+ 2
{display:block;} is a CSS style code , can be used with any tag ex. <div>, <span> etc. it helps in display as a block element in HTML. <canvas> is an element of HTML.