System.Web.UI.HtmlControls.HtmlTitle Class

Allows programmatic access to the HTML <title> element on the server.

See Also: HtmlTitle Members

Syntax

public class HtmlTitle : HtmlControl

Remarks

Use the System.Web.UI.HtmlControls.HtmlTitle class to programmatically specify the HTML <title> element of a Web Forms page.

Note:

You can also set the page title by using the title attribute of the @ Page directive, or by setting the System.Web.UI.Page.Title property of the System.Web.UI.Page class.

Requirements

Namespace: System.Web.UI.HtmlControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0