
HtmlImage | 721
HtmlControls
Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Hierarchy
System.Object ➝ System.Web.UI.Control(System.ComponentModel.IComponent, System.
IDisposable, System.Web.UI.IParserAccessor, System.Web.UI.IDataBindingsAccessor)
➝
HtmlControl(System.Web.UI.IAttributeAccessor) ➝ HtmlContainerControl ➝ HtmlForm
HtmlGenericControl
System.Web.UI.HtmlControls (system.web.dll)
disposable
class
This class is used for HTML elements that are not directly represented by other
controls in this namespace (including <span>, <div>, and <body>). The primary use of
the HtmlGenericControl is usually to set or modify attributes and styles, using the Attributes
and Style properties inherited from HtmlControl. Note that the TagName property can be
modified, allowing you to change the tag programmatically before the page is rendered
as HTML and sent to the client browser.
Hierarchy
System.Object ➝ System.Web.UI.Control(System.ComponentModel.IComponent, System.
IDisposable, System.Web.UI.IParserAccessor, System.Web.UI.IDataBindingsAccessor)
➝
HtmlControl(System.Web.UI.IAttributeAccessor) ➝ HtmlContainerControl ➝
HtmlGenericControl
HtmlImage
System.Web.UI.HtmlControls (system.web.dll)
disposable
class
This class represents the HTML <img> tag, which is used to display a picture file speci-
fied by a URL. You can set various properties