Tag Interface
Represents an HTML element.
public interface Tag : Node, BaseTag<Tag>
- Derived
- Implements
Remarks
This object is immutable.
Methods
Add(Node[]) |
Gets a new Tag object with the child Nodes that represent both the children of this object and the specified nodes. |
Add(IEnumerable<Node>) |
Gets a new Tag object with the child Nodes that represent both the children of this object and the specified nodes. |
Add(string) |
Gets a new Tag object with the child Nodes that represent both the children of this object and the new text node containing the specified string. |
Methods Detail
Add(Node[])
Tag Add(params Node[] children)
Parameters
Returns
Remarks
The node that this method returns has the same attributes of this object.
Add(IEnumerable<Node>)
Tag Add(IEnumerable<Node> children)
Parameters
- children
- IEnumerable<Node>
The adding Nodes as children.
Returns
Remarks
The node that this method returns has the same attributes of this object.
Add(string)
Tag Add(string text)
Parameters
- text
- string
The text that the adding node contains.
Returns
Remarks
The node that this method returns has the same attributes of this object.