<p style="text-align: justify;">Google has made great advancements on the technical front to enhance search experience. Unlike human readers, search engines have limited resources about what is being conferred on a webpage. Millions of pages are crawled every day to return the best available result for users. Ever wondered how search engines do this?</p>
<p style="text-align: justify;">Yes, it’s all about the content! Unlike the past, keywords are not the only contributing elements that can make your content recognizable to search engines. They reward content that is well-written (quality), well-presented (structured) and well-answered (keywords + semantics).</p>
<p style="text-align: justify;">One of the most important technologies that make your content appealing to search engines is Schema. It helps organize, present and convey your content in a better way.</p>
<p style="text-align: justify;">Here is a definitive guide on schema and how to use it for marking-up HTML pages.</p>
<span style="font-weight: 400;">Before we move on, if you need any kind of help with SEO, you should definitely reach out to us. </span><a href="https://vividreal.com/hire-seo-gurus/"><span style="font-weight: 400;">Check out our team</span></a><span style="font-weight: 400;">. Let’s talk.</span>
<h3 style="color: #29abe1; text-align: justify;"><strong>What is Schema?</strong></h3>
<p style="text-align: justify;">Schema can be simply defined as information recognized by search engines like Google, Bing and Yahoo. It is a semantic vocabulary or code that lets search engines know what your page is about and how relevant it is to the search queries. Schema also improves the SERP listings by displaying additional snippets below the result.</p>
<p style="text-align: justify;">As an example, the webpage of Sydney Showboats listed for search query ‘Event day cruise’ shows user rating, date and location, which were coded using schema markup.</p>
<p style="text-align: justify;"><img class="img-responsive alignnone size-full wp-image-4542" src="http://localhost/vividreal/wp-content/uploads/2015/04/Search-Engine-Rankings1.jpg" alt="" width="634" height="170" /></p>
<p style="text-align: justify;">This has the potential to increase the CTR (Click-through-rate) up to 30 percent.</p>

<h3 style="color: #29abe1; text-align: justify;"><strong>The Basics</strong></h3>
<p style="text-align: justify;">Schema consists of a collection of entities and their properties, which can be related with the different context of your web content. Entity – defines the theme of your business.</p>
<p style="text-align: justify;">If you run a restaurant website, then ‘Restaurant’ is the schema entity. Similarly, there are entities to match several industries like Casino, beauty Salon, Travel agency and more.</p>
<p style="text-align: justify;">You can either go for specific or generic when deciding on a schema entity. If you run not only a restaurant but also a cafe, ice-creamparlor, bakery and fast food, then you can choose a broader entity ‘Food establishment’.</p>
<p style="text-align: justify;">You may go for a more general approach by choosing ‘Local Business’ and even more general to the top level entity ‘Organization'. Each higher level entity comprises of one or more child entities. See the hierarchy of Restaurant below.<img class="img-responsive alignnone size-full wp-image-4545" src="http://localhost/vividreal/wp-content/uploads/2015/04/Schema-3.jpg" alt="" width="696" height="450" />
See the full hierarchy of schema entities <a href="http://www.schema.org/docs/full.html">here</a>.</p>
<p style="text-align: justify;"><strong>Property or Attributes</strong> – Properties or attributes validates the schema entity by providing additional information.</p>
<p style="text-align: justify;">Considering the above example, you can associate name, location, address, menu, cuisine, opening time and other information with your restaurant. These additional data can be called properties.</p>
<p style="text-align: justify;">Every entity is associated with their properties. Below are a few properties of Restaurant:</p>
<p style="text-align: justify;">Find the complete list of properties for restaurant <a href="http://www.schema.org/Restaurant">here</a></p>

<h3 style="color: #29abe1; text-align: justify;"><strong>Getting Started</strong></h3>
<p style="text-align: justify;">Technically, schema includes codes that are added to the HTML. The common HTML tags where schema codes are most inserted include div,and header tags.
However, adding schema is not confined to these tags. You can insert it anywhere without affecting the design and functionality of the webpage.
If you are familiar with HTML coding, then cool! You can get it done effortlessly.</p>

<h3 style="color: #29abe1; text-align: justify;"><strong>Choose the Scope</strong></h3>
<p style="text-align: justify;">The scope points to the portion of the content that defines the schema entity or type. Suppose a webpage has information about your restaurant, such as name, location and opening hours. This portion of content might be enclosed in an HTML tag, say div. The scope can be declared here, i.e., the scope of schema type ‘restaurant’ is relevant to the content portion enclosed in this ‘div’ tag.
The scope is declared using the shortcode ‘itemscope’. Itemscope is not the only required code to define a schema. It is followed by the shortcode for schema entity.</p>

