1

I want to mark up a small hotel website using Schema.org. I wrapped the main page in

<div itemscope itemtype = "http://schema.org/Hotel">
</div>

Internal tags, such as address, name, etc., are also tagged (itemprop = ""). I need the search engine to create "quick links" for sections of the site (that is, additional columns in the search results). The documentation says that quick links are created by the search engine itself, provided that the sections of the site are correctly designed using markup.

How should other sections of the site be marked up? For example, the sections "Rooms", "News", "Prices", etc. Do they also need to be wrapped in http://schema.org/Hotel, or that should be another namespace?

2

How should other sections of the site be marked up? For example, the sections "Rooms", "News", "Prices", etc. Do they also need to be wrapped in http://schema.org/Hotel, or that should be another namespace?

It depends on the kind of the information published in the certain section:

  • If these are Rooms - its about Hotel
  • If its about Prices - it should be filed under Offer
  • If these are News - file it under Hotel → mainEntityOfSite → Website → NewsArticle

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.