Documentation
¶
Overview ¶
Package html - Go package for HTML elements and attributes
Index ¶
- func A(contents ...any) aitch.Node
- func Abbr(contents ...any) aitch.Node
- func Accept(value ...any) aitch.Node
- func AccessKey(value ...any) aitch.Node
- func Action(value ...any) aitch.Node
- func Address(contents ...any) aitch.Node
- func AllowFullScreen() aitch.Node
- func Alt(value ...any) aitch.Node
- func Area(contents ...any) aitch.Node
- func Aria(name string, value ...any) aitch.Node
- func AriaAtomic(value ...any) aitch.Node
- func AriaBusy(value ...any) aitch.Node
- func AriaChecked(value ...any) aitch.Node
- func AriaControls(value ...any) aitch.Node
- func AriaDescribedBy(value ...any) aitch.Node
- func AriaDisabled(value ...any) aitch.Node
- func AriaExpanded(value ...any) aitch.Node
- func AriaFlowTo(value ...any) aitch.Node
- func AriaHidden(value ...any) aitch.Node
- func AriaInvalid(value ...any) aitch.Node
- func AriaLabel(value ...any) aitch.Node
- func AriaLabelledBy(value ...any) aitch.Node
- func AriaLive(value ...any) aitch.Node
- func AriaOwns(value ...any) aitch.Node
- func AriaPlaceholder(value ...any) aitch.Node
- func AriaPosInSet(value ...any) aitch.Node
- func AriaPressed(value ...any) aitch.Node
- func AriaReadonly(value ...any) aitch.Node
- func AriaRelevant(value ...any) aitch.Node
- func AriaRequired(value ...any) aitch.Node
- func AriaSelected(value ...any) aitch.Node
- func AriaSetSize(value ...any) aitch.Node
- func AriaValueMax(value ...any) aitch.Node
- func AriaValueMin(value ...any) aitch.Node
- func AriaValueNow(value ...any) aitch.Node
- func AriaValueText(value ...any) aitch.Node
- func Article(contents ...any) aitch.Node
- func As(value ...any) aitch.Node
- func Aside(contents ...any) aitch.Node
- func Async() aitch.Node
- func Audio(contents ...any) aitch.Node
- func AutoCapitalize(value ...any) aitch.Node
- func AutoComplete(value ...any) aitch.Node
- func AutoCorrect(value ...any) aitch.Node
- func AutoFocus() aitch.Node
- func AutoPlay() aitch.Node
- func B(contents ...any) aitch.Node
- func Base(contents ...any) aitch.Node
- func Bdi(contents ...any) aitch.Node
- func Bdo(contents ...any) aitch.Node
- func BlockQuote(contents ...any) aitch.Node
- func Body(contents ...any) aitch.Node
- func Br(contents ...any) aitch.Node
- func Button(contents ...any) aitch.Node
- func Canvas(contents ...any) aitch.Node
- func Caption(contents ...any) aitch.Node
- func Charset(value ...any) aitch.Node
- func Checked() aitch.Node
- func Cite(contents ...any) aitch.Node
- func CiteAttr(value ...any) aitch.Node
- func Class(value ...any) aitch.Node
- func Code(contents ...any) aitch.Node
- func Col(contents ...any) aitch.Node
- func ColGroup(contents ...any) aitch.Node
- func ColSpan(value ...any) aitch.Node
- func Cols(value ...any) aitch.Node
- func Comment(contents ...any) aitch.Node
- func Content(value ...any) aitch.Node
- func ContentEditable(value ...any) aitch.Node
- func Controls() aitch.Node
- func CrossOrigin(value ...any) aitch.Node
- func Data(name string, value ...any) aitch.Node
- func DataElement(contents ...any) aitch.Node
- func DataList(contents ...any) aitch.Node
- func DateTime(value ...any) aitch.Node
- func Dd(contents ...any) aitch.Node
- func Default() aitch.Node
- func Defer() aitch.Node
- func Del(contents ...any) aitch.Node
- func Details(contents ...any) aitch.Node
- func Dfn(contents ...any) aitch.Node
- func Dialog(contents ...any) aitch.Node
- func Dir(value ...any) aitch.Node
- func Disabled() aitch.Node
- func Div(contents ...any) aitch.Node
- func Dl(contents ...any) aitch.Node
- func Document(lang any, head []any, body []any) aitch.Node
- func Download(value ...any) aitch.Node
- func Draggable(value ...any) aitch.Node
- func Dt(contents ...any) aitch.Node
- func Em(contents ...any) aitch.Node
- func Embed(contents ...any) aitch.Node
- func EncType(value ...any) aitch.Node
- func EnterKeyHint(value ...any) aitch.Node
- func ExportParts(value ...any) aitch.Node
- func FieldSet(contents ...any) aitch.Node
- func FigCaption(contents ...any) aitch.Node
- func Figure(contents ...any) aitch.Node
- func Footer(contents ...any) aitch.Node
- func For(value ...any) aitch.Node
- func Form(contents ...any) aitch.Node
- func FormAttr(value ...any) aitch.Node
- func FormNoValidate() aitch.Node
- func GenerateCode(r io.Reader, w io.Writer) error
- func H1(contents ...any) aitch.Node
- func H2(contents ...any) aitch.Node
- func H3(contents ...any) aitch.Node
- func H4(contents ...any) aitch.Node
- func H5(contents ...any) aitch.Node
- func H6(contents ...any) aitch.Node
- func HGroup(contents ...any) aitch.Node
- func Head(contents ...any) aitch.Node
- func Header(contents ...any) aitch.Node
- func Height(value ...any) aitch.Node
- func Hidden() aitch.Node
- func Hr(contents ...any) aitch.Node
- func Href(value ...any) aitch.Node
- func Html(contents ...any) aitch.Node
- func I(contents ...any) aitch.Node
- func IFrame(contents ...any) aitch.Node
- func Id(value ...any) aitch.Node
- func Img(contents ...any) aitch.Node
- func Inert() aitch.Node
- func Input(contents ...any) aitch.Node
- func InputMode(value ...any) aitch.Node
- func Ins(contents ...any) aitch.Node
- func Integrity(value ...any) aitch.Node
- func Is(value ...any) aitch.Node
- func IsMap() aitch.Node
- func ItemId(value ...any) aitch.Node
- func ItemProp(value ...any) aitch.Node
- func ItemRef(value ...any) aitch.Node
- func ItemScope() aitch.Node
- func ItemType(value ...any) aitch.Node
- func Kbd(contents ...any) aitch.Node
- func Label(contents ...any) aitch.Node
- func Lang(value ...any) aitch.Node
- func Legend(contents ...any) aitch.Node
- func Li(contents ...any) aitch.Node
- func Link(contents ...any) aitch.Node
- func List(value ...any) aitch.Node
- func Loading(value ...any) aitch.Node
- func Loop() aitch.Node
- func Main(contents ...any) aitch.Node
- func Map(contents ...any) aitch.Node
- func Mark(contents ...any) aitch.Node
- func Max(value ...any) aitch.Node
- func MaxLength(value ...any) aitch.Node
- func Menu(contents ...any) aitch.Node
- func Meta(contents ...any) aitch.Node
- func Meter(contents ...any) aitch.Node
- func Method(value ...any) aitch.Node
- func Min(value ...any) aitch.Node
- func MinLength(value ...any) aitch.Node
- func Multiple() aitch.Node
- func Muted() aitch.Node
- func Name(value ...any) aitch.Node
- func Nav(contents ...any) aitch.Node
- func NoModule() aitch.Node
- func NoScript(contents ...any) aitch.Node
- func NoValidate() aitch.Node
- func Nonce(value ...any) aitch.Node
- func Object(contents ...any) aitch.Node
- func Ol(contents ...any) aitch.Node
- func OnAbort(value ...any) aitch.Node
- func OnAnimationEnd(value ...any) aitch.Node
- func OnAnimationIteration(value ...any) aitch.Node
- func OnAnimationStart(value ...any) aitch.Node
- func OnBeforeInput(value ...any) aitch.Node
- func OnBeforeUnload(value ...any) aitch.Node
- func OnBlur(value ...any) aitch.Node
- func OnCanPlay(value ...any) aitch.Node
- func OnCanPlayThrough(value ...any) aitch.Node
- func OnChange(value ...any) aitch.Node
- func OnClick(value ...any) aitch.Node
- func OnContextMenu(value ...any) aitch.Node
- func OnCopy(value ...any) aitch.Node
- func OnCut(value ...any) aitch.Node
- func OnDblClick(value ...any) aitch.Node
- func OnDrag(value ...any) aitch.Node
- func OnDragEnd(value ...any) aitch.Node
- func OnDragEnter(value ...any) aitch.Node
- func OnDragLeave(value ...any) aitch.Node
- func OnDragOver(value ...any) aitch.Node
- func OnDragStart(value ...any) aitch.Node
- func OnDrop(value ...any) aitch.Node
- func OnDurationChange(value ...any) aitch.Node
- func OnEnded(value ...any) aitch.Node
- func OnError(value ...any) aitch.Node
- func OnFocus(value ...any) aitch.Node
- func OnFormData(value ...any) aitch.Node
- func OnHashChange(value ...any) aitch.Node
- func OnInput(value ...any) aitch.Node
- func OnInvalid(value ...any) aitch.Node
- func OnKeyDown(value ...any) aitch.Node
- func OnKeyPress(value ...any) aitch.Node
- func OnKeyUp(value ...any) aitch.Node
- func OnLoad(value ...any) aitch.Node
- func OnLoadedData(value ...any) aitch.Node
- func OnLoadedMetadata(value ...any) aitch.Node
- func OnMouseDown(value ...any) aitch.Node
- func OnMouseEnter(value ...any) aitch.Node
- func OnMouseLeave(value ...any) aitch.Node
- func OnMouseMove(value ...any) aitch.Node
- func OnMouseOut(value ...any) aitch.Node
- func OnMouseOver(value ...any) aitch.Node
- func OnMouseUp(value ...any) aitch.Node
- func OnPageHide(value ...any) aitch.Node
- func OnPageShow(value ...any) aitch.Node
- func OnPaste(value ...any) aitch.Node
- func OnPause(value ...any) aitch.Node
- func OnPlay(value ...any) aitch.Node
- func OnPlaying(value ...any) aitch.Node
- func OnPointerCancel(value ...any) aitch.Node
- func OnPointerDown(value ...any) aitch.Node
- func OnPointerEnter(value ...any) aitch.Node
- func OnPointerLeave(value ...any) aitch.Node
- func OnPointerMove(value ...any) aitch.Node
- func OnPointerOut(value ...any) aitch.Node
- func OnPointerOver(value ...any) aitch.Node
- func OnPointerUp(value ...any) aitch.Node
- func OnPopState(value ...any) aitch.Node
- func OnProgress(value ...any) aitch.Node
- func OnRateChange(value ...any) aitch.Node
- func OnReset(value ...any) aitch.Node
- func OnResize(value ...any) aitch.Node
- func OnScroll(value ...any) aitch.Node
- func OnSeeked(value ...any) aitch.Node
- func OnSeeking(value ...any) aitch.Node
- func OnSelect(value ...any) aitch.Node
- func OnSlotChange(value ...any) aitch.Node
- func OnStalled(value ...any) aitch.Node
- func OnSubmit(value ...any) aitch.Node
- func OnSuspend(value ...any) aitch.Node
- func OnTimeUpdate(value ...any) aitch.Node
- func OnToggle(value ...any) aitch.Node
- func OnTouchCancel(value ...any) aitch.Node
- func OnTouchEnd(value ...any) aitch.Node
- func OnTouchMove(value ...any) aitch.Node
- func OnTouchStart(value ...any) aitch.Node
- func OnTransitionEnd(value ...any) aitch.Node
- func OnUnload(value ...any) aitch.Node
- func OnVolumeChange(value ...any) aitch.Node
- func OnWaiting(value ...any) aitch.Node
- func Open() aitch.Node
- func OptGroup(contents ...any) aitch.Node
- func Option(contents ...any) aitch.Node
- func Output(contents ...any) aitch.Node
- func P(contents ...any) aitch.Node
- func PI(name string, contents ...any) aitch.Node
- func Para(contents ...any) aitch.Node
- func Param(contents ...any) aitch.Node
- func Part(value ...any) aitch.Node
- func Pattern(value ...any) aitch.Node
- func Picture(contents ...any) aitch.Node
- func Placeholder(value ...any) aitch.Node
- func PlaysInline() aitch.Node
- func PopOver(value ...any) aitch.Node
- func PopOverTarget(value ...any) aitch.Node
- func PopOverTargetAction(value ...any) aitch.Node
- func Poster(value ...any) aitch.Node
- func Pre(contents ...any) aitch.Node
- func Preload(value ...any) aitch.Node
- func Progress(contents ...any) aitch.Node
- func Q(contents ...any) aitch.Node
- func ReadOnly() aitch.Node
- func ReferrerPolicy(value ...any) aitch.Node
- func Rel(value ...any) aitch.Node
- func Required() aitch.Node
- func Reversed() aitch.Node
- func Role(value ...any) aitch.Node
- func RowSpan(value ...any) aitch.Node
- func Rows(value ...any) aitch.Node
- func Rp(contents ...any) aitch.Node
- func Rt(contents ...any) aitch.Node
- func Ruby(contents ...any) aitch.Node
- func S(contents ...any) aitch.Node
- func Samp(contents ...any) aitch.Node
- func Script(contents ...any) aitch.Node
- func Search(contents ...any) aitch.Node
- func Section(contents ...any) aitch.Node
- func Select(contents ...any) aitch.Node
- func Selected() aitch.Node
- func Slot(contents ...any) aitch.Node
- func SlotAttr(value ...any) aitch.Node
- func Small(contents ...any) aitch.Node
- func Source(contents ...any) aitch.Node
- func Span(contents ...any) aitch.Node
- func Spellcheck() aitch.Node
- func Src(value ...any) aitch.Node
- func SrcSet(value ...any) aitch.Node
- func Step(value ...any) aitch.Node
- func Strong(contents ...any) aitch.Node
- func Style(value ...any) aitch.Node
- func StyleElement(contents ...any) aitch.Node
- func Sub(contents ...any) aitch.Node
- func Summary(contents ...any) aitch.Node
- func Sup(contents ...any) aitch.Node
- func TBody(contents ...any) aitch.Node
- func TFoot(contents ...any) aitch.Node
- func THead(contents ...any) aitch.Node
- func TabIndex(value ...any) aitch.Node
- func Table(contents ...any) aitch.Node
- func Target(value ...any) aitch.Node
- func Td(contents ...any) aitch.Node
- func Template(contents ...any) aitch.Node
- func Text(contents ...any) aitch.Node
- func Textarea(contents ...any) aitch.Node
- func Th(contents ...any) aitch.Node
- func Time(contents ...any) aitch.Node
- func Title(value ...any) aitch.Node
- func TitleElement(contents ...any) aitch.Node
- func Tr(contents ...any) aitch.Node
- func Track(contents ...any) aitch.Node
- func Translate() aitch.Node
- func Type(value ...any) aitch.Node
- func U(contents ...any) aitch.Node
- func Ul(contents ...any) aitch.Node
- func Value(value ...any) aitch.Node
- func Var(contents ...any) aitch.Node
- func Video(contents ...any) aitch.Node
- func Wbr(contents ...any) aitch.Node
- func Width(value ...any) aitch.Node
- func WritingSuggestions(value ...any) aitch.Node
- type DynamicValueFunc
- type DynamicValueKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func A ¶
A declares an <a> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a
func Abbr ¶
Abbr declares an <abbr> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/abbr
func Accept ¶
Accept declares an HTML "accept" attribute
only applies to Input <input> element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input
func AccessKey ¶ added in v1.2.3
AccessKey declares an HTML "accesskey" attribute
global attribute - applies to any element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/accesskey
func Action ¶
Action declares an HTML "action" attribute
only applies to Form <form> element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form
func Address ¶
Address declares an <address> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/address
func AllowFullScreen ¶
AllowFullScreen declares an HTML "allowfullscreen" boolean attribute
only applies to IFrame <iframe> element
func Alt ¶
Alt declares an HTML "alt" attribute
only applies to Img <img>, Area <area> & Input <input type="image"> elements
func Area ¶
Area declares an <area> HTML element
As <area> is a void element - any non-attribute contents are ignored
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/area
func Aria ¶
Aria declares a custom HTML "aria-*" attribute using the provided name and value
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes
func AriaAtomic ¶
AriaAtomic declares an HTML "aria-atomic" attribute
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-atomic
func AriaBusy ¶
AriaBusy declares an HTML "aria-busy" attribute
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-busy
func AriaChecked ¶
AriaChecked declares an HTML "aria-checked" attribute
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-checked
func AriaControls ¶
AriaControls declares an HTML "aria-controls" attribute
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-controls
func AriaDescribedBy ¶
AriaDescribedBy declares an HTML "aria-describedby" attribute
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-describedby
func AriaDisabled ¶
AriaDisabled declares an HTML "aria-disabled" attribute
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-disabled
func AriaExpanded ¶
AriaExpanded declares an HTML "aria-expanded" attribute
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-expanded
func AriaFlowTo ¶
AriaFlowTo declares an HTML "aria-flowto" attribute
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-flowto
func AriaHidden ¶
AriaHidden declares an HTML "aria-hidden" attribute
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-hidden
func AriaInvalid ¶
AriaInvalid declares an HTML "aria-invalid" attribute
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-invalid
func AriaLabel ¶
AriaLabel declares an HTML "aria-label" attribute
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-label
func AriaLabelledBy ¶
AriaLabelledBy declares an HTML "aria-labelledby" attribute
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-labelledby
func AriaLive ¶
AriaLive declares an HTML "aria-live" attribute
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-live
func AriaOwns ¶
AriaOwns declares an HTML "aria-owns" attribute
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-owns
func AriaPlaceholder ¶
AriaPlaceholder declares an HTML "aria-placeholder" attribute
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-placeholder
func AriaPosInSet ¶
AriaPosInSet declares an HTML "aria-posinset" attribute
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-posinset
func AriaPressed ¶
AriaPressed declares an HTML "aria-pressed" attribute
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-pressed
func AriaReadonly ¶
AriaReadonly declares an HTML "aria-readonly" attribute
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-readonly
func AriaRelevant ¶
AriaRelevant declares an HTML "aria-relevant" attribute
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-relevant
func AriaRequired ¶
AriaRequired declares an HTML "aria-required" attribute
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-required
func AriaSelected ¶
AriaSelected declares an HTML "aria-selected" attribute
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-selected
func AriaSetSize ¶
AriaSetSize declares an HTML "aria-setsize" attribute
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-setsize
func AriaValueMax ¶
AriaValueMax declares an HTML "aria-valuemax" attribute
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-valuemax
func AriaValueMin ¶
AriaValueMin declares an HTML "aria-valuemin" attribute
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-valuemin
func AriaValueNow ¶
AriaValueNow declares an HTML "aria-valuenow" attribute
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-valuenow
func AriaValueText ¶
AriaValueText declares an HTML "aria-valuetext" attribute
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-valuetext
func Article ¶
Article declares an <article> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/article
func As ¶
As declares an HTML "as" attribute
only applies to Link <link> element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link
func Aside ¶
Aside declares an <aside> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/aside
func Async ¶
Async declares an HTML "async" boolean attribute
only applies to Script <script> element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script
func Audio ¶
Audio declares an <audio> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio
func AutoCapitalize ¶ added in v1.2.3
AutoCapitalize declares an HTML "autocapitalize" attribute
global attribute - applies to any element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autocapitalize
func AutoComplete ¶
AutoComplete declares an HTML "autocomplete" attribute
only applies to Form <form>, Input <input>, Select <select> & Textarea <textarea> elements
func AutoCorrect ¶ added in v1.2.3
AutoCorrect declares an HTML "autocorrect" attribute
global attribute - applies to any element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autocorrect
func AutoFocus ¶
AutoFocus declares an HTML "autofocus" boolean attribute
global attribute - applies to any element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus
func AutoPlay ¶
AutoPlay declares an HTML "autoplay" boolean attribute
only applies to Audio <audio> and Video <video> elements
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio & https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video
func B ¶
B declares a <b> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/b
func Base ¶
Base declares a <base> HTML element
As <base> is a void element - any non-attribute contents are ignored
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
func Bdi ¶ added in v1.2.3
Bdi declares a <bdi> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdi
func Bdo ¶ added in v1.2.3
Bdo declares a <bdo> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdo
func BlockQuote ¶
BlockQuote declares a <blockquote> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/blockquote
func Body ¶
Body declares a <body> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body
func Br ¶
Br declares a <br> HTML element
As <br> is a void element - any non-attribute contents are ignored
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/br
func Button ¶
Button declares a <button> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button
func Canvas ¶
Canvas declares a <canvas> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas
func Caption ¶
Caption declares a <caption> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/caption
func Charset ¶
Charset declares an HTML "charset" attribute
only applies to Meta <meta> & Script <script> elements
func Checked ¶
Checked declares an HTML "checked" boolean attribute
only applies to Input <input> element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input
func Cite ¶
Cite declares a <cite> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/cite
func CiteAttr ¶
CiteAttr declares an HTML "cite" attribute
only applies to BlockQuote <blockquote>, Q <q>, Del <del> & Ins <ins> elements
func Class ¶
Class declares an HTML "class" attribute
Use multiple Class() declarations on a single element - the values are joined into one "class" attribute delimited with " " (space)
global attribute - applies to any element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/class
func Code ¶
Code declares a <code> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/code
func Col ¶
Col declares a <col> HTML element
As <col> is a void element - any non-attribute contents are ignored
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col
func ColGroup ¶
ColGroup declares a <colgroup> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup
func ColSpan ¶
ColSpan declares an HTML "colspan" attribute
only applies to Td <td> & Th <th> elements
func ContentEditable ¶
ContentEditable declares an HTML "contenteditable" attribute
global attribute - applies to any element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/contenteditable
func Controls ¶
Controls declares an HTML "controls" boolean attribute
only applies to Audio <audio> and Video <video> elements
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio & https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video
func CrossOrigin ¶
CrossOrigin declares an HTML "crossorigin" attribute
only applies to Img <img>, Script <script>, Link <link>, Audio <audio>, Video <video>, IFrame <iframe> & svg.Use <use> elements
func Data ¶
Data declares an HTML data attribute prefixed with "data-".
global attribute - applies to any element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/data-*
func DataElement ¶
DataElement declares a <data> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/data
func DataList ¶
DataList declares a <datalist> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist
func DateTime ¶
DateTime declares an HTML "datetime" attribute
only applies to Time <time> element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time
func Dd ¶
Dd declares a <dd> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dd
func Default ¶
Default declares an HTML "default" boolean attribute
only applies to Option <option> & Track <track> elements
func Defer ¶
Defer declares an HTML "defer" boolean attribute
only applies to Script <script> element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script
func Del ¶
Del declares a <del> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/del
func Details ¶
Details declares a <details> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details
func Dfn ¶
Dfn declares a <dfn> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dfn
func Dialog ¶
Dialog declares a <dialog> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog
func Dir ¶
Dir declares an HTML "dir" attribute
global attribute - applies to any element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/dir
func Disabled ¶
Disabled declares an HTML "disabled" boolean attribute
only applies to Button <button>, Input <input>, Select <select>, Textarea <textarea>, Option <option>, OptGroup <optgroup>, FieldSet <fieldset> & Form <form> elements
func Div ¶
Div declares a <div> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div
func Dl ¶
Dl declares a <dl> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dl
func Download ¶
Download declares an HTML "download" attribute
only applies to A <a> element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a
func Draggable ¶
Draggable declares an HTML "draggable" attribute
global attribute - applies to any element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/draggable
func Dt ¶
Dt declares a <dt> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dt
func Em ¶
Em declares an <em> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/em
func Embed ¶
Embed declares an <embed> HTML element
As <embed> is a void element - any non-attribute contents are ignored
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/embed
func EncType ¶
EncType declares an HTML "enctype" attribute
only applies to Form <form> element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form
func EnterKeyHint ¶ added in v1.2.3
EnterKeyHint declares an HTML "enterkeyhint" attribute
global attribute - applies to any element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/enterkeyhint
func ExportParts ¶ added in v1.2.3
ExportParts declares an HTML "exportparts" attribute
global attribute - applies to any element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/exportparts
func FieldSet ¶
FieldSet declares a <fieldset> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset
func FigCaption ¶
FigCaption declares a <figcaption> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figcaption
func Figure ¶
Figure declares a <figure> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figure
func Footer ¶
Footer declares a <footer> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/footer
func For ¶
For declares an HTML "for" attribute
only applies to Label <label> & Output <output> elements
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label
func Form ¶
Form declares a <form> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form
func FormAttr ¶
FormAttr declares an HTML "form" attribute
only applies to Input <input>, Button <button>, Select <select>, Textarea <textarea>, Output <output>, FieldSet <fieldset>, Label <label> & Object <object> elements
func FormNoValidate ¶
FormNoValidate declares an HTML "formnovalidate" boolean attribute
only applies to Button <button> & Input <input> elements
func GenerateCode ¶
GenerateCode reads HTML and writes fluent HTML code
func H1 ¶
H1 declares a <h1> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements
func H2 ¶
H2 declares a <h2> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements
func H3 ¶
H3 declares a <h3> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements
func H4 ¶
H4 declares a <h4> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements
func H5 ¶
H5 declares a <h5> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements
func H6 ¶
H6 declares a <h6> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements
func HGroup ¶
HGroup declares a <hgroup> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hgroup
func Head ¶
Head declares a <head> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/head
func Header ¶
Header declares a <header> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/header
func Height ¶
Height declares an HTML "height" attribute
only applies to Img <img>, Video <video>, Canvas <canvas>, IFrame <iframe>, Object <object>, Embed <embed> & Input <input type="image"> elements
func Hidden ¶
Hidden declares an HTML "hidden" boolean attribute
global attribute - applies to any element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden
func Hr ¶
Hr declares a <hr> HTML element
As <hr> is a void element - any non-attribute contents are ignored
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hr
func Href ¶
Href declares an HTML "href" attribute
only applies to A <a>, Area <area>, Base <base> & Link <link> elements
func Html ¶
Html declares a <html> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/html
func I ¶
I declares an <i> HTML element (idiomatic text)
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/i
func IFrame ¶
IFrame declares an <iframe> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe
func Id ¶
Id declares an HTML "id" attribute
global attribute - applies to any element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id
func Img ¶
Img declares an <img> HTML element
As <img> is a void element - any non-attribute contents are ignored
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img
func Inert ¶
Inert declares an HTML "inert" boolean attribute
global attribute - applies to any element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inert
func Input ¶
Input declares an <input> HTML element
As <input> is a void element - any non-attribute contents are ignored
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input
func InputMode ¶ added in v1.2.3
InputMode declares an HTML "inputmode" attribute
global attribute - applies to any element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode
func Ins ¶
Ins declares an <ins> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ins
func Integrity ¶
Integrity declares an HTML "integrity" attribute
only applies to Link <link> & Script <script> elements
func Is ¶ added in v1.2.3
Is declares an HTML "is" attribute
global attribute - applies to any element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/is
func IsMap ¶
IsMap declares an HTML "ismap" boolean attribute
only applies to Img <img> element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img
func ItemId ¶ added in v1.2.3
ItemId declares an HTML "itemid" attribute
global attribute - applies to any element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/itemid
func ItemProp ¶ added in v1.2.3
ItemProp declares an HTML "itemprop" attribute
global attribute - applies to any element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/itemprop
func ItemRef ¶ added in v1.2.3
ItemRef declares an HTML "itemref" attribute
global attribute - applies to any element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/itemref
func ItemType ¶ added in v1.2.3
ItemType declares an HTML "itemtype" attribute
global attribute - applies to any element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/itemtype
func Kbd ¶
Kbd declares a <kbd> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/kbd
func Label ¶
Label declares a <label> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label
func Lang ¶
Lang declares an HTML "lang" attribute
global attribute - applies to any element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang
func Legend ¶
Legend declares a <legend> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend
func Li ¶
Li declares a <li> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li
func Link ¶
Link declares a <link> HTML element
As <link> is a void element - any non-attribute contents are ignored
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link
func List ¶
List declares an HTML "list" attribute
only applies to Input <input> element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input
func Loading ¶
Loading declares an HTML "loading" attribute
only applies to Img <img> & IFrame <iframe> elements
func Loop ¶
Loop declares an HTML "loop" boolean attribute
only applies to Audio <audio> and Video <video> elements
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio & https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video
func Main ¶
Main declares a <main> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/main
func Map ¶ added in v1.2.3
Map declares a <map> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map
func Mark ¶
Mark declares a <mark> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/mark
func Max ¶
Max declares an HTML "max" attribute
only applies to Input <input> & Meter <meter> elements
func MaxLength ¶
MaxLength declares an HTML "maxlength" attribute
only applies to Input <input> & Textarea <textarea> elements
func Menu ¶
Menu declares a <menu> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu
func Meta ¶
Meta declares a <meta> HTML element
As <meta> is a void element - any non-attribute contents are ignored
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
func Meter ¶
Meter declares a <meter> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meter
func Method ¶
Method declares an HTML "method" attribute
only applies to Form <form> element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form
func Min ¶
Min declares an HTML "min" attribute
only applies to Input <input> & Meter <meter> elements
func MinLength ¶
MinLength declares an HTML "minlength" attribute
only applies to Input <input> & Textarea <textarea> elements
func Multiple ¶
Multiple declares an HTML "multiple" boolean attribute
only applies to Input <input> and Select <select> elements
func Muted ¶
Muted declares an HTML "muted" boolean attribute
only applies to Audio <audio> and Video <video> elements
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio & https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video
func Name ¶
Name declares an HTML "name" attribute
only applies to Input <input>, Textarea <textarea>, Select <select>, Button <button>, Form <form>, FieldSet <fieldset>, Object <object> & Output <output> elements
func Nav ¶
Nav declares a <nav> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nav
func NoModule ¶
NoModule declares an HTML "nomodule" boolean attribute
only applies to Script <script> element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script
func NoScript ¶
NoScript declares a <noscript> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/noscript
func NoValidate ¶
NoValidate declares an HTML "novalidate" boolean attribute
only applies to Form <form> element
func Nonce ¶ added in v1.2.3
Nonce declares an HTML "nonce" attribute
global attribute - applies to any element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/nonce
func Object ¶
Object declares an <object> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/object
func Ol ¶
Ol declares an <ol> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol
func OnAnimationEnd ¶ added in v1.2.0
OnAnimationEnd declares an HTML "onanimationend" event attribute
func OnAnimationIteration ¶ added in v1.2.0
OnAnimationIteration declares an HTML "onanimationiteration" event attribute
func OnAnimationStart ¶ added in v1.2.0
OnAnimationStart declares an HTML "onanimationstart" event attribute
func OnBeforeInput ¶ added in v1.2.0
OnBeforeInput declares an HTML "onbeforeinput" event attribute
func OnBeforeUnload ¶
OnBeforeUnload declares an HTML "onbeforeunload" event attribute
func OnCanPlayThrough ¶
OnCanPlayThrough declares an HTML "oncanplaythrough" event attribute
func OnContextMenu ¶
OnContextMenu declares an HTML "oncontextmenu" event attribute
func OnDblClick ¶
OnDblClick declares an HTML "ondblclick" event attribute
func OnDragEnter ¶
OnDragEnter declares an HTML "ondragenter" event attribute
func OnDragLeave ¶
OnDragLeave declares an HTML "ondragleave" event attribute
func OnDragOver ¶
OnDragOver declares an HTML "ondragover" event attribute
func OnDragStart ¶
OnDragStart declares an HTML "ondragstart" event attribute
func OnDurationChange ¶
OnDurationChange declares an HTML "ondurationchange" event attribute
func OnFormData ¶ added in v1.2.0
OnFormData declares an HTML "onformdata" event attribute
func OnHashChange ¶
OnHashChange declares an HTML "onhashchange" event attribute
func OnKeyPress ¶
OnKeyPress declares an HTML "onkeypress" event attribute
func OnLoadedData ¶
OnLoadedData declares an HTML "onloadeddata" event attribute
func OnLoadedMetadata ¶
OnLoadedMetadata declares an HTML "onloadedmetadata" event attribute
func OnMouseDown ¶
OnMouseDown declares an HTML "onmousedown" event attribute
func OnMouseEnter ¶
OnMouseEnter declares an HTML "onmouseenter" event attribute
func OnMouseLeave ¶
OnMouseLeave declares an HTML "onmouseleave" event attribute
func OnMouseMove ¶
OnMouseMove declares an HTML "onmousemove" event attribute
func OnMouseOut ¶
OnMouseOut declares an HTML "onmouseout" event attribute
func OnMouseOver ¶
OnMouseOver declares an HTML "onmouseover" event attribute
func OnPageHide ¶
OnPageHide declares an HTML "onpagehide" event attribute
func OnPageShow ¶
OnPageShow declares an HTML "onpageshow" event attribute
func OnPointerCancel ¶ added in v1.2.0
OnPointerCancel declares an HTML "onpointercancel" event attribute
func OnPointerDown ¶ added in v1.2.0
OnPointerDown declares an HTML "onpointerdown" event attribute
func OnPointerEnter ¶ added in v1.2.0
OnPointerEnter declares an HTML "onpointerenter" event attribute
func OnPointerLeave ¶ added in v1.2.0
OnPointerLeave declares an HTML "onpointerleave" event attribute
func OnPointerMove ¶ added in v1.2.0
OnPointerMove declares an HTML "onpointermove" event attribute
func OnPointerOut ¶ added in v1.2.0
OnPointerOut declares an HTML "onpointerout" event attribute
func OnPointerOver ¶ added in v1.2.0
OnPointerOver declares an HTML "onpointerover" event attribute
func OnPointerUp ¶ added in v1.2.0
OnPointerUp declares an HTML "onpointerup" event attribute
func OnPopState ¶
OnPopState declares an HTML "onpopstate" event attribute
func OnProgress ¶
OnProgress declares an HTML "onprogress" event attribute
func OnRateChange ¶
OnRateChange declares an HTML "onratechange" event attribute
func OnSlotChange ¶ added in v1.2.0
OnSlotChange declares an HTML "onslotchange" event attribute
func OnTimeUpdate ¶
OnTimeUpdate declares an HTML "ontimeupdate" event attribute
func OnTouchCancel ¶ added in v1.2.0
OnTouchCancel declares an HTML "ontouchcancel" event attribute
func OnTouchEnd ¶ added in v1.2.0
OnTouchEnd declares an HTML "ontouchend" event attribute
func OnTouchMove ¶ added in v1.2.0
OnTouchMove declares an HTML "ontouchmove" event attribute
func OnTouchStart ¶ added in v1.2.0
OnTouchStart declares an HTML "ontouchstart" event attribute
func OnTransitionEnd ¶ added in v1.2.0
OnTransitionEnd declares an HTML "ontransitionend" event attribute
func OnVolumeChange ¶
OnVolumeChange declares an HTML "onvolumechange" event attribute
func Open ¶
Open declares an HTML "open" boolean attribute
only applies to Details <details> element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details
func OptGroup ¶
OptGroup declares an <optgroup> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup
func Option ¶
Option declares an <option> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option
func Output ¶ added in v1.2.3
Output declares a <output> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/output
func P ¶
P declares a <p> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/p
func Para ¶
Para declares a <p> HTML element (same as P)
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/p
func Param ¶
Param declares a <param> HTML element
As <param> is a void element - any non-attribute contents are ignored
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/param
func Part ¶ added in v1.2.3
Part declares an HTML "part" attribute
global attribute - applies to any element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/part
func Pattern ¶
Pattern declares an HTML "pattern" attribute
only applies to Input <input> element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input
func Picture ¶
Picture declares a <picture> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture
func Placeholder ¶
Placeholder declares an HTML "placeholder" attribute
only applies to Input <input> & Textarea <textarea> elements
func PlaysInline ¶
PlaysInline declares an HTML "playsinline" boolean attribute
only applies to Video <video> element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video
func PopOver ¶
PopOver declares an HTML "popover" attribute
global attribute - applies to any element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/popover
func PopOverTarget ¶
PopOverTarget declares an HTML "popovertarget" attribute
func PopOverTargetAction ¶
PopOverTargetAction declares an HTML "popovertargetaction" attribute
func Poster ¶
Poster declares an HTML "poster" attribute
only applies to Video <video> element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video
func Pre ¶
Pre declares a <pre> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/pre
func Preload ¶
Preload declares an HTML "preload" attribute
only applies to Audio <audio> and Video <video> elements
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio & https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video
func Progress ¶
Progress declares a <progress> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress
func Q ¶
Q declares a <q> HTML element (inline quotation)
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/q
func ReadOnly ¶
ReadOnly declares an HTML "readonly" boolean attribute
only applies to Input <input> and Textarea <textarea> elements
func ReferrerPolicy ¶
ReferrerPolicy declares an HTML "referrerpolicy" attribute
only applies to A <a>, Img <img>, IFrame <iframe>, Script <script> & Link <link> elements
func Rel ¶
Rel declares an HTML "rel" attribute
only applies to A <a>, Area <area>, Link <link> & Form <form> elements
func Required ¶
Required declares an HTML "required" boolean attribute
only applies to Input <input>, Select <select> and Textarea <textarea> elements
func Reversed ¶
Reversed declares an HTML "reversed" boolean attribute
only applies to Ol <ol> element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol
func RowSpan ¶
RowSpan declares an HTML "rowspan" attribute
only applies to Td <td> & Th <th> elements
func Rows ¶
Rows declares an HTML "rows" attribute
only applies to Textarea <textarea> element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea
func Rp ¶ added in v1.2.3
Rp declares a <rp> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rp
func Rt ¶ added in v1.2.3
Rt declares a <rt> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rt
func Ruby ¶ added in v1.2.3
Ruby declares a <ruby> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ruby
func S ¶
S declares an <s> HTML element (strikethrough)
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/s
func Samp ¶
Samp declares a <samp> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/samp
func Script ¶
Script declares a <script> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script
func Search ¶ added in v1.2.3
Search declares a <search> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/search
func Section ¶
Section declares a <section> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/section
func Select ¶
Select declares a <select> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select
func Selected ¶
Selected declares an HTML "selected" boolean attribute
only applies to Option <option> element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option
func Slot ¶
Slot declares a <slot> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/slot
func SlotAttr ¶
SlotAttr declares an HTML "slot" attribute
global attribute - applies to any element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/slot
func Small ¶
Small declares a <small> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/small
func Source ¶
Source declares a <source> HTML element
As <source> is a void element - any non-attribute contents are ignored
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source
func Span ¶
Span declares a <span> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span
func Spellcheck ¶
Spellcheck declares an HTML "spellcheck" boolean attribute
global attribute - applies to any element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck
func Src ¶
Src declares an HTML "src" attribute
only applies to Img <img>, Audio <audio>, Video <video>, IFrame <iframe>, Script <script>, Source <source> & <frame> elements
func SrcSet ¶
SrcSet declares an HTML "srcset" attribute
only applies to Img <img> element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img
func Step ¶
Step declares an HTML "step" attribute
only applies to Input <input type="number"> & <input type="range"> elements
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input
func Strong ¶
Strong declares a <strong> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/strong
func Style ¶
Style declares an HTML "style" attribute
Use multiple Style() declarations on a single element - the values are joined into one "style" attribute delimited with "; "
global attribute - applies to any element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/style
func StyleElement ¶
StyleElement declares a <style> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style
func Sub ¶
Sub declares a <sub> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sub
func Summary ¶
Summary declares a <summary> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/summary
func Sup ¶
Sup declares a <sup> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sup
func TBody ¶
TBody declares a <tbody> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody
func TFoot ¶
TFoot declares a <tfoot> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tfoot
func THead ¶
THead declares a <thead> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead
func TabIndex ¶
TabIndex declares an HTML "tabindex" attribute
global attribute - applies to any element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex
func Table ¶
Table declares a <table> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table
func Target ¶
Target declares an HTML "target" attribute
only applies to A <a> & Form <form> elements
func Td ¶
Td declares a <td> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td
func Template ¶
Template declares a <template> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template
func Textarea ¶
Textarea declares a <textarea> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea
func Th ¶
Th declares a <th> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th
func Time ¶
Time declares a <time> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time
func Title ¶
Title declares an HTML "title" attribute
global attribute - applies to any element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/title
func TitleElement ¶
TitleElement declares a <title> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title
func Tr ¶
Tr declares a <tr> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr
func Track ¶ added in v1.2.3
Track declares a <track> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/track
func Translate ¶
Translate declares an HTML "translate" boolean attribute
global attribute - applies to any element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/translate
func Type ¶
Type declares an HTML "type" attribute
only applies to Input <input>, Button <button>, Script <script>, Style <style>, Form <form> & Source <source> elements
func U ¶
U declares a <u> HTML element (underline)
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/u
func Ul ¶
Ul declares a <ul> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul
func Value ¶
Value declares an HTML "value" attribute
only applies to Input <input>, Option <option> & Button <button> elements
func Var ¶
Var declares a <var> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/var
func Video ¶
Video declares a <video> HTML element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video
func Wbr ¶
Wbr declares a <wbr> HTML element
As <wbr> is a void element - any non-attribute contents are ignored
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/wbr
func Width ¶
Width declares an HTML "width" attribute
only applies to Img <img>, Video <video>, Canvas <canvas>, Table <table>, Input <input> & Textarea <textarea> elements
func WritingSuggestions ¶ added in v1.2.3
WritingSuggestions declares an HTML "writingsuggestions" attribute
global attribute - applies to any element
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/writingsuggestions
Types ¶
type DynamicValueFunc ¶
type DynamicValueFunc = aitch.DynamicValueFunc
DynamicValueFunc is a func that can be called to determine actual byte data to be written
A DynamicValueFunc is typically used as a content arg passed to an Attribute, Text, Comment, Fragment etc.
type DynamicValueKey ¶
type DynamicValueKey = aitch.DynamicValueKey
DynamicValueKey is a key into the context.Context.Data and is used to provide a dynamic value that is read from the context
A DynamicValueKey is typically used as a content arg passed to an Attribute, Text, Comment, Fragment etc.