Which built-in HTML5 object is used to draw on the canvas?
A canvas is a rectangular area on an HTML page. By default, a canvas has no content and no border.
The markup looks like this,
<canvas id="SlightBookCanvas" width="400" height="200"></canvas>
<script> var c = document.getElementById("SlightBookCanvas"); var ctx = c.getContext("2d"); ctx.moveTo(0, 0); ctx.lineTo(200, 100); ctx.stroke(); </script>
In HTML5, which attribute is used to specify that an input field must be filled out?
Which input type defines a slider control?
Which input type defines a week and year control (no time zone)?
Which HTML5 element is used to display a scalar measurement within a known range?
Which HTML5 element defines navigation links?