diff --git a/Sources/Plot/API/HTMLElements.swift b/Sources/Plot/API/HTMLElements.swift index 37a248f..9dd54b8 100644 --- a/Sources/Plot/API/HTMLElements.swift +++ b/Sources/Plot/API/HTMLElements.swift @@ -188,6 +188,12 @@ public extension Node where Context: HTML.BodyContext { .selfClosedElement(named: "embed", attributes: attributes) } + /// Add a `
` HTML element within the current context. + /// - parameter nodes: The element's attributes and child elements. + static func fieldset(_ nodes: Node...) -> Node { + .element(named: "fieldset", nodes: nodes) + } + /// Add a `
` HTML element within the current context. /// - parameter nodes: The element's attributes and child elements. static func form(_ nodes: Node...) -> Node { @@ -259,6 +265,12 @@ public extension Node where Context: HTML.BodyContext { .element(named: "iframe", attributes: attributes) } + /// Add an `` HTML element within the current context. + /// - parameter nodes: The element's attributes. + static func input(_ attributes: Attribute...) -> Node { + .selfClosedElement(named: "input", attributes: attributes) + } + /// Add an `` HTML element within the current context. /// - parameter nodes: The element's attributes and child elements. static func ins(_ nodes: Node...) -> Node { @@ -349,6 +361,12 @@ public extension Node where Context: HTML.BodyContext { .element(named: "table", nodes: nodes) } + /// Add a `