This code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Google Map API Demo</title> <style> body { font-family: Arial, Helvetica, sans-serif; margin: 6px; height: 100%; padding: 0; } html { height: 100%; } a, a:link, a:visited, a:hover, a:active { text-decoration: underline; cursor: pointer; color: #000; } a:hover { text-decoration: none; cursor: pointer; color: #555; } </style> <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBs55G3yMieFPKlyyQS8OxzYc0WAzg_76Y&sensor=false"></script> <script type="text/javascript" src="https://code.jquery.com/jquery-1.10.2.min.js"></script> <script type="text/javascript"> var GoogleMap = null; jQuery('document').ready(function() { var mapOptions = { center: new google.maps.LatLng('44.208788', '-73.079395'), zoom: 8, mapTypeId: google.maps.MapTypeId.ROADMAP }; GoogleMap = new google.maps.Map(document.getElementById("google_map_canvas"), mapOptions); }); </script> </head> <body> <div id="menu_header" style="width:800px; background-color:#CCC; padding:5px 0;" align="center"> <a href="/tutorials/google-maps/#demos">Return</a> </div> <div id="google_map_canvas_parent" style="width:800px; height:600px;"><div id="google_map_canvas" style="width:100%; height:100%;"></div></div> </body> </html>