title: creating html email format inside var html = string.Format
body: <p>Good Day.</p>
  
  <p>I am creating an html email in ASP.NET. Now the problem  is when I want to add anything to my body except the html and body tags. When I want to add styles, the code file gives me errors, and many of them...</p>
  
  <p>I want to add this</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
          &lt;meta charset="utf-8" /&gt;
          &lt;title&gt;Enquiry&lt;/title&gt;
      &lt;/head&gt;
      &lt;body&gt;
      &lt;div style="margin: 0 auto; text-align: center; background: #3C3B3D; padding: 10px;"&gt;
          &lt;h4 style="color: #F3911F"&gt;Website Enquiry&lt;/h4&gt;
      &lt;/div&gt;
      &lt;table style="text-align: center; margin: 0 auto;"&gt;
          &lt;tr&gt;
              &lt;td&gt;name: &lt;/td&gt;
              &lt;td&gt;{0}&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/table&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Inside this</p>
  
  <pre><code>var html = string.Format("THE HTML HERE", TextBoxName.Text)
  </code></pre>
  
  <p>Visual studio basically underlines everything (all the html above) when I add it to the string...</p>
  
  <p>How do I format/style my email body in ASP?.</p>
  
  <p>Thank you</p>