Breaking News
yeni film izle hd film seyret film izle

Html Container Control Class

Html Container Control Class

The HtmlControl base class is used for those HTML classes that are focused on HTML elements that can be contained within a single node. For instance, the <img>, <input>, and <link> elements work from classes derived from the HtmlControl class. Other HTML elements, such as <a>, <form>, and <select>, require an opening and closing set of tags. These elements use classes that are derived from the HtmlContainerControl class, a class specifically designed to work with HTML elements that require a closing tag.

The HtmlContainerControl class is derived from the HtmlControl class, you have all the HtmlControl class properties and methods available to you as well as some new items that have been declared in the HtmlContainerControl class itself. The most important of these are the InnerText and InnerHtml properties:

• InnerHtml — It allows you to specify content that can include HTML elements to be placed between the opening and closing tags of the specified control.

• InnerText — It allows you to specify raw text to be placed between the opening and closing tags of the specified control.

Check Also

BulletList Server Control

BulletList Server Control The BulletedList server control is used to display a bulleted list of items in …