I have the following page with a black canvas inside of it:
There, the main menu for a game will be displayed, and it needs to have both a registration and a login form on it. How do I position forms/input elements inside the canvas?
I have the following page with a black canvas inside of it:
There, the main menu for a game will be displayed, and it needs to have both a registration and a login form on it. How do I position forms/input elements inside the canvas?
You can place HTML elements on top of your canvas by using CSS. See the following post for more info:
You don't. In canvas you'll be handling the rendering of most of your elements.
If you want to use the DOM, you could always overlay those forms/input elements on top of the canvas with a position: absolute or something equivalent. But as for them actually being in the canvas, you're going to have to manually render them. Another poster already put some links down for canvas basics you can make some progress on.