HtmlHead Constructor ()

 

Initializes a new instance of the HtmlHead class.

Namespace:   System.Web.UI.HtmlControls
Assembly:  System.Web (in System.Web.dll)

public:
HtmlHead()

The following table shows the initial property value for an instance of HtmlHead.

Property

Initial value

TagName

The string "head".

The following example shows how to programmatically add an HtmlHead control to a page and add title and link elements to it.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: