HtmlTextWriter.SelfClosingChars Field


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Represents a space and the self-closing slash mark (/) of a markup tag.

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

public const string SelfClosingChars

Field Value

Type: System.String

The SelfClosingChars field is used in markup elements that are self-closed. For example:

<input type="submit" value="go" />

.NET Framework
Available since 1.1
Return to top