Display HTML Starting tag in Razor view block
<p>I want to display an HTML <code>div</code> tag in a <code>for</code> loop when two elements are true. Thus, I have to display the starting <code>div</code> like this:</p>

<pre><code>*.chtml below
Html.Raw("&lt;div class=\"additional-options clearfix\" style=\"display: block;\"&gt;");  
</code></pre>

<p>and display the end tag when the other element is true.</p>

<p>The result is that the div is NOT printed out in HTML</p>

<p>Is there other solutions?</p>
