Introduction:
In this article,i am going to explain about how to set a meta tag in asp.net webpage programatically.
Main:
For Setting meta tags in code behind,
Title = "Setting Meta Tag";
MetaDescription = "Asp.Net WebPage.";
MetaKeywords = "ASP.Net,c#,JavaScript";
Title = "Setting Meta Tag"; MetaDescription = "Asp.Net WebPage."; MetaKeywords = "ASP.Net,c#,JavaScript"; |
For Setting meta tags in html,
<head>
<title>Setting Meta Tag</title>
<meta name="description" content="Asp.Net WebPage." />
<meta name="keywords" content="ASP.Net,C#,JavaScript" />
</head>
<head> <title>Setting Meta Tag</title> <meta name="description" content="Asp.Net WebPage." /> <meta name="keywords" content="ASP.Net,C#,JavaScript" /> </head> |
Conclusion:
Hope this helps,
Happy Coding.
Wow this is a great resource.. I’m enjoying it.. good article
Thanks for your article
Finally have all the info I need for my research, great post!
Informative write up, saved the website with hopes to see more information!
Amazing story, saved the website with hopes to see more information!
Great post, bookmarked the blog in hopes to read more!
Excellent story, saved your blog for interest to see more information!