Use of the adr (address) microformat

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

Basic usage of the address microformat.

Copy this code and paste it in your HTML
  1. <!--
  2. Use of the address microformat
  3. Usually used inside the hCard microformat
  4. -->
  5. <div class="adr">
  6. <div class="street-address">123 Fake Street</div>
  7. <div class="extended-address">Fake Floor 1</div>
  8. <span class="locality">Fake locality</span>
  9. <span class="region">Fake region</span>
  10. <span class="postal-code">FAK3 0DE</span>
  11. <span class="country-name">Fakeland</span>
  12. </div>
  14. <!--
  15. You could also use an unordered list if needed, useful for website footers
  16. -->

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.