65.9K
CodeProject is changing. Read more.
Home

SEO optimization: add meta tags to ASP.NET page programmatically

starIconstarIconstarIconstarIcon
emptyStarIcon
starIcon

4.83/5 (3 votes)

Feb 23, 2012

CPOL
viewsIcon

11230

Using MasterPage.master for ASPX pages, in Visual Studio 2008 and 2010, an ASP content area is automatically created for use within the head section of the HTML code when you create a new page using a master page.If you aren't using Visual Studio, you can create a content area for the head...

Using MasterPage.master for ASPX pages, in Visual Studio 2008 and 2010, an ASP content area is automatically created for use within the head section of the HTML code when you create a new page using a master page.

If you aren't using Visual Studio, you can create a content area for the head section using ContentPlaceholderID="head".

Inside the ASP ContentID tag identified by ContentPlaceHolderID="head", you can place head tag information specific for that page.