Write html code inside asp.net (C#) (.cs) page

asp.net, html

Solution

You can use LiteralControl to add HTML tags like that :

Page.Controls.Add(new LiteralControl("<p>New<br />Line</p>"));

Problem

I would like to add some paragraphs or new lines or words dynamically but I want to make gaps between every part and the other. How is it possible to do that in the c# code page?

Original source