prependElement(_:)

Create a new element by tag name, and add it as the first child.

Element.swift:413
@discardableResult func prependElement(_ tagName: String) throws -> Element
<param>
<return>