The text of this article is not in this database — only its details are. Read it on the old site: Create Meta Tags Programmatically in ASP.NET 2.0
2 Comments
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
The text of this article is not in this database — only its details are. Read it on the old site: Create Meta Tags Programmatically in ASP.NET 2.0
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
eliza sahooPosted Feb 9, 2010, 8:22 AM
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, 6:32 AM
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?