Example Hotel-243

RDFa (source lint)

<div vocab="http://schema.org/" typeof="Hotel">
  <h1><span property="name">ACME Hotel Innsbruck</span></h1>
  <span property="description">A beautifully located business hotel right in the
heart of the alps. Watch the sun rise over the scenic Inn valley while
enjoying your morning coffee.</span>
  <div property="address" typeof="PostalAddress">
    <span property="streetAddress">Technikerstrasse 21</span>
    <span property="postalCode">6020</span>
    <span property="addressLocality">Innsbruck</span>
    <span property="addressRegion">Tyrol</span>,
    <span property="addressCountry">Austria</span>
  </div>
  Phone: <span property="telephone">+43 512 8000-0</span>
  <img property="photo" src="../media/hotel_front.png" alt="Front view of the hotel" />
  Star rating: <span property="starRating" typeof="Rating">
    <meta property="ratingValue" content="4">****</span>
  Room rates: <span property="priceRange">$100 - $240</span>
</div>

microdata (source lint)

<div itemscope itemtype="http://schema.org/Hotel">
  <h1><span itemprop="name">ACME Hotel Innsbruck</span></h1>
  <span itemprop="description">A beautifully located business hotel right in the
heart of the alps. Watch the sun rise over the scenic Inn valley while
enjoying your morning coffee.</span>
  <div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
    <span itemprop="streetAddress">Technikerstrasse 21</span>
    <span itemprop="postalCode">6020</span>
    <span itemprop="addressLocality">Innsbruck</span>
    <span itemprop="addressRegion">Tyrol</span>,
    <span itemprop="addressCountry">Austria</span>
  </div>
  Phone: <span itemprop="telephone">+43 512 8000-0</span>
  <img itemprop="photo" src="../media/hotel_front.png" alt="Front view of the hotel" />
  Star rating: <span itemprop="starRating" itemscope itemtype="http://schema.org/Rating">
    <meta itemprop="ratingValue" content="4">****</span>
  Room rates: <span itemprop="priceRange">$100 - $240</span>
</div>

JSON-LD (source lint)

<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "Hotel",
  "name" : "ACME Hotel Innsbruck",
  "description" : "A beautifully located business hotel right in the
heart of the alps. Watch the sun rise over the scenic Inn valley while
enjoying your morning coffee.",
  "address" : { "@type" : "PostalAddress",
               "addressCountry" : "AT",
               "addressLocality" : "Innsbruck",
               "addressRegion" : "Tyrol",
               "postalCode" : "6020",
               "streetAddress" : "Technikerstrasse 21"
               },
  "telephone" :  "+43 512 8000-0",
  "photo" : "http://www.acme-innsbruck.at//media/hotel_front.png",
  "starRating" : { "@type" : "Rating",
                   "ratingValue" : "4"},
  "priceRange" : "$100 - $240"
}
</script>

Example Hotel-logo-image-246

RDFa (source lint)

This example is in microdata only.

microdata (source lint)

<div itemscope itemtype="http://schema.org/Hotel">
  <h1><span itemprop="name">ACME Hotel Innsbruck</span></h1>
  <img itemprop="logo" src="../media/logo.png" alt="hotel logo" />
  <span itemprop="description">A beautifully located business hotel right in the
heart of the alps. Watch the sun rise over the scenic Inn valley while
enjoying your morning coffee.</span>
  <img itemprop="photo" src="../media/hotel_front.png" alt="Front view of the hotel" />
</div>

JSON-LD (source lint)

This example is in microdata only.

Example HotelRoom-Hotel-255

RDFa (source lint)

This example is in microdata only.

microdata (source lint)

<div itemscope itemtype="http://schema.org/Hotel">
  <h1><span itemprop="name">ACME Hotel Innsbruck</span></h1>
  <span itemprop="description">A beautifully located business hotel right in the
heart of the alps. Watch the sun rise over the scenic Inn valley while
enjoying your morning coffee.</span>
  <div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
    <span itemprop="streetAddress">Technikerstrasse 21</span>
    <span itemprop="postalCode">6020</span>
    <span itemprop="addressLocality">Innsbruck</span>
    <span itemprop="addressRegion">Tyrol</span>,
    <span itemprop="addressCountry">Austria</span>
  </div>
  Phone: <span itemprop="telephone">+43 512 8000-0</span>
  <div itemprop="containsPlace" itemscope itemtype="http://schema.org/HotelRoom">
    <span itemprop="name">Standard Double Room</span>
    <span itemprop="description">Our standard double rooms include a double bed, a
  full bathroom with tub, shower and toilet</span>
    <img itemprop="photo" src="../media/single_room1.png" />
    Available rates:
    <div itemprop="offers" itemscope itemtype="http://schema.org/Offer">
      <span itemprop="name">Flex-rate</span>
    <span itemprop="description">Terms and conditions go here...</span>
    <link itemprop="businessFunction" href="http://purl.org/goodrelations/v1#LeaseOut" />
      <span itemprop="priceSpecification" itemscope itemtype="http://schema.org/UnitPriceSpecification">
      <meta itemprop="priceCurrency" content="EUR"> €
      <span itemprop="price">99</span>
      <meta itemprop="unitCode" content="DAY"> per room per day
      To save this rate, book by
      <meta itemprop="validThrough" content="2016-08-31"> August 31, 2016
    </span>
    </div>
  </div>
</div>

JSON-LD (source lint)

This example is in microdata only.