How To Solve Meta Tags Error In HTML code? (Fixed)

Share:
Blogger users usually get an error message whenever they install the social Meta Tags into the HTML code.


This is likely because the tags are not directly aimed at Blogspot services. You will have to edit your code to have it working for a blogger.com HTML pages.

This error usually displays the message below.

Problem
Error parsing XML, line 671, column 3: The element type "meta" must be terminated by the matching end-tag "</meta>"
Your Meta tags Will be looking like this.
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@MikeTsire">
<meta name="twitter:creator" content="@MikeTsire">
<meta name="twitter:title" content="MIkeTsire Blog">
<meta name="twitter:description" content="Tech Hub">
<meta name="twitter:image" content="">
Solution
Add the "/" slash before the last ">". It should look something like this.
<meta name="twitter:card" content="summary_large_image"/>
<meta name="twitter:site" content="@MikeTsire"/>
<meta name="twitter:creator" content="@MikeTsire"/>
<meta name="twitter:title" content="MIkeTsire Blog"/>
<meta name="twitter:description" content="Tech Hub"/>
<meta name="twitter:image" content=""/>
Save it, and it will not give you any error again! :-)

3 comments:

  1. Do you mind if I quote a few of your articles as long as I provide credit and sources back to your blog? My website is in the very same niche as yours and my visitors would truly benefit from a lot of the information you provide here. Please let me know if this alright with you. Thanks a lot!
    Influencer Marketing Campaigns

    ReplyDelete