{"id":27708,"date":"2016-08-15T23:01:31","date_gmt":"2016-08-15T15:01:31","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/?p=27708"},"modified":"2022-07-13T19:42:01","modified_gmt":"2022-07-13T11:42:01","slug":"amp-page-validation","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/amp-page-validation\/","title":{"rendered":"How to Validate Accelerated Mobile Pages (AMP)"},"content":{"rendered":"<p>In our last <a href=\"https:\/\/www.hongkiat.com\/blog\/guide-to-accelerated-mobile-pages-amp\/\">AMP tutorial<\/a>, we have shown you how to adopt AMP (Accelerated Mobile Pages) to gain a significant speed boost as well as better exposure in Google\u2019s mobile search result for your website in the mobile environment.<\/p>\n<p>Having seen <abbr title=\"Accelerated Mobile Pages\">AMP<\/abbr>\u2018s potential, I assume you might have started or have plans to start making changes to your websites to comply with <abbr title=\"Accelerated Mobile Pages\">AMP<\/abbr>. Carefully follow the guidelines on the Docs and compose your CSS to style the AMP pages to fit your visual appetite.<\/p>\n<p>Now, there is one last thing to do: validating those pages.<\/p>\n<p class=\"recommended_top\">\n\t\t\t\t\t<strong>Read Also:<\/strong>\u00a0\n\t\t\t\t\t<a target=\"_blank\" href=\"https:\/\/www.hongkiat.com\/blog\/guide-to-accelerated-mobile-pages-amp\/\">Beginner\u2019s Guide to Accelerated Mobile Pages (AMP)<\/a>\n\t\t\t\t<\/p>\n<h3>AMP Validators<\/h3>\n<p>There are several ways to validate your AMP pages:<\/p>\n<ol>\n<li>Add in the <code>#development=1<\/code> trail at the end of the AMP page URL. The report will be projected in the <strong>Console<\/strong> tab under DevTools.<\/li>\n<li>Alternatively you can use the online <a href=\"https:\/\/validator.ampproject.org\/\">AMP validator<\/a>.<\/li>\n<li>You can also use the <a href=\"https:\/\/chrome.google.com\/webstore\/detail\/amp-validator\/nmoffdblmcmgeicmolmhobpoocbbmknc\">Chrome AMP extension<\/a>.<\/li>\n<\/ol>\n<p class=\"recommended_top\">\n\t\t\t\t\t<strong>Read Also:<\/strong>\u00a0\n\t\t\t\t\t<a target=\"_blank\" href=\"https:\/\/www.hongkiat.com\/blog\/chrome-devtools-theme\/\">How to Personalize Your Google Chrome DevTools Theme<\/a>\n\t\t\t\t<\/p>\n<p>These tools will produce a report listing errors or warnings within the pages. Based on this, you can choose what to fix.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/amp-page-validation\/amp-console-errors.jpg\" height=\"500\" width=\"700\" alt=\"Console interface with AMP error reports\"><figcaption>AMP error report in DevTools Console.<\/figcaption><\/figure>\n<p><a href=\"https:\/\/amp.dev\/documentation\/guides-and-tutorials\/learn\/validation-workflow\/validation_errors\/?referrer=ampproject.org\">AMP validation<\/a> primarily governs <strong>the use of HTML elements<\/strong>, the <strong>s<\/strong>, and the <strong>style declarations<\/strong>. Make sure that these things in the page are all AMP-compliant, and that nothing that violates AMP guidelines are left in there. Otherwise, your AMP page will not appear anywhere.<\/p>\n<h3>Data Structure<\/h3>\n<p>AMP also requires the <a href=\"https:\/\/schema.org\/\">Schema<\/a> data structure. This data is laid out within the <code>head<\/code> tag of the page in JSON format. It contains contextual informatiom of the page including the title, the publisher logo and name, the date it was published and modified, etc.<\/p>\n<pre>&lt;script type=\"application\/ld+json\"&gt;\r\n{\r\n  \"@context\": \"http:\/\/schema.org\",\r\n  \"@type\": \"NewsArticle\",\r\n  \"mainEntityOfPage\": {\r\n    \"@type\": \"WebPage\",\r\n    \"@id\": \"https:\/\/example.com\/article\"\r\n  },\r\n  \"headline\": \"Article headline\",\r\n  \"image\": {\r\n    \"@type\": \"ImageObject\",\r\n    \"url\": \"https:\/\/example.com\/thumbnail1.jpg\",\r\n    \"height\": 800,\r\n    \"width\": 800\r\n  },\r\n  \"datePublished\": \"2015-02-05T08:00:00+08:00\",\r\n  \"dateModified\": \"2015-02-05T09:20:00+08:00\",\r\n  \"author\": {\r\n    \"@type\": \"Person\",\r\n    \"name\": \"John Doe\"\r\n  },\r\n  \"publisher\": {\r\n    \"@type\": \"Organization\",\r\n    \"name\": \"Google\",\r\n    \"logo\": {\r\n      \"@type\": \"ImageObject\",\r\n      \"url\": \"https:\/\/example.com\/logo.jpg\",\r\n      \"width\": 600,\r\n      \"height\": 60\r\n    }\r\n  },\r\n  \"description\": \"A most wonderful article\"\r\n}\r\n&lt;\/script&gt;<\/pre>\n<p>Depending on the purpose of the page,  the data to include may vary: Articles, Reviews, Recipes, Videos, etc. You can refer to <a href=\"https:\/\/developers.google.com\/search\/docs\/appearance\/structured-data\/article\">Google Data Types Documentation<\/a> for details on data type.<\/p>\n<p>There is some  data required which will produce errors if not supplied; a few other types of data are optional and will only produce warnings. These type of errors however will not appear in the aforementioned AMP validators.<\/p>\n<p>Instead, they will appear in the <a href=\"https:\/\/developers.google.com\/search\/docs\/appearance\/structured-data\/u\/0\/\">Google Structured Data Testing Tool<\/a> as well as in your <a href=\"https:\/\/developers.google.com\/search\">Google Webmasters<\/a> account.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/amp-page-validation\/amp-data-structure-errors.jpg\" height=\"500\" width=\"700\" alt=\"Table report in Google Data Structure Tool showing a warning and errors\"><\/figure>\n<p>AMP consumers or a client that supports AMP, such as Google Search and Twitter Moments, may use this set of data to present AMP content in their result page.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/amp-page-validation\/amp-results.jpg\" height=\"421\" width=\"700\" alt=\"amp results\"><figcaption>AMP carousel in Google SERP<\/figcaption><\/figure>\n<p>So, aside from following AMP guidelines with their proprietary custom HTML elements, the required Schema data have to be in place as well.<\/p>\n<h3>Overlooked Errors<\/h3>\n<p>Most errors are noted <a href=\"https:\/\/amp.dev\/documentation\/guides-and-tutorials\/learn\/validation-workflow\/validation_errors\/?referrer=ampproject.org\">in the Docs<\/a> explicitly and can be easily picked up in a glimpse. A few errors however are contextualized with variables that we may fail to notice such as the \u201cInvalid attribute value\u201d, which says <code>\"The attribute '%1' in tag '%2' is set to the invalid value '%3'.\"<\/code>.<\/p>\n<p>This error report does not mention or list precisely <em>which value<\/em> is invalid  . But what I do know is that we cannot set the <code>width<\/code> and the <code>height<\/code> of <code>&lt;amp-img&gt;<\/code> element to <code>100%<\/code> or <code>auto<\/code>. These attribute values have to be the exact size of the image to preserve the image ratio.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/amp-page-validation\/amp-report-in-chrome-ext.jpg\" height=\"227\" width=\"700\" alt=\"amp report\"><\/figure>\n<p>This is just one example. There are a number of custom elements \u2013 <code>amp-img<\/code>, <code>amp-iframe<\/code>, and <code>amp-ads<\/code> \u2013 with their own sets of validation rules against the use of an attribute and its value.<\/p>\n<p>This could make validating AMP Page a daunting task, especially if we take hundreds or (perhaps) thousands of legacy content published years ago into account.<\/p>\n<h3>Final Thought<\/h3>\n<p>AMP is still in its early stage. It is in very active development with communal efforts from Google and the web development community. But <strong>AMP will certainly evolve<\/strong>. Similar to HTML5, there might be elements, attributes, and some practices that will deprecate in the future. So <strong>make sure that your AMP pages are constantly validated from time to time<\/strong> based on the latest changes to the guidelines.<\/p>","protected":false},"excerpt":{"rendered":"<p>In our last AMP tutorial, we have shown you how to adopt AMP (Accelerated Mobile Pages) to gain a significant speed boost as well as better exposure in Google\u2019s mobile search result for your website in the mobile environment. Having seen AMP\u2018s potential, I assume you might have started or have plans to start making&hellip;<\/p>\n","protected":false},"author":113,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3392],"tags":[3882,37,4646,407],"topic":[4520],"class_list":["entry-content","is-maxi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.8 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Validate Accelerated Mobile Pages (AMP) - Hongkiat<\/title>\n<meta name=\"description\" content=\"In our last AMP tutorial, we have shown you how to adopt AMP (Accelerated Mobile Pages) to gain a significant speed boost as well as better exposure in\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hongkiat.com\/blog\/amp-page-validation\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Validate Accelerated Mobile Pages (AMP)\" \/>\n<meta property=\"og:description\" content=\"In our last AMP tutorial, we have shown you how to adopt AMP (Accelerated Mobile Pages) to gain a significant speed boost as well as better exposure in\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/amp-page-validation\/\" \/>\n<meta property=\"og:site_name\" content=\"Hongkiat\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hongkiatcom\" \/>\n<meta property=\"article:published_time\" content=\"2016-08-15T15:01:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-07-13T11:42:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.hongkiat.com\/uploads\/amp-page-validation\/amp-console-errors.jpg\" \/>\n<meta name=\"author\" content=\"Thoriq Firdaus\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@tfirdaus\" \/>\n<meta name=\"twitter:site\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Thoriq Firdaus\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/amp-page-validation\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/amp-page-validation\\\/\"},\"author\":{\"name\":\"Thoriq Firdaus\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/e7948c7a175d211496331e4b6ce55807\"},\"headline\":\"How to Validate Accelerated Mobile Pages (AMP)\",\"datePublished\":\"2016-08-15T15:01:31+00:00\",\"dateModified\":\"2022-07-13T11:42:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/amp-page-validation\\\/\"},\"wordCount\":637,\"commentCount\":5,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/amp-page-validation\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/amp-page-validation\\\/amp-console-errors.jpg\",\"keywords\":[\"Accelerated Mobile Pages\",\"Google\",\"Mobile Website Design &amp; Dev\",\"SEO\"],\"articleSection\":[\"Coding\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/amp-page-validation\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/amp-page-validation\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/amp-page-validation\\\/\",\"name\":\"How to Validate Accelerated Mobile Pages (AMP) - Hongkiat\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/amp-page-validation\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/amp-page-validation\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/amp-page-validation\\\/amp-console-errors.jpg\",\"datePublished\":\"2016-08-15T15:01:31+00:00\",\"dateModified\":\"2022-07-13T11:42:01+00:00\",\"description\":\"In our last AMP tutorial, we have shown you how to adopt AMP (Accelerated Mobile Pages) to gain a significant speed boost as well as better exposure in\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/amp-page-validation\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/amp-page-validation\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/amp-page-validation\\\/#primaryimage\",\"url\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/amp-page-validation\\\/amp-console-errors.jpg\",\"contentUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/amp-page-validation\\\/amp-console-errors.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/amp-page-validation\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Validate Accelerated Mobile Pages (AMP)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"name\":\"Hongkiat\",\"description\":\"Tech and Design Tips\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\",\"name\":\"Hongkiat.com\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"contentUrl\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"width\":1200,\"height\":799,\"caption\":\"Hongkiat.com\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/hongkiatcom\",\"https:\\\/\\\/x.com\\\/hongkiat\",\"https:\\\/\\\/www.pinterest.com\\\/hongkiat\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/e7948c7a175d211496331e4b6ce55807\",\"name\":\"Thoriq Firdaus\",\"description\":\"Thoriq is a writer for Hongkiat.com with a passion for web design and development. He is the author of Responsive Web Design by Examples, where he covered his best approaches in developing responsive websites quickly with a framework.\",\"sameAs\":[\"https:\\\/\\\/thoriq.com\",\"https:\\\/\\\/x.com\\\/tfirdaus\"],\"jobTitle\":\"Web Developer\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/author\\\/thoriq\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Validate Accelerated Mobile Pages (AMP) - Hongkiat","description":"In our last AMP tutorial, we have shown you how to adopt AMP (Accelerated Mobile Pages) to gain a significant speed boost as well as better exposure in","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.hongkiat.com\/blog\/amp-page-validation\/","og_locale":"en_US","og_type":"article","og_title":"How to Validate Accelerated Mobile Pages (AMP)","og_description":"In our last AMP tutorial, we have shown you how to adopt AMP (Accelerated Mobile Pages) to gain a significant speed boost as well as better exposure in","og_url":"https:\/\/www.hongkiat.com\/blog\/amp-page-validation\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2016-08-15T15:01:31+00:00","article_modified_time":"2022-07-13T11:42:01+00:00","og_image":[{"url":"https:\/\/assets.hongkiat.com\/uploads\/amp-page-validation\/amp-console-errors.jpg","type":"","width":"","height":""}],"author":"Thoriq Firdaus","twitter_card":"summary_large_image","twitter_creator":"@tfirdaus","twitter_site":"@hongkiat","twitter_misc":{"Written by":"Thoriq Firdaus","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hongkiat.com\/blog\/amp-page-validation\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/amp-page-validation\/"},"author":{"name":"Thoriq Firdaus","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/e7948c7a175d211496331e4b6ce55807"},"headline":"How to Validate Accelerated Mobile Pages (AMP)","datePublished":"2016-08-15T15:01:31+00:00","dateModified":"2022-07-13T11:42:01+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/amp-page-validation\/"},"wordCount":637,"commentCount":5,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/amp-page-validation\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/amp-page-validation\/amp-console-errors.jpg","keywords":["Accelerated Mobile Pages","Google","Mobile Website Design &amp; Dev","SEO"],"articleSection":["Coding"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hongkiat.com\/blog\/amp-page-validation\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/amp-page-validation\/","url":"https:\/\/www.hongkiat.com\/blog\/amp-page-validation\/","name":"How to Validate Accelerated Mobile Pages (AMP) - Hongkiat","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/amp-page-validation\/#primaryimage"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/amp-page-validation\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/amp-page-validation\/amp-console-errors.jpg","datePublished":"2016-08-15T15:01:31+00:00","dateModified":"2022-07-13T11:42:01+00:00","description":"In our last AMP tutorial, we have shown you how to adopt AMP (Accelerated Mobile Pages) to gain a significant speed boost as well as better exposure in","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/amp-page-validation\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/amp-page-validation\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/amp-page-validation\/#primaryimage","url":"https:\/\/assets.hongkiat.com\/uploads\/amp-page-validation\/amp-console-errors.jpg","contentUrl":"https:\/\/assets.hongkiat.com\/uploads\/amp-page-validation\/amp-console-errors.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/amp-page-validation\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Validate Accelerated Mobile Pages (AMP)"}]},{"@type":"WebSite","@id":"https:\/\/www.hongkiat.com\/blog\/#website","url":"https:\/\/www.hongkiat.com\/blog\/","name":"Hongkiat","description":"Tech and Design Tips","publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hongkiat.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.hongkiat.com\/blog\/#organization","name":"Hongkiat.com","url":"https:\/\/www.hongkiat.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","contentUrl":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","width":1200,"height":799,"caption":"Hongkiat.com"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/hongkiatcom","https:\/\/x.com\/hongkiat","https:\/\/www.pinterest.com\/hongkiat\/"]},{"@type":"Person","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/e7948c7a175d211496331e4b6ce55807","name":"Thoriq Firdaus","description":"Thoriq is a writer for Hongkiat.com with a passion for web design and development. He is the author of Responsive Web Design by Examples, where he covered his best approaches in developing responsive websites quickly with a framework.","sameAs":["https:\/\/thoriq.com","https:\/\/x.com\/tfirdaus"],"jobTitle":"Web Developer","url":"https:\/\/www.hongkiat.com\/blog\/author\/thoriq\/"}]}},"jetpack_featured_media_url":"https:\/\/","jetpack_shortlink":"https:\/\/wp.me\/p4uxU-7cU","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/27708","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/users\/113"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/comments?post=27708"}],"version-history":[{"count":2,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/27708\/revisions"}],"predecessor-version":[{"id":41696,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/27708\/revisions\/41696"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=27708"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=27708"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=27708"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=27708"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}