October 2010
Intermediate to advanced
1920 pages
73h 55m
English
Title AttributeIf you need to modify only the title displayed in each content page, you can take advantage of the <%@ Page %> directive’s Title attribute. This attribute accepts any string value.
For example, the page in Listing 5.13 includes a Title attribute, which sets the title of the current content page to the value Content Page Title.
Listing 5.13. TitleContent.aspx

There is one requirement for the Title attribute to work. The HTML <head> tag in the Master Page must be a server-side Head tag. In other words, the <head> tag must include the runat="server" attribute. When you create a new Web Form or Master Page in Visual Web ...