Documentation
¶
Overview ¶
Package xdom provides simple functions to create HTML elements with the correct type
Index ¶
- func A() *dom.HTMLAnchorElement
- func Abbr() *dom.BasicHTMLElement
- func Acronym() *dom.BasicHTMLElement
- func Address() *dom.BasicHTMLElement
- func Applet() *dom.HTMLAppletElement
- func Area() *dom.HTMLAreaElement
- func Article() *dom.BasicHTMLElement
- func Aside() *dom.BasicHTMLElement
- func Audio() *dom.HTMLAudioElement
- func B() *dom.BasicHTMLElement
- func Base() *dom.HTMLBaseElement
- func Basefont() *dom.BasicHTMLElement
- func Bdi() *dom.BasicHTMLElement
- func Bdo() *dom.BasicHTMLElement
- func Big() *dom.BasicHTMLElement
- func Blockquote() *dom.HTMLQuoteElement
- func Body() *dom.HTMLBodyElement
- func Br() *dom.HTMLBRElement
- func Button() *dom.HTMLButtonElement
- func Canvas() *dom.HTMLCanvasElement
- func Caption() *dom.HTMLTableCaptionElement
- func Center() *dom.BasicHTMLElement
- func Cite() *dom.HTMLQuoteElement
- func Code() *dom.BasicHTMLElement
- func Col() *dom.HTMLTableColElement
- func Colgroup() *dom.HTMLTableColElement
- func Content() *dom.BasicHTMLElement
- func Data() *dom.HTMLDataElement
- func Datalist() *dom.HTMLDataListElement
- func Dd() *dom.BasicHTMLElement
- func Del() *dom.HTMLModElement
- func Details() *dom.BasicHTMLElement
- func Dfn() *dom.BasicHTMLElement
- func Dialog() *dom.BasicHTMLElement
- func Dir() *dom.HTMLDirectoryElement
- func Div() *dom.HTMLDivElement
- func Dl() *dom.HTMLDListElement
- func DocumentFragment() *dom.BasicHTMLElement
- func Dt() *dom.BasicHTMLElement
- func Em() *dom.BasicHTMLElement
- func Embed() *dom.HTMLEmbedElement
- func Fieldset() *dom.HTMLFieldSetElement
- func Figcaption() *dom.BasicHTMLElement
- func Figure() *dom.BasicHTMLElement
- func Font() *dom.HTMLFontElement
- func Footer() *dom.BasicHTMLElement
- func Form() *dom.HTMLFormElement
- func Frame() *dom.HTMLFrameElement
- func Frameset() *dom.HTMLFrameSetElement
- func H1() *dom.HTMLHeadingElement
- func H2() *dom.HTMLHeadingElement
- func H3() *dom.HTMLHeadingElement
- func H4() *dom.HTMLHeadingElement
- func H5() *dom.HTMLHeadingElement
- func H6() *dom.HTMLHeadingElement
- func Head() *dom.HTMLHeadElement
- func Header() *dom.BasicHTMLElement
- func Hr() *dom.HTMLHRElement
- func Html() *dom.HTMLHtmlElement
- func I() *dom.BasicHTMLElement
- func Iframe() *dom.HTMLIFrameElement
- func Img() *dom.HTMLImageElement
- func Input() *dom.HTMLInputElement
- func Ins() *dom.HTMLModElement
- func Kbd() *dom.BasicHTMLElement
- func Keygen() *dom.HTMLKeygenElement
- func Label() *dom.HTMLLabelElement
- func Legend() *dom.HTMLLegendElement
- func Li() *dom.HTMLLIElement
- func Link() *dom.HTMLLinkElement
- func Main() *dom.BasicHTMLElement
- func Map() *dom.HTMLMapElement
- func Mark() *dom.BasicHTMLElement
- func Menu() *dom.HTMLMenuElement
- func Menuitem() *dom.BasicHTMLElement
- func Meta() *dom.HTMLMetaElement
- func Meter() *dom.HTMLMeterElement
- func Nav() *dom.BasicHTMLElement
- func Noframes() *dom.BasicHTMLElement
- func Noscript() *dom.BasicHTMLElement
- func Object() *dom.HTMLObjectElement
- func Ol() *dom.HTMLOListElement
- func Optgroup() *dom.HTMLOptGroupElement
- func Option() *dom.HTMLOptionElement
- func Output() *dom.HTMLOutputElement
- func P() *dom.HTMLParagraphElement
- func Param() *dom.HTMLParamElement
- func Pre() *dom.HTMLPreElement
- func Progress() *dom.HTMLProgressElement
- func Q() *dom.HTMLQuoteElement
- func Rp() *dom.BasicHTMLElement
- func Rt() *dom.BasicHTMLElement
- func Ruby() *dom.BasicHTMLElement
- func S() *dom.BasicHTMLElement
- func Samp() *dom.BasicHTMLElement
- func Script() *dom.HTMLScriptElement
- func Section() *dom.BasicHTMLElement
- func Select() *dom.HTMLSelectElement
- func Shadow() *dom.BasicHTMLElement
- func Small() *dom.BasicHTMLElement
- func Source() *dom.HTMLSourceElement
- func Span() *dom.HTMLSpanElement
- func Strike() *dom.BasicHTMLElement
- func Strong() *dom.BasicHTMLElement
- func Style() *dom.HTMLStyleElement
- func Sub() *dom.BasicHTMLElement
- func Summary() *dom.BasicHTMLElement
- func Sup() *dom.BasicHTMLElement
- func Table() *dom.HTMLTableElement
- func Tbody() *dom.HTMLTableSectionElement
- func Td() *dom.HTMLTableCellElement
- func Template() *dom.BasicHTMLElement
- func Text(s string) *dom.Text
- func Textarea() *dom.HTMLTextAreaElement
- func Tfoot() *dom.HTMLTableSectionElement
- func Th() *dom.HTMLTableCellElement
- func Thead() *dom.HTMLTableSectionElement
- func Time() *dom.HTMLTimeElement
- func Title() *dom.HTMLTitleElement
- func Tr() *dom.HTMLTableRowElement
- func Track() *dom.HTMLTrackElement
- func Tt() *dom.BasicHTMLElement
- func U() *dom.BasicHTMLElement
- func Ul() *dom.HTMLUListElement
- func Var() *dom.BasicHTMLElement
- func Video() *dom.HTMLVideoElement
- func Wbr() *dom.BasicHTMLElement
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Abbr ¶
func Abbr() *dom.BasicHTMLElement
Abbr returns a "abbr" element with type *dom.BasicHTMLElement
func Acronym ¶
func Acronym() *dom.BasicHTMLElement
Acronym returns a "acronym" element with type *dom.BasicHTMLElement
func Address ¶
func Address() *dom.BasicHTMLElement
Address returns a "address" element with type *dom.BasicHTMLElement
func Applet ¶
func Applet() *dom.HTMLAppletElement
Applet returns a "applet" element with type *dom.HTMLAppletElement
func Area ¶
func Area() *dom.HTMLAreaElement
Area returns a "area" element with type *dom.HTMLAreaElement
func Article ¶
func Article() *dom.BasicHTMLElement
Article returns a "article" element with type *dom.BasicHTMLElement
func Aside ¶
func Aside() *dom.BasicHTMLElement
Aside returns a "aside" element with type *dom.BasicHTMLElement
func Audio ¶
func Audio() *dom.HTMLAudioElement
Audio returns a "audio" element with type *dom.HTMLAudioElement
func Base ¶
func Base() *dom.HTMLBaseElement
Base returns a "base" element with type *dom.HTMLBaseElement
func Basefont ¶
func Basefont() *dom.BasicHTMLElement
Basefont returns a "basefont" element with type *dom.BasicHTMLElement
func Bdi ¶
func Bdi() *dom.BasicHTMLElement
Bdi returns a "bdi" element with type *dom.BasicHTMLElement
func Bdo ¶
func Bdo() *dom.BasicHTMLElement
Bdo returns a "bdo" element with type *dom.BasicHTMLElement
func Big ¶
func Big() *dom.BasicHTMLElement
Big returns a "big" element with type *dom.BasicHTMLElement
func Blockquote ¶
func Blockquote() *dom.HTMLQuoteElement
Blockquote returns a "blockquote" element with type *dom.HTMLQuoteElement
func Body ¶
func Body() *dom.HTMLBodyElement
Body returns a "body" element with type *dom.HTMLBodyElement
func Button ¶
func Button() *dom.HTMLButtonElement
Button returns a "button" element with type *dom.HTMLButtonElement
func Canvas ¶
func Canvas() *dom.HTMLCanvasElement
Canvas returns a "canvas" element with type *dom.HTMLCanvasElement
func Caption ¶
func Caption() *dom.HTMLTableCaptionElement
Caption returns a "caption" element with type *dom.HTMLTableCaptionElement
func Center ¶
func Center() *dom.BasicHTMLElement
Center returns a "center" element with type *dom.BasicHTMLElement
func Cite ¶
func Cite() *dom.HTMLQuoteElement
Cite returns a "cite" element with type *dom.HTMLQuoteElement
func Code ¶
func Code() *dom.BasicHTMLElement
Code returns a "code" element with type *dom.BasicHTMLElement
func Col ¶
func Col() *dom.HTMLTableColElement
Col returns a "col" element with type *dom.HTMLTableColElement
func Colgroup ¶
func Colgroup() *dom.HTMLTableColElement
Colgroup returns a "colgroup" element with type *dom.HTMLTableColElement
func Content ¶
func Content() *dom.BasicHTMLElement
Content returns a "content" element with type *dom.BasicHTMLElement
func Data ¶
func Data() *dom.HTMLDataElement
Data returns a "data" element with type *dom.HTMLDataElement
func Datalist ¶
func Datalist() *dom.HTMLDataListElement
Datalist returns a "datalist" element with type *dom.HTMLDataListElement
func Details ¶
func Details() *dom.BasicHTMLElement
Details returns a "details" element with type *dom.BasicHTMLElement
func Dfn ¶
func Dfn() *dom.BasicHTMLElement
Dfn returns a "dfn" element with type *dom.BasicHTMLElement
func Dialog ¶
func Dialog() *dom.BasicHTMLElement
Dialog returns a "dialog" element with type *dom.BasicHTMLElement
func Dir ¶
func Dir() *dom.HTMLDirectoryElement
Dir returns a "dir" element with type *dom.HTMLDirectoryElement
func DocumentFragment ¶
func DocumentFragment() *dom.BasicHTMLElement
DocumentFragment returns a new DocumentFragment
func Embed ¶
func Embed() *dom.HTMLEmbedElement
Embed returns a "embed" element with type *dom.HTMLEmbedElement
func Fieldset ¶
func Fieldset() *dom.HTMLFieldSetElement
Fieldset returns a "fieldset" element with type *dom.HTMLFieldSetElement
func Figcaption ¶
func Figcaption() *dom.BasicHTMLElement
Figcaption returns a "figcaption" element with type *dom.BasicHTMLElement
func Figure ¶
func Figure() *dom.BasicHTMLElement
Figure returns a "figure" element with type *dom.BasicHTMLElement
func Font ¶
func Font() *dom.HTMLFontElement
Font returns a "font" element with type *dom.HTMLFontElement
func Footer ¶
func Footer() *dom.BasicHTMLElement
Footer returns a "footer" element with type *dom.BasicHTMLElement
func Form ¶
func Form() *dom.HTMLFormElement
Form returns a "form" element with type *dom.HTMLFormElement
func Frame ¶
func Frame() *dom.HTMLFrameElement
Frame returns a "frame" element with type *dom.HTMLFrameElement
func Frameset ¶
func Frameset() *dom.HTMLFrameSetElement
Frameset returns a "frameset" element with type *dom.HTMLFrameSetElement
func H1 ¶
func H1() *dom.HTMLHeadingElement
H1 returns a "h1" element with type *dom.HTMLHeadingElement
func H2 ¶
func H2() *dom.HTMLHeadingElement
H2 returns a "h2" element with type *dom.HTMLHeadingElement
func H3 ¶
func H3() *dom.HTMLHeadingElement
H3 returns a "h3" element with type *dom.HTMLHeadingElement
func H4 ¶
func H4() *dom.HTMLHeadingElement
H4 returns a "h4" element with type *dom.HTMLHeadingElement
func H5 ¶
func H5() *dom.HTMLHeadingElement
H5 returns a "h5" element with type *dom.HTMLHeadingElement
func H6 ¶
func H6() *dom.HTMLHeadingElement
H6 returns a "h6" element with type *dom.HTMLHeadingElement
func Head ¶
func Head() *dom.HTMLHeadElement
Head returns a "head" element with type *dom.HTMLHeadElement
func Header ¶
func Header() *dom.BasicHTMLElement
Header returns a "header" element with type *dom.BasicHTMLElement
func Html ¶
func Html() *dom.HTMLHtmlElement
Html returns a "html" element with type *dom.HTMLHtmlElement
func Iframe ¶
func Iframe() *dom.HTMLIFrameElement
Iframe returns a "iframe" element with type *dom.HTMLIFrameElement
func Img ¶
func Img() *dom.HTMLImageElement
Img returns a "img" element with type *dom.HTMLImageElement
func Input ¶
func Input() *dom.HTMLInputElement
Input returns a "input" element with type *dom.HTMLInputElement
func Kbd ¶
func Kbd() *dom.BasicHTMLElement
Kbd returns a "kbd" element with type *dom.BasicHTMLElement
func Keygen ¶
func Keygen() *dom.HTMLKeygenElement
Keygen returns a "keygen" element with type *dom.HTMLKeygenElement
func Label ¶
func Label() *dom.HTMLLabelElement
Label returns a "label" element with type *dom.HTMLLabelElement
func Legend ¶
func Legend() *dom.HTMLLegendElement
Legend returns a "legend" element with type *dom.HTMLLegendElement
func Link ¶
func Link() *dom.HTMLLinkElement
Link returns a "link" element with type *dom.HTMLLinkElement
func Main ¶
func Main() *dom.BasicHTMLElement
Main returns a "main" element with type *dom.BasicHTMLElement
func Mark ¶
func Mark() *dom.BasicHTMLElement
Mark returns a "mark" element with type *dom.BasicHTMLElement
func Menu ¶
func Menu() *dom.HTMLMenuElement
Menu returns a "menu" element with type *dom.HTMLMenuElement
func Menuitem ¶
func Menuitem() *dom.BasicHTMLElement
Menuitem returns a "menuitem" element with type *dom.BasicHTMLElement
func Meta ¶
func Meta() *dom.HTMLMetaElement
Meta returns a "meta" element with type *dom.HTMLMetaElement
func Meter ¶
func Meter() *dom.HTMLMeterElement
Meter returns a "meter" element with type *dom.HTMLMeterElement
func Nav ¶
func Nav() *dom.BasicHTMLElement
Nav returns a "nav" element with type *dom.BasicHTMLElement
func Noframes ¶
func Noframes() *dom.BasicHTMLElement
Noframes returns a "noframes" element with type *dom.BasicHTMLElement
func Noscript ¶
func Noscript() *dom.BasicHTMLElement
Noscript returns a "noscript" element with type *dom.BasicHTMLElement
func Object ¶
func Object() *dom.HTMLObjectElement
Object returns a "object" element with type *dom.HTMLObjectElement
func Optgroup ¶
func Optgroup() *dom.HTMLOptGroupElement
Optgroup returns a "optgroup" element with type *dom.HTMLOptGroupElement
func Option ¶
func Option() *dom.HTMLOptionElement
Option returns a "option" element with type *dom.HTMLOptionElement
func Output ¶
func Output() *dom.HTMLOutputElement
Output returns a "output" element with type *dom.HTMLOutputElement
func P ¶
func P() *dom.HTMLParagraphElement
P returns a "p" element with type *dom.HTMLParagraphElement
func Param ¶
func Param() *dom.HTMLParamElement
Param returns a "param" element with type *dom.HTMLParamElement
func Progress ¶
func Progress() *dom.HTMLProgressElement
Progress returns a "progress" element with type *dom.HTMLProgressElement
func Ruby ¶
func Ruby() *dom.BasicHTMLElement
Ruby returns a "ruby" element with type *dom.BasicHTMLElement
func Samp ¶
func Samp() *dom.BasicHTMLElement
Samp returns a "samp" element with type *dom.BasicHTMLElement
func Script ¶
func Script() *dom.HTMLScriptElement
Script returns a "script" element with type *dom.HTMLScriptElement
func Section ¶
func Section() *dom.BasicHTMLElement
Section returns a "section" element with type *dom.BasicHTMLElement
func Select ¶
func Select() *dom.HTMLSelectElement
Select returns a "select" element with type *dom.HTMLSelectElement
func Shadow ¶
func Shadow() *dom.BasicHTMLElement
Shadow returns a "shadow" element with type *dom.BasicHTMLElement
func Small ¶
func Small() *dom.BasicHTMLElement
Small returns a "small" element with type *dom.BasicHTMLElement
func Source ¶
func Source() *dom.HTMLSourceElement
Source returns a "source" element with type *dom.HTMLSourceElement
func Span ¶
func Span() *dom.HTMLSpanElement
Span returns a "span" element with type *dom.HTMLSpanElement
func Strike ¶
func Strike() *dom.BasicHTMLElement
Strike returns a "strike" element with type *dom.BasicHTMLElement
func Strong ¶
func Strong() *dom.BasicHTMLElement
Strong returns a "strong" element with type *dom.BasicHTMLElement
func Style ¶
func Style() *dom.HTMLStyleElement
Style returns a "style" element with type *dom.HTMLStyleElement
func Sub ¶
func Sub() *dom.BasicHTMLElement
Sub returns a "sub" element with type *dom.BasicHTMLElement
func Summary ¶
func Summary() *dom.BasicHTMLElement
Summary returns a "summary" element with type *dom.BasicHTMLElement
func Sup ¶
func Sup() *dom.BasicHTMLElement
Sup returns a "sup" element with type *dom.BasicHTMLElement
func Table ¶
func Table() *dom.HTMLTableElement
Table returns a "table" element with type *dom.HTMLTableElement
func Tbody ¶
func Tbody() *dom.HTMLTableSectionElement
Tbody returns a "tbody" element with type *dom.HTMLTableSectionElement
func Td ¶
func Td() *dom.HTMLTableCellElement
Td returns a "td" element with type *dom.HTMLTableCellElement
func Template ¶
func Template() *dom.BasicHTMLElement
Template returns a "template" element with type *dom.BasicHTMLElement
func Textarea ¶
func Textarea() *dom.HTMLTextAreaElement
Textarea returns a "textarea" element with type *dom.HTMLTextAreaElement
func Tfoot ¶
func Tfoot() *dom.HTMLTableSectionElement
Tfoot returns a "tfoot" element with type *dom.HTMLTableSectionElement
func Th ¶
func Th() *dom.HTMLTableCellElement
Th returns a "th" element with type *dom.HTMLTableCellElement
func Thead ¶
func Thead() *dom.HTMLTableSectionElement
Thead returns a "thead" element with type *dom.HTMLTableSectionElement
func Time ¶
func Time() *dom.HTMLTimeElement
Time returns a "time" element with type *dom.HTMLTimeElement
func Title ¶
func Title() *dom.HTMLTitleElement
Title returns a "title" element with type *dom.HTMLTitleElement
func Tr ¶
func Tr() *dom.HTMLTableRowElement
Tr returns a "tr" element with type *dom.HTMLTableRowElement
func Track ¶
func Track() *dom.HTMLTrackElement
Track returns a "track" element with type *dom.HTMLTrackElement
func Var ¶
func Var() *dom.BasicHTMLElement
Var returns a "var" element with type *dom.BasicHTMLElement
func Video ¶
func Video() *dom.HTMLVideoElement
Video returns a "video" element with type *dom.HTMLVideoElement
func Wbr ¶
func Wbr() *dom.BasicHTMLElement
Wbr returns a "wbr" element with type *dom.BasicHTMLElement
Types ¶
This section is empty.