This documentation is archived and is not being maintained.

Html32TextWriter Class

Provides a text writer for ASP.NET pages and server controls that render content to HTML 3.2 clients.

For a list of all members of this type, see Html32TextWriter Members.

System.Object
   System.MarshalByRefObject
      System.IO.TextWriter
         System.Web.UI.HtmlTextWriter
            System.Web.UI.Html32TextWriter

[Visual Basic]
Public Class Html32TextWriter
   Inherits HtmlTextWriter
[C#]
public class Html32TextWriter : HtmlTextWriter
[C++]
public __gc class Html32TextWriter : public HtmlTextWriter
[JScript]
public class Html32TextWriter extends HtmlTextWriter

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Remarks

This class is an alternative to HtmlTextWriter. It converts HTML 4.0 style attributes into the equivalent tags and attributes compatible with HTML 3.2. It standardizes the propagation of attributes, like colors and fonts, using HTML tables, which can vary in behavior in earlier browsers. The ASP.NET Web Forms automatically uses this class for HTML 3.2 and earlier browsers by checking the TagWriter property of the HttpBrowserCapabilities class. Normally, you do not need to instantiate this class explicitly.

Requirements

Namespace: System.Web.UI

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

Assembly: System.Web (in System.Web.dll)

See Also

Html32TextWriter Members | System.Web.UI Namespace | HtmlTextWriter

Show: