Versions in this module Expand all Collapse all v0 v0.0.3 Jun 1, 2026 Changes in this version + func Document(opts DocumentOptions, body ...any) *Element + func DocumentString(opts DocumentOptions, body ...any) string + func RewriteAssetURLs(htmlStr, newRoot string) string + type DocumentOptions struct + CSSURL string + FaviconURL string + Head string + JSURL string + Lang string + Title string v0.0.2 May 31, 2026 Changes in this version + func A(href string, children ...any) *Element + func Article(children ...any) *Element + func Aside(children ...any) *Element + func Br() *Element + func Button(children ...any) *Element + func Canvas(children ...any) *Element + func Code(children ...any) *Element + func Details(children ...any) *Element + func Dialog(children ...any) *Element + func Div(children ...any) *Element + func Fieldset(children ...any) *Element + func Figcaption(children ...any) *Element + func Figure(children ...any) *Element + func Footer(children ...any) *Element + func H1(children ...any) *Element + func H2(children ...any) *Element + func H3(children ...any) *Element + func H4(children ...any) *Element + func H5(children ...any) *Element + func H6(children ...any) *Element + func Header(children ...any) *Element + func Hr() *Element + func Input(typ string) *Element + func Label(children ...any) *Element + func Legend(children ...any) *Element + func Li(children ...any) *Element + func Main(children ...any) *Element + func Mark(children ...any) *Element + func Nav(children ...any) *Element + func Ol(children ...any) *Element + func Option(value, text string) *Element + func P(children ...any) *Element + func Pre(children ...any) *Element + func Script(children ...any) *Element + func Section(children ...any) *Element + func SelectedOption(value, text string) *Element + func Small(children ...any) *Element + func Span(children ...any) *Element + func Strong(children ...any) *Element + func Style(children ...any) *Element + func Summary(children ...any) *Element + func Svg(children ...any) *Element + func Table(children ...any) *Element + func Tbody(children ...any) *Element + func Td(children ...any) *Element + func Tfoot(children ...any) *Element + func Th(children ...any) *Element + func Thead(children ...any) *Element + func Tr(children ...any) *Element + func Ul(children ...any) *Element + func Use(children ...any) *Element + type HTMLProvider interface + RenderHTML func() string