{"id":25584,"date":"2026-09-05T02:45:57","date_gmt":"2026-09-04T23:45:57","guid":{"rendered":"https:\/\/alienroad.com\/google-bilgi-bankasi\/use-valid-html-to-specify-page-metadata\/"},"modified":"2026-09-05T02:45:57","modified_gmt":"2026-09-04T23:45:57","slug":"use-valid-html-to-specify-page-metadata","status":"publish","type":"ar_kb","link":"https:\/\/alienroad.com\/google-bilgi-bankasi\/use-valid-html-to-specify-page-metadata\/","title":{"rendered":"Use valid HTML to specify page metadata"},"content":{"rendered":"<p>\n      Using valid HTML for page metadata ensures that Google can use the metadata as documented.<br \/>\n      Google tries to understand HTML even when it is invalid or inconsistent with the<br \/>\n      <a href=\"https:\/\/html.spec.whatwg.org\/multipage\/\" class=\"external-link\">HTML standard<\/a>,<br \/>\n      but errors in the markup can cause problems with how your metadata is used in Google Search.<br \/>\n      The primary element for specifying metadata about a page is the <code>&lt;head&gt;<\/code><br \/>\n      element of an HTML document. If you use an invalid element in the <code>&lt;head&gt;<\/code> element, Google ignores any<br \/>\n      elements that appear after the invalid element.\n    <\/p>\n<h2 id=\"use-valid-elements-in-the-head-element\" tabindex=\"-1\">Use valid elements in the <code>&lt;head&gt;<\/code> element<\/h2>\n<p>\n      The <code>&lt;head&gt;<\/code> element must only contain the following valid elements (and no other invalid elements), as per<br \/>\n      the HTML standard:\n    <\/p>\n<ul>\n<li><code>title<\/code><\/li>\n<li><code>meta<\/code><\/li>\n<li><code>link<\/code><\/li>\n<li><code>script<\/code><\/li>\n<li><code>style<\/code><\/li>\n<li><code>base<\/code><\/li>\n<li><code>noscript<\/code><\/li>\n<li><code>template<\/code><\/li>\n<\/ul>\n<h2 id=\"dont-use-invalid-elements-in-the-head-element\" tabindex=\"-1\">Don&#8217;t use invalid elements in the <code>&lt;head&gt;<\/code> element<\/h2>\n<p>\n      No element other than the aforementioned is permitted by the HTML standard in the<br \/>\n      <code>&lt;head&gt;<\/code> element. Common elements that appear in the <code>&lt;head&gt;<\/code> element,<br \/>\n      rendering it invalid are:\n    <\/p>\n<ul>\n<li><code>iframe<\/code><\/li>\n<li><code>img<\/code><\/li>\n<\/ul>\n<p>\n      We strongly recommend that you don&#8217;t use these invalid elements in the<br \/>\n      <code>&lt;head&gt;<\/code> element, but if you must, place these invalid elements after the ones you<br \/>\n      want Google to see. Once Google detects one of these invalid elements, it assumes the end of<br \/>\n      the <code>&lt;head&gt;<\/code> element and stops reading any further elements in the<br \/>\n      <code>&lt;head&gt;<\/code> element.\n    <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Using valid page metadata ensures that Google can process the HTML markup of your pages. Learn which elements are valid in the &lt;head&gt; of your page, and which ones you shouldn&#8217;t use in the &lt;head&gt;.<\/p>\n","protected":false},"menu_order":41,"template":"","meta":{"footnotes":""},"ar_kb_kategori":[685],"ar_kb_etiket":[],"class_list":["post-25584","ar_kb","type-ar_kb","status-publish","has-post-thumbnail","hentry","ar_kb_kategori-page-and-content-metadata"],"_links":{"self":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb\/25584","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb"}],"about":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/types\/ar_kb"}],"version-history":[{"count":0,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb\/25584\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/media\/27593"}],"wp:attachment":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/media?parent=25584"}],"wp:term":[{"taxonomy":"ar_kb_kategori","embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb_kategori?post=25584"},{"taxonomy":"ar_kb_etiket","embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb_etiket?post=25584"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}