Remember the canvas element?  Below is an example.
<html>
    <head>
        <title>Canvas</title>
         <style>
        #myCanvas{
            border:black;
            border-style: solid;
            border-width: 2px;
            
        }
    </style>
    </head>
   
    <body>
        <canvas id="myCanvas" height="600" width="800"></canvas>
    </body>
</html>
Now, try working on not only creating the canvas but making sure you can draw something to this canvas like a square or some other shape or image.