Home
Web Front-end
H5 Tutorial
Canvas needs to define width and height directly in the tag_html5 tutorial skills



Canvas needs to define width and height directly in the tag_html5 tutorial skills
canvas
In the past, when I used canvas to draw pictures, I always wrote the width and height directly in the canvas tag. There was no problem. However, I have never explored why the width and height should be written directly in the canvas tag, because this is the case in various examples. Written. Today Sir Wang raised a question: If the width and height are written in
< ;/head>