title: Write HTML to string
body: <p>I have code like this. Is there a way to make it easier to write and maintain?
  Using C# .NET 3.5.</p>
  
  <pre><code>string header(string title)
  {
      StringWriter s = new StringWriter();
      s.WriteLine("{0}","&lt;!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\"&gt;");
      s.WriteLine("{0}", "&lt;html&gt;");
      s.WriteLine("&lt;title&gt;{0}&lt;/title&gt;", title);
      s.WriteLine("{0}","&lt;link rel=\"stylesheet\" type=\"text/css\" href=\"style.css\"&gt;");
      s.WriteLine("{0}", "&lt;/head&gt;");
      s.WriteLine("{0}", "&lt;body&gt;");
      s.WriteLine("{0}", "");
  }
  </code></pre>
  
  <p>I could also just write:</p>
  
  <pre><code>s.WriteLine("{0}", @"blah blah
  
  many
  new
  lines
  blah UHY#$&amp;_#$_*@Y KSDSD&lt;&gt;\t\t\t\t\t\tt\t\t\\\t\t\t\t\\\h\th'\h't\th
  hi
  done"); 
  </code></pre>
  
  <p>It will work, but I need to replace all <code>"</code> with <code>""</code>.</p>