H o m e

 

Programmatically Manipulate Web Page Head with Visual Basic and ASP.NET 2.0 

8/15/2006 ProgrammaticallyManipulateWebPageHead.zip

The HtmlTitle and HtmlMeta classes, new in ASP.NET 2.0, provide a simpler way to programmatically manipulate the HTML <head> tag in web forms applications.

Use the HtmlTitle class to programmatically specify the HTML <title> element of a Web Forms page.

The HtmlMeta control provides programmatic access to the HTML <meta> element on the server. The HTML <meta> element is a container for data about the rendered page, but not page content itself. The <meta> tag is placed between the opening and closing HTML <head> elements. Each <meta> element describes a metadata property name and its associated value.

Click the link above to download Visual Basic source code in a Visual Studio 2005 ASP.NET 2.0 solution which demonstrates how to use the HtmlTitle and HtmlMeta classes to manipulate the HTML <head> tag.

For more information visit the HtmlTitle and HtmlMeta articles on Microsoft's MSDN2 web site.

Get Dot Net Code is a web site full of free and pay for use Visual Basic source code for Visual Basic programmers.

 

Copyright © 2001-2006 aZ Software Developers. All rights reserved.

.