Tags or text that are only allowed within body section, are found outside body

Tags or text that are only allowed within body section, are found outside body



AMP Test https://intitute.blogspot.com


You can use this method to test the validity of our amp : https://search.google.com/test/amp?url=[your website]

when we try, a warning sign like this appears



This error occurs because there is a change in the Blogger HTML editing. As you know that currently Blogger is updating its features including an HTML editor.

The change that makes this error is the addition of code for the Adsense data-ad-client that uses the <! - and -> comments in the HTML source of the blog.

The first step

find this code first

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html>
<HTML amp='amp' lang='id'>

The second step
change this code : <HTML amp='amp' lang='id'> to :

<HTML amp='amp' b:css='false' b:js='false'>

The third step
find these two codes

&lt;/head&gt;&lt;!--<head/>--&gt;
<body>

The fourth step
Change the two codes, into the two codes below

&lt;/head&gt;
&lt;body&gt;

The fifth step
find these two codes

&lt;noscript&gt;&lt;!--</body>--&gt;&lt;/noscript&gt;&lt;/body&gt;
</HTML>

The sixth step
Then again change the two codes, into the two codes below

&lt;!--<head/>&lt;!--<body/>--&gt; &lt;/body&gt; 
</HTML>

I hope this solution from us can be useful

https://www.radarhot.com/2020/09/amp-blogger-solution-tags-or-text-that.html




💬 Komentar

Peta Bimbel Jakarta Timur

 
Use the Cookies: Kami menggunakan cookie untuk memastikan bahwa kami memberi anda pengalaman terbaik di situs web kami clicking on more information