Initializes a new instance of the Element class.
- tagName (String)
- Name of the tag.
string expected = "<span>Hello</span>"; string actual = new Element("span") .Update("Hello")).ToString(); Assert.AreEqual(expected, actual);
string expected = "<span>Hello</span>"; string actual = new Element("span") .Update("Hello")).ToString(); Assert.AreEqual(expected, actual);