I’ve been a PHP developer for 10 years, trying to broaden my horizon I am doing a project in ASP.NET. What is the advantage to using an over usi
You can add a runat="server" attribute to any regular HTML tag in ASP.NET WebForms and it will be available to you in code behind as an HtmlGenericControl. You can set the text via HtmlGenericControl.InnerText and the HTML via HtmlGenericControl.InnerHTML.
An advantage of using an ASP.NET TextBox is you can have it render as an or as a (TextBox.TextMode="multiline")
Please see msdn.microsoft.com/en-us/library/7512d0d0.aspx and msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.textbox.aspx