Void addString(ElementTree block, String text)
Arguments
block: The element to add text totext: The text to add
Usage
Append text directly to an element.
p = addParagraph(p,"This is a ");
addString(p,"paragraph.");
// <p>This is a paragraph.</p>
Related
- appendInlineElement is used to add text within a containing element.