diff --git a/leaflet-geocoder.md b/leaflet-geocoder.md index 0d19483..ce87aa1 100644 --- a/leaflet-geocoder.md +++ b/leaflet-geocoder.md @@ -38,13 +38,15 @@ The geocoding-tutorial folder contains two HTML files: `index.html` is the file ``` - These form the basic structure of an HTML document. `` goes at the top of every HTML page and indicates that it is written for HTML5, and the `` tags tell your browser that the content is HTML. The `` tag contains the title for the page and other metadata about the page, while the `` is where you add the code and the rest of the content on your page. There are many [web tutorials](http://www.w3schools.com/html/default.asp) available to help you experiment with and learn more about building HTML documents and the tags in them. + These form the basic structure of an HTML document. `` goes at the top of every HTML page and indicates that it is written for HTML5, and the `` tags tell your browser that the content is HTML. The `` tag contains the title for the page and other metadata about the page, while the `` is where you add the code and the rest of the content on your page. There are many [web tutorials](http://www.w3schools.com/html/default.asp) available to help you experiment with and learn more about HTML documents and the tags in them. 2. In the `` tag, add a title, such as `My Geocoding Map`. 3. On the next line, add a metadata tag so you can properly display diacritics and characters from different languages. + ```html ``` + 4. Save your edits to the index.html file. 5. Drag your index.html file onto a web browser tab. It should show your title, `My Geocoding Map`, but the web page canvas is blank. @@ -103,7 +105,7 @@ After adding these, your index.html file should look something like this. ## Add a map to the page -To display a Leaflet map on a page, you need a `
` element with an ID value, as well as a size for the box containing the map. If you want to know more about initializing a Leaflet map, see the [Leaflet getting started documentation](http://leafletjs.com/examples/quick-start.html). +To display a Leaflet map on a page, you need a `
` element, which is a container on the page that groups elements, with an ID value. If you want to know more about initializing a Leaflet map, see the [Leaflet getting started documentation](http://leafletjs.com/examples/quick-start.html). 1. At the bottom of the `` section, after the references you added in the previous steps, add a `