title: google map api hello world
body: <p>I'm learning Google map api v3. So I went to their site and found the Helloworld from the developers' guide:
  link:<a href="https://developers.google.com/maps/documentation/javascript/tutorial" rel="nofollow">here</a></p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
   &lt;head&gt;
  &lt;meta name="viewport" content="initial-scale=1.0, user-scalable=no" /&gt;
  &lt;style type="text/css"&gt;
    html { height: 100% }
    body { height: 100%; margin: 0; padding: 0 }
    #map-canvas { height: 100% }
  &lt;/style&gt;
  &lt;script type="text/javascript"
    src="https://maps.googleapis.com/maps/api/js?key=API_KEY&amp;sensor=SET_TO_TRUE_OR_FALSE"&gt;
  &lt;/script&gt;
  &lt;script type="text/javascript"&gt;
    function initialize() {
      var mapOptions = {
        center: new google.maps.LatLng(-34.397, 150.644),
        zoom: 8
      };
      var map = new google.maps.Map(document.getElementById("map-canvas"),
          mapOptions);
    }
    google.maps.event.addDomListener(window, 'load', initialize);
   &lt;/script&gt;
    &lt;/head&gt;
    &lt;body&gt;
   &lt;div id="map-canvas"/&gt;
    &lt;/body&gt;
   &lt;/html&gt;
  </code></pre>
  
  <p>I replaced the API_KEY by an api key and SET_TO_TRUE_OR_FALSE by true. But my browser gave me:</p>
  
  <pre><code>This page contains the following errors:error on line 12 at column 96:
   EntityRef:expecting';'Below is a rendering of the page up to the first error.
  </code></pre>
  
  <p>Could someone help me with this, please? </p>