Added Geo tags

This commit is contained in:
Tom Lutzenberger 2016-05-27 17:43:12 +02:00
parent 7e97311ed0
commit de79ca0985
1 changed files with 10 additions and 2 deletions

View File

@ -17,7 +17,7 @@ Below are the essential tags for basic, minimalist websites:
``` html
<title>Page Title</title>
<!-- The <base> tag defines a base URL for all relative links in the document -->
<!-- The <base> tag defines a base URL for all relative links in the document -->
<base href="https://example.com/page.html">
<style>
body { color: red; }
@ -53,8 +53,16 @@ Below are the essential tags for basic, minimalist websites:
<meta name="rating" content="General">
<meta name="referrer" content="never">
<meta http-equiv="Content-Security-Policy" content="default-src 'self'">
<!-- Geo tags -->
<meta name="ICBM" content="latitude, longitude" />
<meta name="geo.position" content="latitude, longitude" />
<meta name="geo.region" content="country[-state]" /><!-- Country code: mandatory, state code: optional; eg. content="US" / content="US-NY" -->
<meta name="geo.placename" content="city/town" /><!-- eg. content="New York City" -->
```
- [ICBM on Wikipedia](https://en.wikipedia.org/wiki/ICBM_address#Modern_use)
- [Geotagging on Wikipedia](https://en.wikipedia.org/wiki/Geotagging#HTML_pages)
### Not Recommended
Below are the meta attributes which are not recommended for use:
@ -198,7 +206,7 @@ Below are the link relations which are not recommended for use:
```
- [Facebook Instant Articles: Creating Articles](https://developers.facebook.com/docs/instant-articles/guides/articlecreate)
- [Instant Articles: Format Reference](https://developers.facebook.com/docs/instant-articles/reference)
- [Instant Articles: Format Reference](https://developers.facebook.com/docs/instant-articles/reference)
### Twitter