Versions in this module Expand all Collapse all v0 v0.1.0 Oct 22, 2025 Changes in this version + func A(children ...IsElement) *anchor + func Abbr(child *HtmlElement) *abbreviation + func Address(child ...IsElement) *address + func Area() *area + func Article(children ...IsElement) *article + func Aside(child ...IsElement) *aside + func Audio(child ...IsElement) *audio + func B(child *HtmlElement) *bold + func Base() *base + func Bdi(child *HtmlElement) *bdi + func Bdo() *bdo + func Blockquote(child ...IsElement) *blockquote + func Body(children ...IsElement) *body + func Br() *br + func Button(children ...IsElement) *button + func Canvas(message string) *canvas + func Caption(child *HtmlElement) *caption + func Cite(child *HtmlElement) *cite + func Code(child *HtmlElement) *code + func Col(child *HtmlElement) *col + func ColGroup(child *HtmlElement) *colgroup + func Data(child *HtmlElement) *data + func DataList(child *HtmlElement) *datalist + func Dd(child *HtmlElement) *dd + func Del(child *HtmlElement) *del + func Details(children ...IsElement) *details + func Dfn(child *HtmlElement) *dfn + func Dialog(child *HtmlElement) *dialog + func Div(children ...IsElement) *div + func Dl(children ...IsElement) *dl + func Dt(children IsElement) *dt + func Em(children IsElement) *em + func FieldSet(children ...IsElement) *fieldset + func FigCaption(children IsElement) *figcaption + func Figure(children ...IsElement) *figure + func Footer(children ...IsElement) *footer + func Form(children ...IsForm) *form + func Fragment(children ...IsElement) *fragmentElement + func H1(children ...IsElement) *heading + func H2(children ...IsElement) *heading + func H3(children ...IsElement) *heading + func H4(children ...IsElement) *heading + func H5(children ...IsElement) *heading + func H6(children ...IsElement) *heading + func HGroup(children ...IsElement) *hgroup + func Head(children ...IsHeadElement) *head + func Header(children ...IsElement) *header + func Hr() *hr + func Html(children ...IsElement) *htmlTag + func I(children IsElement) *i + func Iframe() *iframe + func Img(children IsElement) *img + func Input() *input + func Ins(children IsElement) *ins + func Kbd(children IsElement) *kbd + func Label(children IsElement) *label + func Legend(children IsElement) *legend + func Li(children ...IsElement) *li + func Link() *link + func Main(children ...IsElement) *main + func Map(children ...IsElement) *mapElement + func Mark(children IsElement) *mark + func Menu(children IsElement) *menu + func Meta() *meta + func Meter(children IsElement) *meter + func Nav(children ...IsElement) *nav + func NoScript(children IsElement) *noscript + func Object(children IsElement) *object + func Ol(children ...IsElement) *ol + func OptGroup(children ...IsElement) *optgroup + func Option(children ...IsElement) *option + func Output(children ...IsElement) *output + func P(children ...IsElement) *p + func Param() *param + func Picture(children ...IsElement) *picture + func Pre(children IsElement) *pre + func Progress(children IsElement) *progress + func Q(children IsElement) *q + func Rp(children IsElement) *rp + func Rt(children IsElement) *rt + func Ruby(children ...IsElement) *ruby + func S(children IsElement) *s + func Samp(children ...IsElement) *samp + func Script() *script + func Search(children ...IsElement) *search + func Section(children ...IsElement) *section + func Select(children ...IsElement) *selectEl + func Small(children ...IsElement) *small + func Source() *source + func Span(children ...IsElement) *span + func Strong(children ...IsElement) *strong + func Style(text string) *styl + func Sub(children ...IsElement) *sub + func Summary(children ...IsElement) *summary + func Sup(children ...IsElement) *sup + func Svg() *svg + func SvgString(svgString string) (s *svg, err error) + func TBody(children ...IsElement) *tbody + func TFoot(children ...IsElement) *tfoot + func THead(children ...IsElement) *thead + func Table(children ...IsElement) *table + func Td(children ...IsElement) *td + func Template(children ...IsElement) *template + func TextArea(children ...IsElement) *textarea + func Th(children ...IsElement) *th + func Time(children ...IsElement) *timeEl + func Title(text string) *title + func Tr(children ...IsElement) *tr + func Track(children ...IsElement) *track + func U(children ...IsElement) *uEl + func Ul(children ...IsElement) *ul + func Var(children ...IsElement) *varEl + func Video(children ...IsElement) *video + func Wbr(children ...IsElement) *wbr + type AnchorRel string + const Alternate + const Author + const Bookmark + const External + const Help + const License + const Next + const Nofollow + const Noopener + const Noreferrer + const Prev + const SearchRel + const Tag + type AnchorTarget string + const TargetBlank + const TargetParent + const TargetSelf + const TargetTop + type AreaShape string + const AreaShapeCircle + const AreaShapeDefault + const AreaShapePoly + const AreaShapeRect + type AudioPreload string + const AudioPreloadAuto + const AudioPreloadMetadata + const AudioPreloadNone + type AutoComplete bool + func (m AutoComplete) String() string + type ButtonType string + const ButtonTypeButton + const ButtonTypeReset + const ButtonTypeSubmit + type CrossOrigin string + const CrossOriginAnonymous + const CrossOriginUseCredentials + type Direction string + const DirectionAuto + const DirectionLtr + const DirectionRtl + type EncType string + const MultiPartFormData + const TextPlainEncoding + const XWWWFormUrlEncoded + type FormMethod string + const DialogFormMethod + const GetFormMethod + const PostFormMethod + type FormMinMaxValue int + func (i FormMinMaxValue) String() string + type FormRel string + const FormRelExternal + const FormRelHelp + const FormRelLicense + const FormRelNext + const FormRelNoOpener + const FormRelNoReferrer + const FormRelNofollow + const FormRelOpener + const FormRelPrev + const FormRelSearch + type FormTarget string + const FormTargetBlank + const FormTargetParent + const FormTargetSelf + const FormTargetTop + type HtmlElement struct + func CreateElementByNode(node *html.Node) *HtmlElement + func Element(el IsElement) *HtmlElement + func Text(text string) *HtmlElement + func (e *HtmlElement) AccessKey(character string) *HtmlElement + func (e *HtmlElement) AddAttribute(key string, value string) + func (e *HtmlElement) AddAttributeBool(key string) + func (e *HtmlElement) Aria(aria string, value string) *HtmlElement + func (e *HtmlElement) As(element IsElement) *HtmlElement + func (e *HtmlElement) CSSProperty(key string, value string) *HtmlElement + func (e *HtmlElement) ChangeTagName(tagName string) *html.Node + func (e *HtmlElement) Children(children ...IsElement) *HtmlElement + func (e *HtmlElement) Class(classnames ...string) *HtmlElement + func (e *HtmlElement) ClassName() string + func (e *HtmlElement) ContentEditable(editable bool) *HtmlElement + func (e *HtmlElement) Data(name string, value string) *HtmlElement + func (e *HtmlElement) Dir(dir Direction) *HtmlElement + func (e *HtmlElement) Draggable(draggable bool) *HtmlElement + func (e *HtmlElement) Element() *HtmlElement + func (e *HtmlElement) EnterKeyHint(hint KeyHint) *HtmlElement + func (e *HtmlElement) GetAttribute(key string) string + func (e *HtmlElement) GetData(key string) string + func (e *HtmlElement) GetNode() *html.Node + func (e *HtmlElement) Hidden() *HtmlElement + func (e *HtmlElement) Id(id string) *HtmlElement + func (e *HtmlElement) Inert() *HtmlElement + func (e *HtmlElement) InputMode(mode InputMode) *HtmlElement + func (e *HtmlElement) Lang(langcode LanguageCode) *HtmlElement + func (e *HtmlElement) Popover() *HtmlElement + func (e *HtmlElement) PreferredClassName(className string) *HtmlElement + func (e *HtmlElement) PrefixCss(prefixCss string) *HtmlElement + func (e *HtmlElement) Render() string + func (e *HtmlElement) Role(role string) *HtmlElement + func (e *HtmlElement) Spellcheck(check bool) *HtmlElement + func (e *HtmlElement) Style(props ...styles.ApplyProp) *HtmlElement + func (e *HtmlElement) TabIndex(number int) *HtmlElement + func (e *HtmlElement) Title(text string) *HtmlElement + func (e *HtmlElement) Translate(translate TranslateOptions) *HtmlElement + type HttpEquiv string + const ContentSecurityPolicy + const ContentType + const DefaultStyle + const OriginTrial + const Refresh + const XUACompatible + type IframeReferrerPolicy string + const IframeReferrerPolicyNoReferrer + const IframeReferrerPolicyNoReferrerWhenDowngrade + const IframeReferrerPolicyOrigin + const IframeReferrerPolicyOriginWhenCrossOrigin + const IframeReferrerPolicySameOrigin + const IframeReferrerPolicyStrictOrigin + const IframeReferrerPolicyStrictOriginWhenCrossOrigin + const IframeReferrerPolicyUnsafeUrl + type IframeSandbox string + const IframeSandboxAllowForms + const IframeSandboxAllowModals + const IframeSandboxAllowOrientationLock + const IframeSandboxAllowPointerLock + const IframeSandboxAllowPopups + const IframeSandboxAllowPopupsToEscapeSandbox + const IframeSandboxAllowPresentation + const IframeSandboxAllowSameOrigin + const IframeSandboxAllowScripts + const IframeSandboxAllowTopNavigation + const IframeSandboxAllowTopNavigationByUserActivation + type ImageReferrerPolicy string + const ImageNoReferrer + const ImageNoReferrerWhenDowngrade + const ImageReferrerOrigin + const ImageReferrerOriginWhenCrossOrigin + const ImageUnsafeUrl + type InputAccept string + const InputAudio + const InputImage + const InputVideo + func (InputAccept) IsInputAccept() + type InputAutoCompleteValue string + const InputAutoCompleteAdditionalName + const InputAutoCompleteAddressLevel1 + const InputAutoCompleteAddressLevel2 + const InputAutoCompleteAddressLevel3 + const InputAutoCompleteAddressLevel4 + const InputAutoCompleteAddressLine1 + const InputAutoCompleteAddressLine2 + const InputAutoCompleteAddressLine3 + const InputAutoCompleteBirthday + const InputAutoCompleteBirthdayDay + const InputAutoCompleteBirthdayMonth + const InputAutoCompleteBirthdayYear + const InputAutoCompleteCountry + const InputAutoCompleteCountryName + const InputAutoCompleteCreditCardAdditionalName + const InputAutoCompleteCreditCardCvc + const InputAutoCompleteCreditCardExpired + const InputAutoCompleteCreditCardExpiredMonth + const InputAutoCompleteCreditCardExpiredYear + const InputAutoCompleteCreditCardFamilyName + const InputAutoCompleteCreditCardGivenName + const InputAutoCompleteCreditCardName + const InputAutoCompleteCreditCardNumber + const InputAutoCompleteCreditCardType + const InputAutoCompleteCurrentPassword + const InputAutoCompleteEmail + const InputAutoCompleteFamilyName + const InputAutoCompleteGivenName + const InputAutoCompleteHonoricPrefix + const InputAutoCompleteHonoricSuffix + const InputAutoCompleteInstantMessagingProtocol + const InputAutoCompleteLanguage + const InputAutoCompleteName + const InputAutoCompleteNewPassword + const InputAutoCompleteNickname + const InputAutoCompleteOff + const InputAutoCompleteOn + const InputAutoCompleteOneTimeCode + const InputAutoCompleteOrganization + const InputAutoCompleteOrganizationTitle + const InputAutoCompletePhoto + const InputAutoCompletePostalCode + const InputAutoCompleteSex + const InputAutoCompleteStreetAddress + const InputAutoCompleteTelephone + const InputAutoCompleteTelephoneAreaCode + const InputAutoCompleteTelephoneCountryCode + const InputAutoCompleteTelephoneExtension + const InputAutoCompleteTelephoneLocal + const InputAutoCompleteTelephoneLocalPrefix + const InputAutoCompleteTelephoneLocalSuffix + const InputAutoCompleteTelephoneNational + const InputAutoCompleteTransactionAmount + const InputAutoCompleteTransactionCurrency + const InputAutoCompleteUrl + const InputAutoCompleteUsername + type InputFileExtension string + func (InputFileExtension) IsInputAccept() + type InputMediaType string + func (InputMediaType) IsInputAccept() + type InputMode string + const InputModeDecimal + const InputModeEmail + const InputModeNone + const InputModeNumeric + const InputModeSearch + const InputModeTel + const InputModeText + const InputModeUrl + type InputType string + const ButtonInputType + const CheckboxInputType + const ColorInputType + const DateInputType + const DateTimeLocalInputType + const EmailInputType + const FileInputType + const HiddenInputType + const ImageInputType + const MonthInputType + const NumberInputType + const PasswordInputType + const RadioInputType + const RangeInputType + const ResetInputType + const SearchInputType + const SubmitInputType + const TelInputType + const TextInputType + const TimeInputType + const UrlInputType + const WeekInputType + type IsElement interface + Element func() *HtmlElement + type IsForm interface + Element func() *HtmlElement + IsFormElement func() + Render func() string + type IsHeadElement interface + Element func() *HtmlElement + InsideHead func() + type KeyHint string + const KeyHintDone + const KeyHintEnter + const KeyHintGo + const KeyHintNext + const KeyHintPrevious + const KeyHintSearch + const KeyHintSend + type LanguageCode string + const LangAbkhazian + const LangAfaanOromo + const LangAfar + const LangAfrikaans + const LangAkan + const LangAlbanian + const LangAmharic + const LangArabic + const LangAragonese + const LangArmenian + const LangAssamese + const LangAvaric + const LangAvestan + const LangAymara + const LangAzerbaijani + const LangBambara + const LangBangla + const LangBashkir + const LangBasque + const LangBelarusian + const LangBengali + const LangBihari + const LangBislama + const LangBosnian + const LangBreton + const LangBulgarian + const LangBurmese + const LangCatalan + const LangChamorro + const LangChechen + const LangChewa + const LangChichewa + const LangChinese + const LangChineseSimplified + const LangChineseTraditional + const LangChuang + const LangChuvash + const LangCornish + const LangCorsican + const LangCree + const LangCroatian + const LangCzech + const LangDanish + const LangDhivehi + const LangDivehi + const LangDutch + const LangDzongkha + const LangEastern + const LangEnglish + const LangEsperanto + const LangEstonian + const LangEwe + const LangFaroese + const LangFarsi + const LangFijian + const LangFinnish + const LangFrench + const LangFula + const LangFulah + const LangGaelicManx + const LangGaelicScottish + const LangGalician + const LangGanda + const LangGeorgian + const LangGerman + const LangGreek + const LangGreenlandic + const LangGuarani + const LangGujarati + const LangHaitianCreole + const LangHausa + const LangHebrew + const LangHerero + const LangHindi + const LangHiriMotu + const LangHungarian + const LangIcelandic + const LangIdo + const LangIgbo + const LangIndonesian + const LangInterlingua + const LangInterlingue + const LangInuktitut + const LangInupiak + const LangIrish + const LangItalian + const LangJapanese + const LangJavanese + const LangKalaallisut + const LangKannada + const LangKanuri + const LangKashmiri + const LangKazakh + const LangKhmer + const LangKikuyu + const LangKinyarwanda + const LangKirundi + const LangKiswahili + const LangKomi + const LangKongo + const LangKorean + const LangKurdish + const LangKwanyama + const LangKyrgyz + const LangLao + const LangLatin + const LangLatvian + const LangLettish + const LangLimburger + const LangLimburgish + const LangLingala + const LangLithuanian + const LangLugaKatanga + const LangLuganda + const LangLuxembourgish + const LangMacedonian + const LangMalagasy + const LangMalay + const LangMalayalam + const LangMaldivian + const LangMaltese + const LangManx + const LangMaori + const LangMarathi + const LangMarshallese + const LangMoldavian + const LangMongolian + const LangNauru + const LangNavajo + const LangNdonga + const LangNepali + const LangNorthernNdebele + const LangNorwegian + const LangNorwegianBokmal + const LangNorwegianNynorsk + const LangNuosu + const LangNyanja + const LangOccitan + const LangOjibwe + const LangOldBulgarian + const LangOldChurchSlavonic + const LangOriya + const LangOromo + const LangOssetian + const LangPashto + const LangPersian + const LangPolish + const LangPortuguese + const LangPulaar + const LangPular + const LangPunjabi + const LangPushto + const LangPāli + const LangQuechua + const LangRomanian + const LangRomansh + const LangRussian + const LangRwanda + const LangSami + const LangSamoan + const LangSango + const LangSanskrit + const LangSerbian + const LangSerboCroatian + const LangSesotho + const LangSetswana + const LangShona + const LangSichuanYi + const LangSindhi + const LangSinhalese + const LangSiswati + const LangSlovak + const LangSlovenian + const LangSomali + const LangSouthernNdebele + const LangSpanish + const LangSundanese + const LangSwahili + const LangSwati + const LangSwedish + const LangTagalog + const LangTahitian + const LangTajik + const LangTamil + const LangTatar + const LangTelugu + const LangThai + const LangTibetan + const LangTigrinya + const LangTonga + const LangTsonga + const LangTurkish + const LangTurkmen + const LangTwi + const LangUkrainian + const LangUrdu + const LangUyghur + const LangUzbek + const LangVenda + const LangVietnamese + const LangVolapük + const LangWallon + const LangWelsh + const LangWesternFrisian + const LangWolof + const LangXhosa + const LangYiddish + const LangYoruba + const LangZhuang + const LangZulu + type LinkRelationship string + const RelAlternate + const RelAuthor + const RelDnsPrefetch + const RelHelp + const RelIcon + const RelLicense + const RelNext + const RelPingback + const RelPreconnect + const RelPrefetch + const RelPreload + const RelPrerender + const RelPrev + const RelSearch + const RelStylesheet + type Loading string + const LoadingEager + const LoadingLazy + type MetaName string + const MetaNameApplicationName + const MetaNameAuthor + const MetaNameDescription + const MetaNameGenerator + const MetaNameGoogleSiteVerification + const MetaNameKeywords + const MetaNameReferrer + const MetaNameRobots + const MetaNameThemeColor + const MetaNameViewport + type PopoverTargetAction string + const PopoverTargetActionHide + const PopoverTargetActionShow + const PopoverTargetActionToggle + type RefererPolicy string + const RefererPolicyNoReferer + const RefererPolicyNoRefererWhenDowngrade + const RefererPolicyOrigin + const RefererPolicyOriginWhenCrossOrigin + const RefererPolicySameOrigin + const RefererPolicyStrictOriginWhenCrossOrigin + const RefererPolicyUnsafeUrl + type TargetAction string + const TargetActionHide + const TargetActionShow + const TargetActionToggle + type TextAreaWrap string + const TextAreaWrapHard + const TextAreaWrapSoft + type ThScope string + const ScopeCol + const ScopeColGrp + const ScopeRow + const ScopeRowGrp + type TrackKind string + const TrackKindCaptions + const TrackKindChapters + const TrackKindDescriptions + const TrackKindMetadata + const TrackKindSubtitles + type TranslateOptions string + const TranslateNo + const TranslateYes + type VideoPreload string + const VideoPreloadAuto + const VideoPreloadMetadata + const VideoPreloadNone Other modules containing this package github.com/raitucarp/gomix