title: How to make Html.ValidationMessageFor() render a DIV instead of a SPAN?
body: <p>I am using ASP.NET MVC 5 and I have a form that uses the following Html helper</p>
  
  <pre><code>   @Html.ValidationMessageFor(model =&gt; model.Name, "", new { @class = "text-danger" })
  </code></pre>
  
  <p>When I look at the rendered Html that is produced in the browser it seems to render this as a <strong>Span</strong> element. This causes the validation message to be on the same line as one of my Labels.</p>
  
  <p>What I want to know is how to make the <code>@Html.ValidationMessageFor()</code> method render a  <strong>Div</strong> element instead of a <strong>Span</strong>?</p>