You can add arbitrary HTML bits to an element with appendHtml('<span>some html</span>') , for example:
import 'dart:html'; main() { var elem = new DivElement(); elem.appendHtml('<span>hello</span>'); }
The appendHtml method will parse the HTML and add the resulting node as the last child.
Seth ladd
source share