Versions in this module Expand all Collapse all v0 v0.1.1 Oct 24, 2025 Changes in this version + func Document(root Node) document + type Attributer interface + GetAttribute func() (key, value string) + type Node interface + Render func(w http.ResponseWriter, r *http.Request) error + func A(children ...Node) Node + func Body(children ...Node) Node + func Button(children ...Node) Node + func Details(children ...Node) Node + func Div(children ...Node) Node + func Element(tag string, children ...Node) Node + func Footer(children ...Node) Node + func For[T any](items []T, fn func(T) Node) Node + func Form(children ...Node) Node + func Group(children ...Node) Node + func H1(children ...Node) Node + func H2(children ...Node) Node + func H3(children ...Node) Node + func HTML(children ...Node) Node + func Head(children ...Node) Node + func Header(children ...Node) Node + func Hr(children ...Node) Node + func If(condition bool, node Node) Node + func IfElse(condition bool, thenNode Node, elseNode Node) Node + func IfElsef(condition bool, thenFn func() Node, elseFn func() Node) Node + func Iff(condition bool, fn func() Node) Node + func Img(children ...Node) Node + func Input(children ...Node) Node + func Label(children ...Node) Node + func Li(children ...Node) Node + func Link(children ...Node) Node + func Main(children ...Node) Node + func Meta(children ...Node) Node + func Nav(children ...Node) Node + func Option(children ...Node) Node + func P(children ...Node) Node + func Script(children ...Node) Node + func Section(children ...Node) Node + func Select(children ...Node) Node + func Span(children ...Node) Node + func Summary(children ...Node) Node + func Table(children ...Node) Node + func Tbody(children ...Node) Node + func Td(children ...Node) Node + func Text(content string) Node + func Textarea(children ...Node) Node + func Title(children ...Node) Node + func Tr(children ...Node) Node + func Ul(children ...Node) Node