Is "article:tag" meta tag necessary?

16,570

<meta property="article:tag" content="Article Tag" /> is one of the Facebook Open Graph tags. Having social media metadata in the website is one of the best practice as it will tell how our webpage's Title, URL, Image, Description, site_name etc should display while sharing. But I don't think <meta property="article:tag" content="Article Tag" /> is necessary as it is not in the Standard Open Graph tags

<!-- Open Graph data -->
<meta property="og:title" content="Title" />
<meta property="og:type" content="article" />
<meta property="og:url" content="http://www.example.com/" />
<meta property="og:image" content="http://example.com/image.jpg" />
<meta property="og:description" content="Description" />
<meta property="og:site_name" content="Site Name" />
<meta property="fb:admins" content="Facebook numeric ID" />

Still if you want to add that tag you can add like

<!-- Open Graph data -->
<meta property="og:title" content="Title" />
<meta property="og:type" content="article" />
<meta property="og:url" content="http://www.example.com/" />
<meta property="og:image" content="http://example.com/image.jpg" />
<meta property="og:description" content="Description" />
<meta property="og:site_name" content="Site Name" />
<meta property="article:published_time" content="2015-11-11T19:08:47+01:00" />
<meta property="article:modified_time" content="2015-11-11T19:08:47+01:00" />
<meta property="article:section" content="Article Section" />
<meta property="article:tag" content="Article Tag" />
<meta property="fb:admins" content="Facebook numberic ID" /> 
Share:
16,570

Related videos on Youtube

Abhishek Macwan
Author by

Abhishek Macwan

Updated on September 18, 2022

Comments

  • Abhishek Macwan
    Abhishek Macwan over 1 year

    I just changed my Wordpress theme and I can't find <meta property="article:tag" content=" " /> in my posts and pages metadata. Are they really necessary? If they are how do I add them back?

  • unor
    unor over 8 years
    The closing slash isn't needed in HTML5, but it is valid. Both with and without the closing slash are allowed for void elements; in XHTML5, only the one with closing slash is allowed. From step 6 of the HTML5 Start tags format: "[…] Then, if the element is one of the void elements, or if the element is a foreign element, then there may be a single "/" (U+002F) character."