title: How to indent string in MVC 5 View
body: <p>I am new to ASP.net and MVC 5.</p>
  
  <p>I created a test project using asp.net tutorials.</p>
  
  <p>I am trying to indent text from a table based on another column.</p>
  
  <p>So I have table that looks as below</p>
  
  <pre><code> Title, Level.
   A       1
   B       2
   c       2
   D       3
   E       1
  </code></pre>
  
  <p>Depending on level I want to display above in mvc view as below by adding tabs in front.</p>
  
  <pre><code>A
    B
    C
      D
  E
  </code></pre>
  
  <p>All what I am getting is</p>
  
  <pre><code>A
  B
  C
  D              
  </code></pre>
  
  <p>I am not sure how can add tab. Below is my code</p>
  
  <pre><code>@foreach (var item in Model) {
  &lt;tr&gt;
     &lt;td&gt;
          @Html.Label(item.Title)              
      &lt;/td&gt;
  &lt;/tr&gt;
  }
  </code></pre>
  
  <p>Thanks.</p>