Why is og:site_name meta tag useful and how do you use it?
Experience Level:
Mid-level
Tags:
HTML
Open Graph Protocol
Answer
The meta tag with an attribute property
that has a value og:site_name
defines a site name that will be added to the Open Graph object. The site name is stored in a value of an attribute content
.
By adding a meta tag with this property, you define a name of your site that the social networks will be able to read and display to their users.
A web page that has Open Graph Protocol meta tags enables the page to become an open graph object. This object can then be exported to social networks or other 3rd party systems that understand Open Graph Protocol.
<head>
<meta property="og:site_name" content="Better Coder" />
</head>
Related Open Graph Protocol job interview questions
-
Why is og:audio meta tag useful and how do you use it?
HTML Open Graph Protocol Mid-level -
Why is a meta tag property og:video useful and how do you use it?
HTML Open Graph Protocol Mid-level -
Why is og:description meta tag useful and how do you use it?
HTML Open Graph Protocol Mid-level -
What does OGP stand for?
HTML Open Graph Protocol Mid-level -
What are the required Open Graph properties that should be on each page that is using Open Graph Protocol?
HTML Open Graph Protocol Mid-level