Social Network Metadata
Facebook uses a set of specific metadata tags that can be included in an HTML document to provide information about the page.
og:titlespecifies the title of the page;og:typespecifies the type of content on the page;og:imagespecifies the URL of an image that represents the page;og:urlspecifies the URL of the page;og:descriptionprovides a brief description of the page.
Including these tags in an HTML document allows Facebook to correctly display a link to the page when it is shared on the platform.
Here is an example of HTML code that includes Facebook-specific metadata tags:
index.html
Twitter uses a different set of metadata tags than Facebook.
twitter:cardspecifies the type of card that will be used to display the link on Twitter;twitter:titleidentifies the page's title;twitter:imagetag, which identifies the URL of an image that represents the page.
All the other platforms may have their specific metatags.
index.html
Merci pour vos commentaires !
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Posez-moi des questions sur ce sujet
Résumer ce chapitre
Afficher des exemples du monde réel
Awesome!
Completion rate improved to 3.45
Social Network Metadata
Glissez pour afficher le menu
Facebook uses a set of specific metadata tags that can be included in an HTML document to provide information about the page.
og:titlespecifies the title of the page;og:typespecifies the type of content on the page;og:imagespecifies the URL of an image that represents the page;og:urlspecifies the URL of the page;og:descriptionprovides a brief description of the page.
Including these tags in an HTML document allows Facebook to correctly display a link to the page when it is shared on the platform.
Here is an example of HTML code that includes Facebook-specific metadata tags:
index.html
Twitter uses a different set of metadata tags than Facebook.
twitter:cardspecifies the type of card that will be used to display the link on Twitter;twitter:titleidentifies the page's title;twitter:imagetag, which identifies the URL of an image that represents the page.
All the other platforms may have their specific metatags.
index.html
Merci pour vos commentaires !