html5

package
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2019 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

HTML5 specific documents, tags and formatters.

Index

Constants

This section is empty.

Variables

View Source
var Abbr elementBuilder = makeElementBuilder("abbr", html5)

Formatting Tags

View Source
var Acronym elementBuilder = makeElementBuilder("acronym", html5)
View Source
var Address elementBuilder = makeElementBuilder("address", html5)
View Source
var Area elementBuilder = makeElementBuilder("area", html5)

Embedded Content Tags

View Source
var Article elementBuilder = makeElementBuilder("article", html5)

Structural Tags

View Source
var Aside elementBuilder = makeElementBuilder("aside", html5)
View Source
var Audio elementBuilder = makeElementBuilder("audio", html5)
View Source
var B elementBuilder = makeElementBuilder("b", html5)
View Source
var BR elementBuilder = makeElementBuilder("br", closed)
View Source
var Base elementBuilder = makeElementBuilder("base", closed)

Meta Tags

View Source
var Bdi elementBuilder = makeElementBuilder("bdi", html5)
View Source
var Bdo elementBuilder = makeElementBuilder("bdo", html5)
View Source
var Big elementBuilder = makeElementBuilder("big", html5)
View Source
var BlockQuote elementBuilder = makeElementBuilder("blockquote", html5)
View Source
var Button elementBuilder = makeElementBuilder("button", html5)

Form Tags

View Source
var Canvas elementBuilder = makeElementBuilder("canvas", html5)
View Source
var Caption elementBuilder = makeElementBuilder("caption", html5)

Table Tags

View Source
var Cite elementBuilder = makeElementBuilder("cite", html5)
View Source
var Code elementBuilder = makeElementBuilder("code", html5)
View Source
var Col elementBuilder = makeElementBuilder("col", html5)
View Source
var Colgroup elementBuilder = makeElementBuilder("colgroup", html5)
View Source
var DD elementBuilder = makeElementBuilder("dd", html5)

List Tags

View Source
var DL elementBuilder = makeElementBuilder("dl", html5)
View Source
var DT elementBuilder = makeElementBuilder("dt", html5)
View Source
var DataList elementBuilder = makeElementBuilder("datalist", html5)
View Source
var Del elementBuilder = makeElementBuilder("del", html5)
View Source
var Details elementBuilder = makeElementBuilder("details", html5)
View Source
var Dfn elementBuilder = makeElementBuilder("dfn", html5)
View Source
var Dir elementBuilder = makeElementBuilder("dir", html5)
View Source
var Div elementBuilder = makeElementBuilder("div", html5)
View Source
var Em elementBuilder = makeElementBuilder("em", html5)
View Source
var Embed elementBuilder = makeElementBuilder("embed", html5)
View Source
var FieldSet elementBuilder = makeElementBuilder("fieldset", html5)
View Source
var FigCaption elementBuilder = makeElementBuilder("figcaption", html5)
View Source
var Figure elementBuilder = makeElementBuilder("figure", html5)
View Source
var Footer elementBuilder = makeElementBuilder("footer", html5)
View Source
var Form elementBuilder = makeElementBuilder("form", html5)
View Source
var Frame elementBuilder = makeElementBuilder("frame", html5)
View Source
var FrameSet elementBuilder = makeElementBuilder("frameset", html5)
View Source
var H1 elementBuilder = makeElementBuilder("h1", html5)
View Source
var H2 elementBuilder = makeElementBuilder("h2", html5)
View Source
var H3 elementBuilder = makeElementBuilder("h3", html5)
View Source
var H4 elementBuilder = makeElementBuilder("h4", html5)
View Source
var H5 elementBuilder = makeElementBuilder("h5", html5)
View Source
var H6 elementBuilder = makeElementBuilder("h6", html5)
View Source
var HGroup elementBuilder = makeElementBuilder("hgroup", html5)
View Source
var HR elementBuilder = makeElementBuilder("hr", closed)
View Source
var Header elementBuilder = makeElementBuilder("header", html5)
View Source
var I elementBuilder = makeElementBuilder("i", html5)
View Source
var IFrame elementBuilder = makeElementBuilder("iframe", html5)
View Source
var Img elementBuilder = makeElementBuilder("img", closed)
View Source
var Input elementBuilder = makeElementBuilder("input", closed)
View Source
var Ins elementBuilder = makeElementBuilder("ins", html5)
View Source
var Kbd elementBuilder = makeElementBuilder("kbd", html5)
View Source
var Keygen elementBuilder = makeElementBuilder("keygen", html5)
View Source
var LI elementBuilder = makeElementBuilder("li", html5)
View Source
var Label elementBuilder = makeElementBuilder("label", html5)
View Source
var Legend elementBuilder = makeElementBuilder("legend", html5)
View Source
var Link elementBuilder = makeElementBuilder("link", closed)
View Source
var Map elementBuilder = makeElementBuilder("map", html5)
View Source
var Mark elementBuilder = makeElementBuilder("mark", html5)
View Source
var Menu elementBuilder = makeElementBuilder("menu", html5)
View Source
var Meta elementBuilder = makeElementBuilder("meta", closed)
View Source
var Meter elementBuilder = makeElementBuilder("meter", html5)
View Source
var Nav elementBuilder = makeElementBuilder("nav", html5)
View Source
var NoFrames elementBuilder = makeElementBuilder("noframes", html5)
View Source
var NoScript elementBuilder = makeElementBuilder("noscript", html5)

