Geo (microformat)
Get Geo Microformat essential facts below. View Videos or join the Geo Microformat discussion. Add Geo Microformat to your topic list for future reference or share this resource on social media.
Geo Microformat
A Geo microformat, detected on the resource page for Great Barr, by Firefox's Operator extension. Users may add alternative mapping sources to those shown, which are included by default.

Geo is a microformat used for marking up WGS84 geographical coordinates (latitude;longitude) in (X)HTML.[1] Although termed a "draft" specification, this is a formality, and the format is stable and in widespread use;[2] not least as a sub-set of the published hCalendar[3] and hCard[4] microformat specifications, neither of which is still a draft.[3][4]

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.


The below describes the new version of the geo microformat, h-geo.

  • All properties are optional.[5]
  • The same number of decimal places should be used in each value, including trailing zeroes.[note 1]

The hGeo microformat is applied using three HTML classes. For example, the marked-up text:

<div>Belvide: 52.686; -2.193; 120</div>


<div class="h-geo">Belvide: <span class="p-latitude">52.686</span>; <span class="p-longitude">-2.193</span>; <span class="p-altitude">120</span></div>

by adding the class-attribute values "h-geo", "p-latitude", "p-longitude", and "p-altitude".

This will display

Belvide: 52.686; -2.193; 120

and a geo microformat for that location, Belvide Reservoir, which will be detected, on this page, by microformat parsing tools.

Legacy Geo

The legacy microformat uses the class-attribute values "geo", "latitude" and "longitude". There is no support for altitude. The legacy and modern attribute formats can coexist.


Each Geo microformat may be wrapped in an hCard microformat, allowing for the inclusion of personal, organisational or venue names, postal addresses, telephone contacts, URLs, pictures, etc.


Organisations and websites using Geo include:

Many[which?] of the organisations publishing hCard include a geo as part of that.

See also

  • 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
  • ISO 6709
  • ICBM address, an older geotagging format
  •, web standard


  1. ^ Must and should are used per the IETF document RFC 2119


  1. ^ "Geo Spec". microformats community. Retrieved 2010.
  2. ^ "Extending HTML5 -- Microformats". HTML5 Doctor. Retrieved 2010.
  3. ^ a b "hCalendar 1.0 Spec". Microformats community. Retrieved 2010.
  4. ^ a b "hCard 1.0 Spec". Microformats Community. Retrieved 2010.
  5. ^ "h-geo - Microformats Wiki".
  6. ^ "Microformats in Google Maps". Retrieved 2016.

External links

  This article uses material from the Wikipedia page available here. It is released under the Creative Commons Attribution-Share-Alike License 3.0.



Music Scenes