Answer: using System.Web.UI.HtmlControls;
HtmlMeta meta_description = new HtmlMeta();
meta_description.Name = "description";
meta_description.Content = "Dotnet funda.com";
Page.Header.Controls.Add(meta_description);
Output:-
<meta name="description" content="Dotnet funda.com" />
Asked In: Many Interviews |
Alert Moderator