PeachBrackets
PeachBrackets.Building.DocumentNode
DocumentNode.AppendElement(string, IReadOnlyDictionary<string,string>) Method
Adds a child element.
public PeachBrackets.Building.DocumentNode AppendElement(string tagName, System.Collections.Generic.IReadOnlyDictionary<string,string>? attributes=null);
Parameters
tagName System.String
the element name, such as a or td
attributes System.Collections.Generic.IReadOnlyDictionary<System.String,System.String>
the element’s attributes, or null for none
Returns
DocumentNode
the new child