If The title is confusing suggest to change it
What is the Best way to write my own HTML from code behind?
I currently use this:
<asp:Literal ID="ltr" runat="server"></asp:Literal>
and from code behind:
ltr.Text = "<p class=\"specific-class\"></p>";
Is it a right to do something like this?
Is there a better way to do this?