Create Meta Tags Programmatically in ASP.NET 2.0
Learn how to programmatically add keyword and description meta tags to ASP.NET 2.0 pages that use master pages.
The text of this article is not in this database — only its details are. The old site it was published on is gone, but the Internet Archive kept a copy: Create Meta Tags Programmatically in ASP.NET 2.0

eliza sahooPosted Feb 9, 2010, 3:22 AM EST
Step 1: Create a object of the HtmlMeta class HtmlMeta metaObject = new HtmlMeta(); Step 2: Add the attributes to the meta object metaObject .Attributes.Add("name", "keywords"); metaObject .Attributes.Add("content", "keyword text here"); Step 3: Add the meta control to the header part of the page Header.Controls.Add(metaObject); Eliza
Utpal NandiPosted Dec 7, 2007, 1:32 AM EST
The main purpose of having meta tags is to allow search engines to access them, to enable them to list our website when the search keywords match the content of the meta tags. So, would search engines be able to access the same?