<h3 style="color: #29abe1; margin: 0px; text-align: justify;"><strong>Define Entity</strong></h3>
<p style="text-align: justify;">The schema type or entity is defined using the shortcode ‘itemtype’. The value of itemtype is the schema URL that describes your industry.</p>
<p style="text-align: justify;">In case of Restaurant, then entity/schema is declared as <strong> itemtype="http://schema.org/Restaurant"</strong>.
Now, you can declare the schema ‘restaurant’ in an HTML start tag ‘div’ as –</p>

<div style="text-align: justify;">
<h3 style="color: #29abe1;"><strong>Tag Properties</strong></h3>
All the required properties that are relevant to a schema type can be defined using the shortcode ‘itemprop’. Make sure that they are tagged inside the scope where you defined it.
In Restaurant schema, you can mark-up all the restaurant properties to the content enclosed in 'div'. Any property that is defined outside the scope is considered invalid.
If any important data is missed out in the scope, look for the next highest HTML branch that encloses it.
Here is an example of a restaurant schema mark-up –

&nbsp;

</div>
<h3 style="color: #29abe1; text-align: justify;"><strong>Original Code</strong></h3>
<p style="text-align: justify;"><img class="img-responsive alignnone size-full wp-image-4546" src="http://localhost/vividreal/wp-content/uploads/2015/04/Schme-Code-Sample.jpg" alt="" width="841" height="320" /></p>
<p style="text-align: justify;"><img class="img-responsive alignnone size-full wp-image-4547" src="http://localhost/vividreal/wp-content/uploads/2015/04/Schema-Code-Sample-2.jpg" alt="" width="916" height="431" /></p>
<p style="text-align: justify;"><strong>Line 4</strong> – You can use span to bind the value for which you want to mark-up. Conversely, if you mark-up as:</p>
<p style="text-align: justify;"><img class="img-responsive alignnone size-full wp-image-4548" src="http://localhost/vividreal/wp-content/uploads/2015/04/Schema-7.jpg" alt="" width="948" height="50" />
The search engines find this as telephone = Call now 1234567890</p>
<p style="text-align: justify;">Using span, you can go choose only that value which you want to associate the property with.</p>
<p style="text-align: justify;"><strong>Line 5</strong> – Similar is the case here. The value of email is being chosen for mark-up.</p>
<p style="text-align: justify;"><strong>Line 6</strong> – There are certain properties that are in itself property of another schema entity. Here the property ‘location’ is inherited from the schema type ‘Place’. This can be known from the entity page in schema.org.</p>
<p style="text-align: justify;">Below is a screenshot of the page http://schema.org/Restaurant, where location is associated with the schema entity ‘PostalAddress’ or ‘Place’.</p>
<p style="text-align: justify;"><img class="img-responsive alignnone size-full wp-image-4549" src="http://localhost/vividreal/wp-content/uploads/2015/04/Schema-entities.jpg" alt="" width="883" height="186" /></p>
<p style="text-align: justify;">So, you need to mention the itemscope and itemtypes immediately after the itemprop is defined, as in the following –</p>
<p style="text-align: justify;"><img class="img-responsive alignnone size-full wp-image-4550" src="http://localhost/vividreal/wp-content/uploads/2015/04/Rich-snippets.jpg" alt="" width="780" height="39" /></p>
<p style="text-align: justify;">The subsequent portion ‘Sydney’ describes the value ‘Sydney’ as the property ‘name’ of schema entity ‘Place’.</p>
<p style="text-align: justify;"><strong>Line 7 </strong> – the scope of schema ‘Restaurant’ ends here.
You can use more than a schema to define your webpage.
Suppose your restaurant is going to be an event spot or party venue and you have already tagged the webpage with the restaurant schema. No problem! You can label the content about your event with the schema entity ‘Event Venue’ or ‘Event’ and associated properties.</p>

