Use of the geo microformat


/ Published in: HTML
Save to your folder(s)

Simple useage of the geo microformat allowing a map location to be machine readable.


Copy this code and paste it in your HTML
  1. <!--
  2. Use of the geo microformat
  3. -->
  4. <span class="geo">
  5. <span class="latitude">23.907854</span>
  6. <span class="longitude">87.45973</span>
  7. </span>
  8.  
  9. <!--
  10. You can use an abbreviated form so this info isn't visible,
  11. but is still machine readable
  12. -->
  13. <p>I want to travel <abbr title="23.907854;87.45973" class="geo">here</abbr> on my holiday.</p>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.