HTML Google Maps

Google Maps allows you to display maps on your web page: A Basic Web Page To demonstrate how to add a Google Map to a web page, we will use a basic HTML page: Example <!DOCTYPE html> <html> <body><h1>My First Google Map</h1><div id=”map”>My map will go here</div></body> <html> Try it Yourself » Set the Map Size Set […]

HTML5 Canvas

The HTML <canvas> element is used to draw graphics on a web page. The graphic to the left is created with <canvas>. It shows four elements: a red rectangle, a gradient rectangle, a multicolor rectangle, and a multicolor text. What is HTML Canvas? The HTML <canvas> element is used to draw graphics, on the fly, via JavaScript. The <canvas> element is only […]