Hi,
Are you using VS 2005 or VS 2008.
If you are using VS2008, you can notice there is a contentplaceholder in the head section of the master page, and there is a content control maps to the head contentplaceholder in the content page, then you can add add additional scripts and metadata in the content page in stead of <HEAD>.
If you are using VS 2005, you can add a contentplaceholder control in the head in the master manually, and add a content control in the content page maps to the contentplaceholder manually.
for example:
1. the master page:
<%@ Master Language="C#" %>
...
<head runat="server">
...
<asp:ContentPlaceHolder runat="server" id="headerPlaceHolder" />
</head>
...
2. the content page:
<%@ Page Language="C#" MasterPageFile="~/Master1.master" Title="Foo" %>
<asp:Content ID="Content1" ContentPlaceHolderID="headerPlaceHolder" runat="Server">
<meta name="keywords" content="declassified information" />
<style type="text/css" media="all">
@import "wildstyle.css";
</style>
<script type="text/javascript" src="foo.js"></script>
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderID1" runat="Server" />
But you also can add the meta tags for the content page in the page codebehind.
HtmlMeta meta = new HtmlMeta();
meta.Content = DateTime.Now.ToString("yyyy-MM-dd");
meta.Scheme = "YYYY-MM-DD";
meta.Attributes.Add("charset", "utf-8");
meta.Name = "date";
this.Header.Controls.Add(meta);
Hope it helps.
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Yours sincerely,
Amanda Wang
Microsoft Online Community Support