Last active
December 5, 2017 07:17
-
-
Save greenido/928101b07b5d67847b6e to your computer and use it in GitHub Desktop.
AMP HTML - The hello world version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html amp lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Hello, AMPs</title> | |
<link rel="canonical" href="http://example.ampproject.org/article-metadata.html" /> | |
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1"> | |
<script type="application/ld+json"> | |
{ | |
"@context": "http://schema.org", | |
"@type": "NewsArticle", | |
"headline": "Open-source framework for publishing content", | |
"datePublished": "2015-10-07T12:02:41Z", | |
"image": [ | |
"logo.jpg" | |
] | |
} | |
</script> | |
<style>body {opacity: 0}</style><noscript><style>body {opacity: 1}</style></noscript> | |
<script async src="https://cdn.ampproject.org/v0.js"></script> | |
</head> | |
<body> | |
<h1>Welcome to the mobile web!</h1> | |
<p>Read more on the latests new APIs in | |
<a href="https://greenido.wordpress.com/?s=mobileweb"> | |
Ido's posts on the mobile web | |
</a> | |
</p> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment