|This article needs additional citations for verification. (August 2010) (Learn how and when to remove this template message)|
Geo is a microformat used for marking up WGS84 geographical coordinates (latitude;longitude) in (X)HTML. Although termed a "draft" specification, this is a formality, and the format is stable and in widespread use; not least as a sub-set of the published hCalendar and hCard microformat specifications, neither of which is still a draft.
Use of Geo allows parsing tools (for example other websites, or Firefox's Operator extension) to extract the locations, and display them using some other website or mapping tool, or to load them into a GPS device, index or aggregate them, or convert them into an alternative format.
- If latitude is present, so must be longitude, and vice versa.
- The same number of decimal places should be used in each value, including trailing zeroes.[note 1]
The Geo microformat is applied using three HTML classes. For example, the marked-up text:
<div>Belvide: 52.686; -2.193</div>
<div class="geo">Belvide: <span class="latitude">52.686</span>; <span class="longitude">-2.193</span></div>
by adding the class-attribute values "geo", "latitude" and "longitude".
This will display
Belvide: 52.686; -2.193
and a geo microformat for that location, Belvide Reservoir, which will be detected, on this page, by microformat parsing tools.
There are three active proposals, none mutually-exclusive, to extend the geo microformat:
- geo-extension - for representing coordinates on other planets, moons etc., and with non-WGS84 schema
- geo-elevation - for representing altitude
- geo-waypoint - for representing routes and boundaries, using waypoints
Organisations and websites using Geo include:
- Flickr - on over three million photo pages
- Geograph British Isles - on over one million photo pages
- Multimap - all map pages
- MyMap - example:  (Taiwanese language site)
- OpenStreetMap - wiki pages about places, GPS traces and diary entries
- Locify - location enhanced browsing on mobile phone
- Wikipedia - embedded in geo templates of map-link pages
Many[which?] of the organisations publishing hCard include a geo as part of that.
- GeoSPARQL, Geographic Information System (GIS) data for the W3C Semantic Web using the Resource Description Framework (RDF) and SPARQL
- Geo URI specified in RFC 5870
- ICBM address, an older geotagging format
- "Geo Spec". microformats community. Retrieved 17 August 2010.
- "Extending HTML5 — Microformats". HTML5 Doctor. Retrieved 19 August 2010.
- "hCalendar 1.0 Spec". Microformats community. Retrieved 17 August 2010.
- "hCard 1.0 Spec". Microformats Community. Retrieved 17 August 2010.
- "Microformats in Google Maps". Retrieved 30 April 2016.