pub fn create_element<Sink>(
    sink: &mut Sink,
    name: QualName,
    attrs: Vec<Attribute>
) -> Sink::Handlewhere
    Sink: TreeSink,
Expand description

A constructor for an element.

Examples

Create an element like <div class="test-class-name"></div>: