Creating a View Model and View (.NET)
To render a new HTML element in your Web site, create a corresponding MVC View Model and View. A View Model is a simple class to represent the content you want to display and the View defines the HTML layout of this content
Procedure
Results
<div class="container-fluid" prefix="s: http://schema.org" typeof="s:Offer">
<div id="location-tile" class="row">
<div class="col-sm-6" property="s:image">
<img alt="Balloons" src="/media/balloons.jpg" width="100%">
</div>
<div class="col-sm-6">
<div class="tile">
<h1 property="s:name">Win a holiday to Brazil!</h1>
<p property="s:description">Enter this competition to win a once in a lifetime trip to Brazil!</p>
<a class="btn btn-primary" property="s:url" href="/offers/win-brazil-holiday">More info</a>
<br>
<p class="meta small">Valid until <span property="s:validThrough">Wednesday, July 9, 2016</span></p>
</div>
</div>
</div>
</div>