<h3 style="color: #29abe1; text-align: justify;"><strong>Google’s Schema Tester</strong></h3>
<p style="text-align: justify;">Google provides its rich snippet tester to validate the schema that has been coded on your webpage. Provide either the URL of the webpage or the content itself to verify whether all properties and entities are accurate.
See below how the tester works –
Go to https://developers.google.com/structured-data/testing-tool/</p>
<p style="text-align: justify;"><a href="http://localhost/vividreal/wp-content/uploads/2015/04/Developers-Tool.jpg"><img class="img-responsive alignnone wp-image-432 size-full" src="http://localhost/vividreal/wp-content/uploads/2015/04/Developers-Tool.jpg" alt="Structured Data Testing Tool - Vividreal Blog" width="1078" height="664" /></a></p>
<p style="text-align: justify;"><strong>Copy and paste the HTML content and click ‘Validate’.</strong></p>
<p style="text-align: justify;"><a href="http://localhost/vividreal/wp-content/uploads/2015/04/Developers-Tool-for-Structured-Data.jpg"><img class="img-responsive alignnone wp-image-433 size-full" src="http://localhost/vividreal/wp-content/uploads/2015/04/Developers-Tool-for-Structured-Data.jpg" alt="Developers Tool for Structured Data - Vividreal Blog" width="996" height="617" /></a></p>
<p style="text-align: justify;"><strong>When there is something wrong in the code, it will result in the following:</strong></p>
<p style="text-align: justify;"><a href="http://localhost/vividreal/wp-content/uploads/2015/04/Error-on-Structured-Testing-Tool.jpg"><img class="img-responsive alignnone wp-image-440 size-full" src="http://localhost/vividreal/wp-content/uploads/2015/04/Error-on-Structured-Testing-Tool.jpg" alt="Error on Structured Testing Tool" width="1204" height="460" /></a></p>
<p style="text-align: justify;"><strong>Begin with Google’s Schema Mark-up Helper</strong></p>
<p style="text-align: justify;">For beginners, Google’s Structured Data Mark-up Helper is a great tool to visually mark-up your webpage, create the HTML code and download for use. It’s a simple and easy-to-use editor where you just need to click on the text or images and add the schema properties.
You can try your website with this tool and learn how the schema is implemented on HTML code.
<strong>Here is the process</strong>
1) Login Webmasters
2) Choose ‘Other Resources’ --&gt; Structured Data Markup Helper
3) Check the schema type or entity, provide the URL or HTML code for which you want to implement schema.</p>
<p style="text-align: justify;"><a href="http://localhost/vividreal/wp-content/uploads/2015/04/Structured-data-markup-helper.jpg"><img class="img-responsive alignnone wp-image-442 size-full" src="http://localhost/vividreal/wp-content/uploads/2015/04/Structured-data-markup-helper.jpg" alt="Structured Data Markup Helper - Vividreal Blog" width="787" height="557" /></a></p>
<p style="text-align: justify;">You will be directed to the tagging page.</p>
<p style="text-align: justify;"><a href="http://localhost/vividreal/wp-content/uploads/2015/04/Magistic-1.jpg"><img class="img-responsive alignnone wp-image-446 size-full" src="http://localhost/vividreal/wp-content/uploads/2015/04/Magistic-1.jpg" alt="Rich Snippet Tool - Vividreal Blog" width="1178" height="700" /></a></p>
<p style="text-align: justify;">Now you want to tag ‘Magistic Cruise’ as property ‘name’.  Select and drag the name and choose the appropriate property from the drop down displayed.
The properties you choose will be logged in the ‘My Data Items’ on the right.</p>
<p style="text-align: justify;"><a href="http://localhost/vividreal/wp-content/uploads/2015/04/Tagging-Schema.png"><img class="img-responsive alignnone wp-image-447 size-full" src="http://localhost/vividreal/wp-content/uploads/2015/04/Tagging-Schema.png" alt="Tagging Schema - Vividreal Blog" width="1387" height="666" /></a></p>
<p style="text-align: justify;">Similarly, you can tag other properties like image, telephone, email and more. Once done, choose ‘create HTML’ on the right.</p>
<p style="text-align: justify;"><a href="http://localhost/vividreal/wp-content/uploads/2015/04/Structured-Data-Markup-Tagging.png"><img class="img-responsive alignnone wp-image-448 size-full" src="http://localhost/vividreal/wp-content/uploads/2015/04/Structured-Data-Markup-Tagging.png" alt="Structured Data Markup Tagging" width="249" height="701" /></a></p>
<p style="text-align: justify;">Now you can see the schema code. See below:</p>
<p style="text-align: justify;"><a href="http://localhost/vividreal/wp-content/uploads/2015/04/Tagging-schema-micro-data-1.png"><img class="img-responsive alignnone wp-image-453 size-full" src="http://localhost/vividreal/wp-content/uploads/2015/04/Tagging-schema-micro-data-1.png" alt="Tagging Schema - Vividreal Blog" width="975" height="635" /></a></p>
<p style="text-align: justify;">You can download the code and add it to the HTML of your webpage. Make sure you verify the code in schema tester tool.</p>
<span style="font-weight: 400;">As always, </span><a href="https://vividreal.com/hire-seo-gurus/"><span style="font-weight: 400;">feel free to reach out to us</span></a><span style="font-weight: 400;"> if you need any help with SEO. That’s all for now, cheers!</span>