Scripting Tags

View Source
var OL elementBuilder = makeElementBuilder("ol", html5)
View Source
var Object elementBuilder = makeElementBuilder("object", html5)
View Source
var OptGroup elementBuilder = makeElementBuilder("optgroup", html5)
View Source
var Option elementBuilder = makeElementBuilder("option", html5)
View Source
var Output elementBuilder = makeElementBuilder("output", html5)
View Source
var P elementBuilder = makeElementBuilder("p", html5)
View Source
var Param elementBuilder = makeElementBuilder("param", html5)
View Source
var Pre elementBuilder = makeElementBuilder("pre", html5)
View Source
var Progress elementBuilder = makeElementBuilder("progress", html5)
View Source
var Q elementBuilder = makeElementBuilder("q", html5)
View Source
var RP elementBuilder = makeElementBuilder("rp", html5)
View Source
var RT elementBuilder = makeElementBuilder("rt", html5)
View Source
var Ruby elementBuilder = makeElementBuilder("ruby", html5)
View Source
var Samp elementBuilder = makeElementBuilder("samp", html5)
View Source
var Script elementBuilder = makeElementBuilder("script", html5)
View Source
var Section elementBuilder = makeElementBuilder("section", html5)
View Source
var Select elementBuilder = makeElementBuilder("select", html5)
View Source
var Small elementBuilder = makeElementBuilder("small", html5)
View Source
var Source elementBuilder = makeElementBuilder("source", html5)
View Source
var Span elementBuilder = makeElementBuilder("span", html5)
View Source
var Strong elementBuilder = makeElementBuilder("strong", html5)
View Source
var Style elementBuilder = makeElementBuilder("style", html5)
View Source
var Sub elementBuilder = makeElementBuilder("sub", html5)
View Source
var Summary elementBuilder = makeElementBuilder("summary", html5)
View Source
var Sup elementBuilder = makeElementBuilder("sup", html5)
View Source
var TBody elementBuilder = makeElementBuilder("tbody", html5)
View Source
var TD elementBuilder = makeElementBuilder("td", html5)
View Source
var TFoot elementBuilder = makeElementBuilder("tfoot", html5)
View Source
var TH elementBuilder = makeElementBuilder("th", html5)
View Source
var THead elementBuilder = makeElementBuilder("thead", html5)
View Source
var TR elementBuilder = makeElementBuilder("tr", html5)
View Source
var TT elementBuilder = makeElementBuilder("tt", html5)
View Source
var Table elementBuilder = makeElementBuilder("table", html5)
View Source
var TextArea elementBuilder = makeElementBuilder("textarea", html5)
View Source
var Time elementBuilder = makeElementBuilder("time", html5)
View Source
var Title elementBuilder = makeElementBuilder("title", html5)
View Source
var UL elementBuilder = makeElementBuilder("ul", html5)
View Source
var Var elementBuilder = makeElementBuilder("var", html5)
View Source
var Video elementBuilder = makeElementBuilder("video", html5)
View Source
var WBR elementBuilder = makeElementBuilder("wbr", html5)

Functions

This section is empty.

Types

type AnchorElement

type AnchorElement struct {
	*els.Element
	// contains filtered or unexported fields
}

func A

func A(href string) *AnchorElement

func (*AnchorElement) SetHref

func (el *AnchorElement) SetHref(href string) *AnchorElement

type BodyElement

type BodyElement struct {
	*els.Element
}

func Body

func Body() *BodyElement

type HTML5Document

type HTML5Document struct {
	// contains filtered or unexported fields
}

func Document

func Document(title string, lang string) *HTML5Document

func (*HTML5Document) Copy added in v0.0.2

func (doc *HTML5Document) Copy() *HTML5Document

func (*HTML5Document) Doctype

func (doc *HTML5Document) Doctype() string

func (*HTML5Document) HTML

func (doc *HTML5Document) HTML() *HTMLElement

func (*HTML5Document) String

func (doc *HTML5Document) String() string

type HTML5Element

type HTML5Element struct {
	*els.Element
}

func NewHTML5Element

func NewHTML5Element(tag string, opts ...els.ElementOption) *HTML5Element

type HTMLElement

type HTMLElement struct {
	*els.Element
	// contains filtered or unexported fields
}

func HTML

func HTML(title string, lang string) *HTMLElement

func (*HTMLElement) Body added in v0.0.3

func (html *HTMLElement) Body() *BodyElement

func (*HTMLElement) Copy added in v0.0.2

func (html *HTMLElement) Copy() *HTMLElement

func (*HTMLElement) Head added in v0.0.3

func (html *HTMLElement) Head() *HeadElement

type HeadElement

type HeadElement struct {
	*els.Element
	// contains filtered or unexported fields
}
func Head(tstr string) *HeadElement

func (*HeadElement) Copy added in v0.0.4

func (head *HeadElement) Copy() *HeadElement

func (*HeadElement) Title added in v0.0.3

func (head *HeadElement) Title() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL