• Good day,

    I am having an error on my blog when trying to use AMP.

    i got this errors from Google Search Console:

    Prohibited or invalid use of HTML Tag

    1. The attribute ‘content’ in tag ‘meta http-equiv=Content-Type’ is set to the invalid value ‘text/html;charset=UTF-8’.

    2. The tag ‘meta’ may only appear as a descendant of tag ‘head’.

    The 2 errors are on the same line (37)

    `</head>
    <body class=””>
    <header id=”#top” class=”amp-wp-header”>
    <div>

    site name

    </div>
    </header>
    <article class=”amp-wp-article”>
    <header class=”amp-wp-article-header”>
    <h1 class=”amp-wp-title”>post title</h1>
    <div class=”amp-wp-meta amp-wp-byline”>
    <amp-img src=”https://secure.gravatar.com/avatar/264785b059?s=24&r=g&#8221; width=”24″ height=”24″ layout=”fixed”></amp-img>
    <span class=”amp-wp-author author vcard”>Wilson</span>
    </div>
    <div class=”amp-wp-meta amp-wp-posted-on”>
    <time datetime=”2016-10-05T07:06:02+00:00″>
    5 months ago </time>
    </div>
    </header>
    <figure class=”amp-wp-article-featured-image wp-caption”>
    </figure>
    <div class=”amp-wp-article-content”>
    <p class=”xyz-featured-image”></p>
    <meta http-equiv=”Content-Type” content=”text/html;charset=UTF-8″/><p></p><div class=”amp-wp-inline-6e6d63133658955b29b01b4d”><center>

    i dont know why “<meta http-equiv=”Content-Type” content=”text/html;charset=UTF-8″/>” is coming inside the post

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Prohibited or invalid use of HTML Tag’ is closed to new replies.