Example #1
0
 /// <summary>
 /// This constructs a new HTML element with the specified tag name.
 /// </summary>
 /// <param name="name">The name of this element</param>
 public HtmlElement(string name)
 {
     mNodes        = new HtmlNodeCollection(this);
     mAttributes   = new HtmlAttributeCollection(this);
     mName         = name;
     mIsTerminated = false;
 }
Example #2
0
 /// <summary>
 /// This constructs a new HTML element with the specified tag name.
 /// </summary>
 /// <param name="name">The name of this element</param>
 public HtmlElement(string name)
 {
     mNodes = new HtmlNodeCollection(this);
     mAttributes = new HtmlAttributeCollection(this);
     mName = name;
     mIsTerminated = false;
 }