Asp .NET HTML Server Controls

The HTML elements are considered as text in ASP.NET file. They cannot be referred as server side code. These controls can be treated as server control by adding runat=”server” attribute. The id attribute in the element can be added as reference to the control. All the HTML server controls are written in the tag.
The HTML server controls are basically the standard HTML controls enhanced to enable server side processing. The HTML controls such as the header tags, anchor tags, and input elements are not processed by the server but are sent to the browser for display. They are specifically converted to a server control by adding the attribute runat="server" and adding an id attribute to make them available for server-side processing.
1) HtmlHead control - HTML tag for this control is .
2) HtmlInputButton controls - HTML tag for this control is
<input type=button|submit|reset>

3) HtmlInputCheckbox controls - HTML tag for this control is
<input type=checkbox>

4) HtmlInputFile controls - HTML tag for this control is
<input type = file>

5) HtmlInputHidden controls - HTML tag for this control is
<input type = hidden>

6) HtmlInputImage controls - HTML tag for this control is
<input type = image>

7) HtmlInputPassword controls - HTML tag for this control is
<input type = password>

8) HtmlInputRadioButton controls - HTML tag for this control is
<input type = radio>

9) HtmlInputReset controls - HTML tag for this control is
<input type = reset>

10) HtmlText controls - HTML tag for this control is
<input type = text|password>

11) HtmlImage controls - HTML tag for this control is
<img> element

12) HtmlLink controls - HTML tag for this control is
<link> element

13) HtmlAnchor controls - HTML tag for this control is
<a> element

14) HtmlButton controls - HTML tag for this control is
<button>  element. 

15) HtmlForm controls - HTML tag for this control is
<form>  element

16) HtmlTable controls - HTML tag for this control is
<table>  element. 

17) HtmlTableCell controls - HTML tag for this control is
<td> and <th>

18) HtmlTableRow controls - HTML tag for this control is
<tr>  element. 

19) HtmlTitle controls - HTML tag for this control is
<title>  element. 

20) HtmlSelect controls - HTML tag for this control is
<select> element. 

Read More

आइये जानते हैं Android 11 के बेस्ट 11 फीचर्स

आपके स्मार्टफोंस को और भी स्मार्ट बनाते हुए तथा मोबाइल तकनीक को और भी एडवांस करते हुए टेक दिग्गज़ Google ने अपना नया ऑपरेटिंग सिस्टम Android 11 दुनिया ...

StringBuilder in C#

A String is immutable, meaning String cannot be changed once created. For example, new string "Hello World!!" will occupy a memory space on the heap. ...

Properties in C#

In C#, properties are nothing but natural extension of data fields. They are usually known as smart fields in C# community. We know that data encaps ...

C# Hashtable

The Hashtable class represents a collection of key-and-value pairs that are organized based on the hash code of the key. It uses the key to access the ...

C# Queue

C# includes a Queue collection class in the System.Collection namespace. Queue stores the elements in FIFO style (First In First Out), exactly opposit ...

C# Stack

C# includes a special type of collection which stores elements in LIFO style(Last In First Out). C# includes a generic and non-generic Stack. Here, y ...

C# SortedList

The SortedList collection stores key-value pairs in the ascending order of key by default. SortedList class implements IDictionary & ICollection inter ...

C# ArrayList

ArrayList is a non-generic type of collection in C#. It can contain elements of any data types. It is similar to an array, except that it grows automa ...

Collection in C#

C# includes specialized classes that hold many values or objects in a specific series, that are called collection. Collection classes are specialized ...

C# File Stream I/O

A file is a collection of data stored in a disk with a specific name and a directory path. C# includes static File class to perform I/ ...

Exception Handling in C#

An exception is a problem that arises during the execution of a program. A C# exception is a response to an exceptional circumstance that arises while ...

Recent Posts






















Like us on Facebook