Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Creates a server-side control that maps to the title HTML element.
<title
EnableViewstate="False|True"
ID="string"
OnDataBinding="DataBinding event handler"
OnDisposed="Disposed event handler"
OnInit="Init event handler"
OnLoad="Load event handler"
OnPreRender="PreRender event handler"
OnUnload="Unload event handler"
runat="server"
Title="string"
Visible="False|True" >
titletext
</title>
Remarks
Use the HtmlTitle class to specify the HTML title element of a Web Forms page. You can also set the page title by using the title attribute of the @ Page directive or by setting the Title property.
Example
The following code example demonstrates how to use the HtmlTitle control declaratively. The <title> element is inside the <head> element.
<head runat="server">
<title id="PageTitle" runat="server">
HtmlTitle Control
</title>
</head>
<head runat="server">
<title id="PageTitle" runat="server">
HtmlTitle Control
</title>
</head>