### Example 3.3: Map-wide Header and Footer Templates

Select Layers: State Boundaries County Boundaries Cities Federal/Indigenous Lands Water Features Roads Select Background:
Map Mode: |  | Map Control: | Reference: Legend:
To make this example work, uncomment the HEADER and FOOTER keywords in the WEB object:
              WEB
                HEADER    '../templates/header.html'
                FOOTER    '../templates/footer.html'
                ...
              END # Every object in MapServer must have an END.;)
Select the "Cities" layer and click on the "Refresh" button. Select "Query Single Layer" or Query Multiple Layers" from the "Map Mode" select box and click on one of the cities on the map. View the MapFile | View the HTML Template

Back to Example 3.2 | Back to the Section 3 | Back to the Sections Page | Proceed to Example 3.4