|
This is where schema.org comes into play. If you use the tags on schema. org when creating a website, search engines, especially Google, will interpret your page more easily and your site will rank higher. What is ItemProp? How to use? Before moving on to using itemprop , it would be more appropriate to talk about the use of itemscope and itemtype for a better understanding of the subject .
Let's try to explain the subject with an example that everyone can easily understand. Let's say you have set up a website and this site provides information about the Avatar movie, its trailer, its director and other topics related to the movie. In this case, your site's code will be similar to the following; .
div .hAvatar .spanDirector: James Cameron (born August , ) .spanScience fiction . a href..mov Mexico Phone Numbers 90 Million List iesavatar-theatrical-trailer. Trailer .div Now, to explain that your web page provides information about the Avatar movie, we will add the itemscope element to the containing information about the movie.
be as follows. .div itemscope .hAvatar .spanDirector: James Cameron (born August , ) .spanScience fiction . a href..moviesavatar-theatrical-trailer. Trailer .div In fact, by adding itemscope here, you are stating that the codes within the .
div... block provide information about a special subject (item). After this point, you may need to specify what the relevant topic means in more detail. At this point, itemtype comes to our aid. You can use itemtype after Itemscope to specifically indicate the nature or type of the subject.
|
|