HTML Controls[4]->HtmlGeneric

The HtmlGenericControl provides an ASP.NET server control implementation for all unknown HTML server control tags not directly represented by a specific HTML server control (for example, <span>, <div>, <body>, and so on).

The following sample illustrates using the HtmlGenericControl control for the <body> tag.

C# HtmlGenericControl1.aspx
Run Sample View Source

posted on 2007-05-14 10:27  改变热爱  阅读(139)  评论(0)    收藏  举报

导航