---
title: "HTML Server controls"  
description: "In this blog, I’m explaining about HTML server control in .Net1.The HTML Server Controls follow the HTML-centric object Model. Model similar to HTML2."  
author: "priyanka kushwaha"  
published: 2015-02-18  
updated: 2015-02-18  
canonical: https://www.mindstick.com/blog/773/html-server-controls  
category: ".net"  
tags: ["c#", "asp.net", "html"]  
reading_time: 2 minutes  

---

# HTML Server controls

In this blog, I’m explaining about HTML server control in .Net

1. The HTML Server Controls follow the HTML-centric [object Model](https://www.mindstick.com/forum/158432/what-is-the-document-object-model-dom-and-how-does-it-relate-to-web-development). Model similar to HTML

2. Here the controls can be made to interact with Client [side scripting](https://www.mindstick.com/forum/156500/is-javascript-only-client-side-scripting-language). Processing would be done at client [as well as](https://www.mindstick.com/interview/2481/can-you-write-a-java-class-that-could-be-used-both-as-an-applet-as-well-as-an-application) server depending on your client.

3. Migration of the ASP project thought not very easy can be done by giving each intrinsic HTML control a runat =server to make it HTML [server side](https://www.mindstick.com/forum/318/how-to-call-javascript-fuction-in-server-side) control.

4. The HTML server controls have no mechanism of identifying the [capabilities](https://www.mindstick.com/interview/490/explain-the-concepts-and-capabilities-of-assembly-in-dot-net) of the client browser accessing the current page.

5. A HTML server control has similar [abstraction](https://www.mindstick.com/articles/944/abstraction-in-c-sharp) with its corresponding [HTML tag](https://www.mindstick.com/forum/78/how-avoid-the-html-tag-and-remove-the-formating-of-copy-in-ajax-editor) and offers no abstraction.

\

##### The following table describes the HTML server controls:

##### Control Name HTML Tag

HTMLHead <head> element

HTMLInputButton <input type=button|button|reset>

HTMLImg <img> element

HTMLLink <link> element

HTMLAnchor <a> element

HTMLTable <table> element

HTMLTableCell <td> and <th>

HTMLTableRow <tr> element

##### Client side scripts

All ASP.NET server controls allow [calling client](https://www.mindstick.com/forum/159797/create-a-card-in-mvc-and-bind-data-with-api-calling-client-side) [side code](https://www.mindstick.com/forum/143/close-popup-window-by-server-side-code) written using Javascript or VBScript. Some ASP.NET server controls use [client side](https://www.mindstick.com/forum/160418/what-are-the-best-practices-for-securely-storing-bearer-tokens-on-the-client-side) scripting to provide response to the users without posting back to the server. For example, the validation controls.

##### Event Description

Onblur when the control loses focus

Onfocus when the control receives focus

---

Original Source: https://www.mindstick.com/blog/773/html-server-controls

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
