{"id":3689,"date":"2024-04-23T10:11:38","date_gmt":"2024-04-23T10:11:38","guid":{"rendered":"http:\/\/screamingfrog.club\/how-to-debug-invalid-html-in-head\/"},"modified":"2024-07-03T06:51:47","modified_gmt":"2024-07-03T06:51:47","slug":"how-to-debug-invalid-html-in-head","status":"publish","type":"post","link":"https:\/\/screamingfrog.club\/en\/how-to-debug-invalid-html-in-head\/","title":{"rendered":"How to Debug Invalid Html in Head?"},"content":{"rendered":"<div class=\"fusion-fullwidth fullwidth-box fusion-builder-row-1 fusion-flex-container has-pattern-background has-mask-background nonhundred-percent-fullwidth non-hundred-percent-height-scrolling\" style=\"--awb-border-radius-top-left:0px;--awb-border-radius-top-right:0px;--awb-border-radius-bottom-right:0px;--awb-border-radius-bottom-left:0px;--awb-flex-wrap:wrap;\" ><div class=\"fusion-builder-row fusion-row fusion-flex-align-items-flex-start fusion-flex-content-wrap\" style=\"max-width:1248px;margin-left: calc(-4% \/ 2 );margin-right: calc(-4% \/ 2 );\"><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-0 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:20px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:0;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><div class=\"fusion-title title fusion-title-1 fusion-title-center fusion-title-text fusion-title-size-three\" style=\"--awb-text-color:#141617;--awb-margin-top:20px;--awb-margin-bottom:20px;--awb-font-size:40px;\"><div class=\"title-sep-container title-sep-container-left\"><div class=\"title-sep sep-single sep-solid\" style=\"border-color:var(--awb-color3);\"><\/div><\/div><span class=\"awb-title-spacer\"><\/span><h3 class=\"fusion-title-heading title-heading-center awb-gradient-text fusion-responsive-typography-calculated\" style=\"font-family:&quot;Work Sans&quot;;font-style:normal;font-weight:800;margin:0;letter-spacing:-0.012em;text-transform:var(--awb-typography1-text-transform);background-color:#f79501;background-image:linear-gradient(150deg, #f79501 20%,#fe6996 100%);font-size:1em;--fontSize:40;line-height:1;\">Invalid HTML<\/h3><span class=\"awb-title-spacer\"><\/span><div class=\"title-sep-container title-sep-container-right\"><div class=\"title-sep sep-single sep-solid\" style=\"border-color:var(--awb-color3);\"><\/div><\/div><\/div><div class=\"fusion-text fusion-text-1\"><p>This tutorial explains how to use <strong>Screaming Frog SEO Spider<\/strong> to identify invalid HTML elements in the header, visualize what metadata might be adversely affected, and how to fix the problem that is causing the error.<\/p>\n<p>Using valid HTML for a page&#8217;s metadata ensures that Search Engines, such as Google, are able to use it to index individual pages.<br \/>\nAlthough Search Engines will try to understand the markup even when there are errors, some elements within the header can cause criticality in Spider&#8217;s handling of the information.<br \/>\nIf invalid HTML elements are used within the header (&#8220;&lt;head&gt;&#8221;), Google will consider that the header should be closed and will start the body in its analysis.<\/p>\n<p>This means that any metadata that appears after the invalid HTML element could be ignored by Google.<\/p>\n<\/div><div class=\"fusion-title title fusion-title-2 fusion-title-center fusion-title-text fusion-title-size-four\" style=\"--awb-text-color:#141617;--awb-margin-top:20px;--awb-margin-bottom:20px;--awb-font-size:40px;\"><div class=\"title-sep-container title-sep-container-left\"><div class=\"title-sep sep-single sep-solid\" style=\"border-color:var(--awb-color3);\"><\/div><\/div><span class=\"awb-title-spacer\"><\/span><h4 class=\"fusion-title-heading title-heading-center awb-gradient-text fusion-responsive-typography-calculated\" style=\"font-family:&quot;Work Sans&quot;;font-style:normal;font-weight:800;margin:0;letter-spacing:-0.012em;text-transform:var(--awb-typography1-text-transform);background-color:#f79501;background-image:linear-gradient(150deg, #f79501 20%,#fe6996 100%);font-size:1em;--fontSize:40;line-height:1;\">Valid HTML Elements<\/h4><span class=\"awb-title-spacer\"><\/span><div class=\"title-sep-container title-sep-container-right\"><div class=\"title-sep sep-single sep-solid\" style=\"border-color:var(--awb-color3);\"><\/div><\/div><\/div><div class=\"fusion-text fusion-text-2\"><p>The HEAD should only contain the following Html elements:<\/p>\n<ul>\n<li>title<\/li>\n<li>meta<\/li>\n<li>link<\/li>\n<li>script<\/li>\n<li>style<\/li>\n<li>base<\/li>\n<li>noscript<\/li>\n<li>template<\/li>\n<\/ul>\n<p>Other elements may cause critical scanning and indexing issues:<\/p>\n<ul>\n<li>iframe<\/li>\n<li>img<\/li>\n<li>svg<\/li>\n<li>div<\/li>\n<li>noscript that contains an &#8220;img&#8221;.<\/li>\n<\/ul>\n<p>In general, it should also be considered that if &lt;body&gt; elements directly precede the &lt;head&gt; element, it could affect all metadata in the header.<\/p>\n<p class=\"p1\">For example, a tag &lt;div&gt; out of place that precedes the opening of the element &lt;html&gt; Will cause Google to automatically open and close an item &lt;head&gt; empty, which means that all metadata will be in the &lt;body&gt; and could potentially be ignored.<\/p>\n<p>According to Google&#8217;s directions if, despite these directions, there is a need to insert &#8220;invalid&#8221; elements in the Head, they should be inserted after the elements to be considered by the Spider.<\/p>\n<\/div><div class=\"fusion-title title fusion-title-3 fusion-title-center fusion-title-text fusion-title-size-three\" style=\"--awb-text-color:#141617;--awb-margin-top:20px;--awb-margin-bottom:20px;--awb-font-size:40px;\"><div class=\"title-sep-container title-sep-container-left\"><div class=\"title-sep sep-single sep-solid\" style=\"border-color:var(--awb-color3);\"><\/div><\/div><span class=\"awb-title-spacer\"><\/span><h3 class=\"fusion-title-heading title-heading-center awb-gradient-text fusion-responsive-typography-calculated\" style=\"font-family:&quot;Work Sans&quot;;font-style:normal;font-weight:800;margin:0;letter-spacing:-0.012em;text-transform:var(--awb-typography1-text-transform);background-color:#f79501;background-image:linear-gradient(150deg, #f79501 20%,#fe6996 100%);font-size:1em;--fontSize:40;line-height:1;\">Identify &#8220;Invalid HTML&#8221;<\/h3><span class=\"awb-title-spacer\"><\/span><div class=\"title-sep-container title-sep-container-right\"><div class=\"title-sep sep-single sep-solid\" style=\"border-color:var(--awb-color3);\"><\/div><\/div><\/div><div class=\"fusion-text fusion-text-3\"><p class=\"p1\">Finding invalid HTML elements in the header, or prior to it, on a large scale in a website is difficult, and this is where <strong>Screaming Frog<\/strong> can help do the bulk of the work.<\/p>\n<p class=\"p1\">The Seo Spider will flag any pages with invalid &lt;html&gt; elements that might be problematic and any meta tags such as titles, canonicals or meta robots that are outside the header.<\/p>\n<\/div><div class=\"fusion-title title fusion-title-4 fusion-title-center fusion-title-text fusion-title-size-four\" style=\"--awb-text-color:#141617;--awb-margin-top:20px;--awb-margin-bottom:20px;--awb-font-size:40px;\"><div class=\"title-sep-container title-sep-container-left\"><div class=\"title-sep sep-single sep-solid\" style=\"border-color:var(--awb-color3);\"><\/div><\/div><span class=\"awb-title-spacer\"><\/span><h4 class=\"fusion-title-heading title-heading-center awb-gradient-text fusion-responsive-typography-calculated\" style=\"font-family:&quot;Work Sans&quot;;font-style:normal;font-weight:800;margin:0;letter-spacing:-0.012em;text-transform:var(--awb-typography1-text-transform);background-color:#f79501;background-image:linear-gradient(150deg, #f79501 20%,#fe6996 100%);font-size:1em;--fontSize:40;line-height:1;\">Website Crawl<\/h4><span class=\"awb-title-spacer\"><\/span><div class=\"title-sep-container title-sep-container-right\"><div class=\"title-sep sep-single sep-solid\" style=\"border-color:var(--awb-color3);\"><\/div><\/div><\/div><div class=\"fusion-text fusion-text-4\"><p>The first step is very simple and you only need to enter the domain or subdomain to be analyzed without having to configure anything in the Seo spider except the &#8220;Rendering JS&#8221; crawling mode to analyze any elements entered after JS processing.<\/p>\n<\/div><div class=\"fusion-image-element \" style=\"--awb-caption-title-font-family:var(--h2_typography-font-family);--awb-caption-title-font-weight:var(--h2_typography-font-weight);--awb-caption-title-font-style:var(--h2_typography-font-style);--awb-caption-title-size:var(--h2_typography-font-size);--awb-caption-title-transform:var(--h2_typography-text-transform);--awb-caption-title-line-height:var(--h2_typography-line-height);--awb-caption-title-letter-spacing:var(--h2_typography-letter-spacing);\"><span class=\" fusion-imageframe imageframe-none imageframe-1 hover-type-none\"><img decoding=\"async\" width=\"850\" height=\"133\" title=\"crawl di un dominio con screaming frog\" src=\"http:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/04\/crawl-di-un-dominio-con-screaming-frog.png\" alt class=\"img-responsive wp-image-3202\" srcset=\"https:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/04\/crawl-di-un-dominio-con-screaming-frog-200x31.png 200w, https:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/04\/crawl-di-un-dominio-con-screaming-frog-400x63.png 400w, https:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/04\/crawl-di-un-dominio-con-screaming-frog-600x94.png 600w, https:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/04\/crawl-di-un-dominio-con-screaming-frog-800x125.png 800w, https:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/04\/crawl-di-un-dominio-con-screaming-frog.png 850w\" sizes=\"(max-width: 640px) 100vw, 850px\" \/><\/span><\/div><div class=\"fusion-title title fusion-title-5 fusion-title-center fusion-title-text fusion-title-size-four\" style=\"--awb-text-color:#141617;--awb-margin-top:20px;--awb-margin-bottom:20px;--awb-font-size:40px;\"><div class=\"title-sep-container title-sep-container-left\"><div class=\"title-sep sep-single sep-solid\" style=\"border-color:var(--awb-color3);\"><\/div><\/div><span class=\"awb-title-spacer\"><\/span><h4 class=\"fusion-title-heading title-heading-center awb-gradient-text fusion-responsive-typography-calculated\" style=\"font-family:&quot;Work Sans&quot;;font-style:normal;font-weight:800;margin:0;letter-spacing:-0.012em;text-transform:var(--awb-typography1-text-transform);background-color:#f79501;background-image:linear-gradient(150deg, #f79501 20%,#fe6996 100%);font-size:1em;--fontSize:40;line-height:1;\">Analysis Sheet &#8220;Validation&#8221;<\/h4><span class=\"awb-title-spacer\"><\/span><div class=\"title-sep-container title-sep-container-right\"><div class=\"title-sep sep-single sep-solid\" style=\"border-color:var(--awb-color3);\"><\/div><\/div><\/div><div class=\"fusion-text fusion-text-5\"><p>During the scan you can already see the data in &#8220;Real time&#8221; or wait until the end of the scan for a complete picture of the URLs that present this scenario.<br \/>\nThe reference Tab is called<strong>&#8220;Validation<\/strong>&#8221; and includes several filters:<\/p>\n<ul>\n<li><strong>Invalid HTML Ele<\/strong>ments in Head: pages with invalid HTML elements within the header. When an invalid element in the header is used, Google assumes the end of the element &lt;head&gt; and ignores any elements that appear after the invalid element. This means that critical header elements that appear after the invalid element will not be seen.<\/li>\n<li><strong>&#8220;&lt;body&gt;&#8221; Element Preceding &#8220;&lt;html&gt;<\/strong>&#8220;: Urls that have a body element that precedes the opening of the html element. Browsers and Googlebots automatically assume the beginning of the body and generate an empty head element before it. This means that the expected head element and its metadata will be seen in the body and ignored.<\/li>\n<li><strong>&#8220;&lt;head&gt;&#8221; Not first in &#8220;&lt;html&gt;&#8221; Element<\/strong>: the element &lt;head&gt; should be the first element in the code &lt;html&gt;. Browsers and Googlebot will automatically generate a &lt;head element&gt; if it does not find it as the first element.<\/li>\n<li><strong>Missing &#8220;&lt;head&gt;&#8221; Tag<\/strong>: pages that are missing a &lt;head&gt; element in the HTML.<\/li>\n<li>Multiple <strong>&#8220;&lt;head&gt;&#8221; Tags<\/strong>: pages with multiple elements &lt;head&gt; in HTML.<\/li>\n<li>Missing &#8220;&lt;body&gt;&#8221; Tag.<\/li>\n<li>Multiple &#8220;&lt;body&gt;&#8221; Tags.<\/li>\n<li>HTML Document Over 15MB.<\/li>\n<\/ul>\n<\/div><div class=\"fusion-image-element \" style=\"--awb-caption-title-font-family:var(--h2_typography-font-family);--awb-caption-title-font-weight:var(--h2_typography-font-weight);--awb-caption-title-font-style:var(--h2_typography-font-style);--awb-caption-title-size:var(--h2_typography-font-size);--awb-caption-title-transform:var(--h2_typography-text-transform);--awb-caption-title-line-height:var(--h2_typography-line-height);--awb-caption-title-letter-spacing:var(--h2_typography-letter-spacing);\"><span class=\" fusion-imageframe imageframe-none imageframe-2 hover-type-none\"><img decoding=\"async\" width=\"850\" height=\"388\" title=\"Tab validation in screaming frog\" src=\"http:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/04\/Tab-validation-in-screaming-frog.png\" alt class=\"img-responsive wp-image-3203\" srcset=\"https:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/04\/Tab-validation-in-screaming-frog-200x91.png 200w, https:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/04\/Tab-validation-in-screaming-frog-400x183.png 400w, https:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/04\/Tab-validation-in-screaming-frog-600x274.png 600w, https:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/04\/Tab-validation-in-screaming-frog-800x365.png 800w, https:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/04\/Tab-validation-in-screaming-frog.png 850w\" sizes=\"(max-width: 640px) 100vw, 850px\" \/><\/span><\/div><div class=\"fusion-text fusion-text-6\" style=\"--awb-margin-top:10px;\"><p>As we have just described granular analysis you will be able to find it in the dedicated Tab, while for a macro view you will be able to monitor the data in the sidebar that will be labeled High Priority in the &#8220;Issue&#8221; tab.<\/p>\n<\/div><div class=\"fusion-image-element \" style=\"--awb-caption-title-font-family:var(--h2_typography-font-family);--awb-caption-title-font-weight:var(--h2_typography-font-weight);--awb-caption-title-font-style:var(--h2_typography-font-style);--awb-caption-title-size:var(--h2_typography-font-size);--awb-caption-title-transform:var(--h2_typography-text-transform);--awb-caption-title-line-height:var(--h2_typography-line-height);--awb-caption-title-letter-spacing:var(--h2_typography-letter-spacing);\"><span class=\" fusion-imageframe imageframe-none imageframe-3 hover-type-none\"><img decoding=\"async\" width=\"850\" height=\"1015\" title=\"issues tab integrata su screaming frog\" src=\"http:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/04\/issues-tab-integrata-su-screaming-frog.png\" alt class=\"img-responsive wp-image-3204\" srcset=\"https:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/04\/issues-tab-integrata-su-screaming-frog-200x239.png 200w, https:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/04\/issues-tab-integrata-su-screaming-frog-400x478.png 400w, https:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/04\/issues-tab-integrata-su-screaming-frog-600x716.png 600w, https:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/04\/issues-tab-integrata-su-screaming-frog-800x955.png 800w, https:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/04\/issues-tab-integrata-su-screaming-frog.png 850w\" sizes=\"(max-width: 640px) 100vw, 850px\" \/><\/span><\/div><div class=\"fusion-title title fusion-title-6 fusion-title-center fusion-title-text fusion-title-size-three\" style=\"--awb-text-color:#141617;--awb-margin-top:20px;--awb-margin-bottom:20px;--awb-font-size:40px;\"><div class=\"title-sep-container title-sep-container-left\"><div class=\"title-sep sep-single sep-solid\" style=\"border-color:var(--awb-color3);\"><\/div><\/div><span class=\"awb-title-spacer\"><\/span><h3 class=\"fusion-title-heading title-heading-center awb-gradient-text fusion-responsive-typography-calculated\" style=\"font-family:&quot;Work Sans&quot;;font-style:normal;font-weight:800;margin:0;letter-spacing:-0.012em;text-transform:var(--awb-typography1-text-transform);background-color:#f79501;background-image:linear-gradient(150deg, #f79501 20%,#fe6996 100%);font-size:1em;--fontSize:40;line-height:1;\">Debug &lt;head&gt;<\/h3><span class=\"awb-title-spacer\"><\/span><div class=\"title-sep-container title-sep-container-right\"><div class=\"title-sep sep-single sep-solid\" style=\"border-color:var(--awb-color3);\"><\/div><\/div><\/div><div class=\"fusion-text fusion-text-7\"><p>Once all URLs affected by this criticality are discovered, it will be possible to analyze them thoroughly in three ways:<\/p>\n<ul>\n<li>Raw <strong>HTML<\/strong>: Head analysis in raw HTML through right-click and choosing the &#8220;View Source&#8221; option of the page. In this case, the analysis will be partial because there may be elements that are inserted with javascript processing.<\/li>\n<li><strong>Rendered HTML<\/strong>: analysis of the page after JS rendering.<br \/>\nIn this case it will be sufficient to use Chrome&#8217;s &#8220;Inspect Element&#8221; and consult the &#8220;Elements&#8221; tab.<\/li>\n<li><b>Search Cons<\/b>ole: You can also check for invalid items in the Head by checking urls through the &#8220;URL Inspector&#8221; function of Search Console.<\/li>\n<\/ul>\n<\/div><div class=\"fusion-image-element \" style=\"--awb-caption-title-font-family:var(--h2_typography-font-family);--awb-caption-title-font-weight:var(--h2_typography-font-weight);--awb-caption-title-font-style:var(--h2_typography-font-style);--awb-caption-title-size:var(--h2_typography-font-size);--awb-caption-title-transform:var(--h2_typography-text-transform);--awb-caption-title-line-height:var(--h2_typography-line-height);--awb-caption-title-letter-spacing:var(--h2_typography-letter-spacing);\"><span class=\" fusion-imageframe imageframe-none imageframe-4 hover-type-none\"><img decoding=\"async\" width=\"850\" height=\"742\" title=\"googlebot-rendered-html\" src=\"http:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/04\/googlebot-rendered-html.png\" alt class=\"img-responsive wp-image-3205\" srcset=\"https:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/04\/googlebot-rendered-html-200x175.png 200w, https:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/04\/googlebot-rendered-html-400x349.png 400w, https:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/04\/googlebot-rendered-html-600x524.png 600w, https:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/04\/googlebot-rendered-html-800x698.png 800w, https:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/04\/googlebot-rendered-html.png 850w\" sizes=\"(max-width: 640px) 100vw, 850px\" \/><\/span><\/div><div class=\"fusion-text fusion-text-8\" style=\"--awb-margin-top:10px;\"><p>To confirm how important the topic just discussed is for SEO, let&#8217;s look at an example below.<\/p>\n<p><span style=\"color: var(--awb-text-color); font-family: var(--awb-text-font-family); font-size: var(--awb-font-size); font-style: var(--awb-text-font-style); font-weight: var(--awb-text-font-weight); letter-spacing: var(--awb-letter-spacing); text-align: var(--awb-content-alignment); text-transform: var(--awb-text-transform); background-color: var(--awb-bg-color-hover);\">The rendered HTML on the right-hand side looks correct, but the &#8220;Canonical declared by user&#8221; is ignored because of the &lt;noscript tag&gt; that contains an image above it, closing the header.<\/span><\/p>\n<\/div><div class=\"fusion-image-element \" style=\"--awb-caption-title-font-family:var(--h2_typography-font-family);--awb-caption-title-font-weight:var(--h2_typography-font-weight);--awb-caption-title-font-style:var(--h2_typography-font-style);--awb-caption-title-size:var(--h2_typography-font-size);--awb-caption-title-transform:var(--h2_typography-text-transform);--awb-caption-title-line-height:var(--h2_typography-line-height);--awb-caption-title-letter-spacing:var(--h2_typography-letter-spacing);\"><span class=\" fusion-imageframe imageframe-none imageframe-5 hover-type-none\"><img decoding=\"async\" width=\"850\" height=\"386\" title=\"canonical-below-noscript\" src=\"http:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/04\/canonical-below-noscript.png\" alt class=\"img-responsive wp-image-3206\" srcset=\"https:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/04\/canonical-below-noscript-200x91.png 200w, https:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/04\/canonical-below-noscript-400x182.png 400w, https:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/04\/canonical-below-noscript-600x272.png 600w, https:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/04\/canonical-below-noscript-800x363.png 800w, https:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/04\/canonical-below-noscript.png 850w\" sizes=\"(max-width: 640px) 100vw, 850px\" \/><\/span><\/div><\/div><\/div><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":2711,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[38],"tags":[52,60],"class_list":["post-3689","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-guide-screaming-frog","tag-beginner-en","tag-guide"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Debug Invalid Html in Head? | Screaming Frog<\/title>\n<meta name=\"description\" content=\"Find out if a website has invalid HTML elements in the Head and how to debug them with Screaming Frog.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/screamingfrog.club\/en\/how-to-debug-invalid-html-in-head\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Debug Invalid Elements in Html with Screaming Frog\" \/>\n<meta property=\"og:description\" content=\"Find out if a website has invalid HTML elements in the Head and how to debug them with Screaming Frog.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/screamingfrog.club\/en\/how-to-debug-invalid-html-in-head\/\" \/>\n<meta property=\"og:site_name\" content=\"Screaming Frog Club\" \/>\n<meta property=\"article:published_time\" content=\"2024-04-23T10:11:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-07-03T06:51:47+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/04\/Screaming-Frog-1-1024x701.webp\" \/>\n<meta name=\"author\" content=\"raffaele.visintin@gmail.com\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"raffaele.visintin@gmail.com\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/screamingfrog.club\/en\/how-to-debug-invalid-html-in-head\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/screamingfrog.club\/en\/how-to-debug-invalid-html-in-head\/\"},\"author\":{\"name\":\"raffaele.visintin@gmail.com\",\"@id\":\"https:\/\/screamingfrog.club\/en\/#\/schema\/person\/cd9ee509ae86128e5e339f9e3de1bc73\"},\"headline\":\"How to Debug Invalid Html in Head?\",\"datePublished\":\"2024-04-23T10:11:38+00:00\",\"dateModified\":\"2024-07-03T06:51:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/screamingfrog.club\/en\/how-to-debug-invalid-html-in-head\/\"},\"wordCount\":3440,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/screamingfrog.club\/en\/#organization\"},\"image\":{\"@id\":\"https:\/\/screamingfrog.club\/en\/how-to-debug-invalid-html-in-head\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/03\/SF_back_postCard_blog.png\",\"keywords\":[\"Beginner\",\"Guide\"],\"articleSection\":[\"Guide Screaming Frog\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/screamingfrog.club\/en\/how-to-debug-invalid-html-in-head\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/screamingfrog.club\/en\/how-to-debug-invalid-html-in-head\/\",\"url\":\"https:\/\/screamingfrog.club\/en\/how-to-debug-invalid-html-in-head\/\",\"name\":\"How to Debug Invalid Html in Head? | Screaming Frog\",\"isPartOf\":{\"@id\":\"https:\/\/screamingfrog.club\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/screamingfrog.club\/en\/how-to-debug-invalid-html-in-head\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/screamingfrog.club\/en\/how-to-debug-invalid-html-in-head\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/03\/SF_back_postCard_blog.png\",\"datePublished\":\"2024-04-23T10:11:38+00:00\",\"dateModified\":\"2024-07-03T06:51:47+00:00\",\"description\":\"Find out if a website has invalid HTML elements in the Head and how to debug them with Screaming Frog.\",\"breadcrumb\":{\"@id\":\"https:\/\/screamingfrog.club\/en\/how-to-debug-invalid-html-in-head\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/screamingfrog.club\/en\/how-to-debug-invalid-html-in-head\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/screamingfrog.club\/en\/how-to-debug-invalid-html-in-head\/#primaryimage\",\"url\":\"https:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/03\/SF_back_postCard_blog.png\",\"contentUrl\":\"https:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/03\/SF_back_postCard_blog.png\",\"width\":600,\"height\":300},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/screamingfrog.club\/en\/how-to-debug-invalid-html-in-head\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/screamingfrog.club\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Debug Invalid Html in Head?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/screamingfrog.club\/en\/#website\",\"url\":\"https:\/\/screamingfrog.club\/en\/\",\"name\":\"Screaming Frog Club\",\"description\":\"Guide e Tutorial sul Seo SPider\",\"publisher\":{\"@id\":\"https:\/\/screamingfrog.club\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/screamingfrog.club\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/screamingfrog.club\/en\/#organization\",\"name\":\"Screaming Frog Club\",\"url\":\"https:\/\/screamingfrog.club\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/screamingfrog.club\/en\/#\/schema\/logo\/image\/\",\"url\":\"http:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/02\/SF_Club_Logo-2.png\",\"contentUrl\":\"http:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/02\/SF_Club_Logo-2.png\",\"width\":117,\"height\":67,\"caption\":\"Screaming Frog Club\"},\"image\":{\"@id\":\"https:\/\/screamingfrog.club\/en\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/screamingfrog.club\/en\/#\/schema\/person\/cd9ee509ae86128e5e339f9e3de1bc73\",\"name\":\"raffaele.visintin@gmail.com\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/screamingfrog.club\/wp-content\/litespeed\/avatar\/5b2dd661ff57d360794386547fd7a2dd.jpg?ver=1775343410\",\"url\":\"https:\/\/screamingfrog.club\/wp-content\/litespeed\/avatar\/5b2dd661ff57d360794386547fd7a2dd.jpg?ver=1775343410\",\"contentUrl\":\"https:\/\/screamingfrog.club\/wp-content\/litespeed\/avatar\/5b2dd661ff57d360794386547fd7a2dd.jpg?ver=1775343410\",\"caption\":\"raffaele.visintin@gmail.com\"},\"sameAs\":[\"http:\/\/screamingfrog.club\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Debug Invalid Html in Head? | Screaming Frog","description":"Find out if a website has invalid HTML elements in the Head and how to debug them with Screaming Frog.","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:\/\/screamingfrog.club\/en\/how-to-debug-invalid-html-in-head\/","og_locale":"en_US","og_type":"article","og_title":"How to Debug Invalid Elements in Html with Screaming Frog","og_description":"Find out if a website has invalid HTML elements in the Head and how to debug them with Screaming Frog.","og_url":"https:\/\/screamingfrog.club\/en\/how-to-debug-invalid-html-in-head\/","og_site_name":"Screaming Frog Club","article_published_time":"2024-04-23T10:11:38+00:00","article_modified_time":"2024-07-03T06:51:47+00:00","og_image":[{"url":"http:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/04\/Screaming-Frog-1-1024x701.webp","type":"","width":"","height":""}],"author":"raffaele.visintin@gmail.com","twitter_card":"summary_large_image","twitter_misc":{"Written by":"raffaele.visintin@gmail.com","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/screamingfrog.club\/en\/how-to-debug-invalid-html-in-head\/#article","isPartOf":{"@id":"https:\/\/screamingfrog.club\/en\/how-to-debug-invalid-html-in-head\/"},"author":{"name":"raffaele.visintin@gmail.com","@id":"https:\/\/screamingfrog.club\/en\/#\/schema\/person\/cd9ee509ae86128e5e339f9e3de1bc73"},"headline":"How to Debug Invalid Html in Head?","datePublished":"2024-04-23T10:11:38+00:00","dateModified":"2024-07-03T06:51:47+00:00","mainEntityOfPage":{"@id":"https:\/\/screamingfrog.club\/en\/how-to-debug-invalid-html-in-head\/"},"wordCount":3440,"commentCount":0,"publisher":{"@id":"https:\/\/screamingfrog.club\/en\/#organization"},"image":{"@id":"https:\/\/screamingfrog.club\/en\/how-to-debug-invalid-html-in-head\/#primaryimage"},"thumbnailUrl":"https:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/03\/SF_back_postCard_blog.png","keywords":["Beginner","Guide"],"articleSection":["Guide Screaming Frog"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/screamingfrog.club\/en\/how-to-debug-invalid-html-in-head\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/screamingfrog.club\/en\/how-to-debug-invalid-html-in-head\/","url":"https:\/\/screamingfrog.club\/en\/how-to-debug-invalid-html-in-head\/","name":"How to Debug Invalid Html in Head? | Screaming Frog","isPartOf":{"@id":"https:\/\/screamingfrog.club\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/screamingfrog.club\/en\/how-to-debug-invalid-html-in-head\/#primaryimage"},"image":{"@id":"https:\/\/screamingfrog.club\/en\/how-to-debug-invalid-html-in-head\/#primaryimage"},"thumbnailUrl":"https:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/03\/SF_back_postCard_blog.png","datePublished":"2024-04-23T10:11:38+00:00","dateModified":"2024-07-03T06:51:47+00:00","description":"Find out if a website has invalid HTML elements in the Head and how to debug them with Screaming Frog.","breadcrumb":{"@id":"https:\/\/screamingfrog.club\/en\/how-to-debug-invalid-html-in-head\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/screamingfrog.club\/en\/how-to-debug-invalid-html-in-head\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/screamingfrog.club\/en\/how-to-debug-invalid-html-in-head\/#primaryimage","url":"https:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/03\/SF_back_postCard_blog.png","contentUrl":"https:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/03\/SF_back_postCard_blog.png","width":600,"height":300},{"@type":"BreadcrumbList","@id":"https:\/\/screamingfrog.club\/en\/how-to-debug-invalid-html-in-head\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/screamingfrog.club\/en\/"},{"@type":"ListItem","position":2,"name":"How to Debug Invalid Html in Head?"}]},{"@type":"WebSite","@id":"https:\/\/screamingfrog.club\/en\/#website","url":"https:\/\/screamingfrog.club\/en\/","name":"Screaming Frog Club","description":"Guide e Tutorial sul Seo SPider","publisher":{"@id":"https:\/\/screamingfrog.club\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/screamingfrog.club\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/screamingfrog.club\/en\/#organization","name":"Screaming Frog Club","url":"https:\/\/screamingfrog.club\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/screamingfrog.club\/en\/#\/schema\/logo\/image\/","url":"http:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/02\/SF_Club_Logo-2.png","contentUrl":"http:\/\/screamingfrog.club\/wp-content\/uploads\/2024\/02\/SF_Club_Logo-2.png","width":117,"height":67,"caption":"Screaming Frog Club"},"image":{"@id":"https:\/\/screamingfrog.club\/en\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/screamingfrog.club\/en\/#\/schema\/person\/cd9ee509ae86128e5e339f9e3de1bc73","name":"raffaele.visintin@gmail.com","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/screamingfrog.club\/wp-content\/litespeed\/avatar\/5b2dd661ff57d360794386547fd7a2dd.jpg?ver=1775343410","url":"https:\/\/screamingfrog.club\/wp-content\/litespeed\/avatar\/5b2dd661ff57d360794386547fd7a2dd.jpg?ver=1775343410","contentUrl":"https:\/\/screamingfrog.club\/wp-content\/litespeed\/avatar\/5b2dd661ff57d360794386547fd7a2dd.jpg?ver=1775343410","caption":"raffaele.visintin@gmail.com"},"sameAs":["http:\/\/screamingfrog.club"]}]}},"_links":{"self":[{"href":"https:\/\/screamingfrog.club\/en\/wp-json\/wp\/v2\/posts\/3689","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/screamingfrog.club\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/screamingfrog.club\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/screamingfrog.club\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/screamingfrog.club\/en\/wp-json\/wp\/v2\/comments?post=3689"}],"version-history":[{"count":0,"href":"https:\/\/screamingfrog.club\/en\/wp-json\/wp\/v2\/posts\/3689\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/screamingfrog.club\/en\/wp-json\/wp\/v2\/media\/2711"}],"wp:attachment":[{"href":"https:\/\/screamingfrog.club\/en\/wp-json\/wp\/v2\/media?parent=3689"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/screamingfrog.club\/en\/wp-json\/wp\/v2\/categories?post=3689"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/screamingfrog.club\/en\/wp-json\/wp\/v2\/tags?post=3689"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}