Guys I wanna incorporate schema rich snippets to my site can I do this?
<html itemscope itemtype="http://schema.org/WebSite" xmlns="http://www.w3.org/1999/xhtml" lang="es-ES" dir="ltr">
Guys I wanna incorporate schema rich snippets to my site can I do this?
<html itemscope itemtype="http://schema.org/WebSite" xmlns="http://www.w3.org/1999/xhtml" lang="es-ES" dir="ltr">
There are three main ways to add structured data. It can be in-line with your html elements in Microdata or RDFa or you can put it into script form with JSON-LD.
This may help.
Thanks buddy but one of my competitors website has it like this:
<html itemscope itemtype="http://schema.org/WebSite">
my site like this:
<html xmlns="http://www.w3.org/1999/xhtml" lang="es-ES" dir="ltr">
Can I marge them into one like this will that be OK with Google?
<html itemscope itemtype="http://schema.org/WebSite" xmlns="http://www.w3.org/1999/xhtml" lang="es-ES" dir="ltr">
Yes, you can add the attributes to the appropriate html element along with whatever other attributes the element has, if you are going for the in-line methods.
Google Webmaster Tools does have a tool for testing and validating structured data.
OK thanks buddy all I needed to know bye
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.