Jump to content

Difference b/w web controls and html controls


Shoukat_1983

Recommended Posts

I am developing my first web site using ASP.Net 2003. But i don't know whether to use web controls (which are very easy ) or to use html controls( which is difficult because i don't have good knowledge about it). So what's the difference between them which one better than the other in respect to CSS(Cascading Style Sheet).

Link to comment
Share on other sites

HTML controls are just that, you deal directly with the HTML element.Web controls are built into ASP.Net, like <asp:TextBox/>. These are just 'wrappers' that make things easier to work with, in the end it still boils down to a HTML input control.All web controls render to HTML controls, they just make some tasks easier.I would use Web Controls.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...