app

package
Version: v8.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2021 License: MIT Imports: 25 Imported by: 8

Documentation

Overview

Package app is a package to build progressive web apps (PWA) with Go programming language and WebAssembly. It uses a declarative syntax that allows creating and dealing with HTML elements only by using Go, and without writing any HTML markup. The package also provides an http.Handler ready to serve all the required resources to run Go-based progressive web apps.

Index

Constants

View Source
const (
	// IsClient reports whether the code is running as a client in the
	// WebAssembly binary (app.wasm).
	IsClient = runtime.GOARCH == "wasm" && runtime.GOOS == "js"

	// IsServer reports whether the code is running on a server for
	// pre-rendering purposes.
	IsServer = runtime.GOARCH != "wasm" || runtime.GOOS != "js"
)

Variables

View Source
var (
	// DefaultLogger is the logger used to log info and errors.
	DefaultLogger func(format string, v ...interface{})
)

Functions

func CopyBytesToGo

func CopyBytesToGo(dst []byte, src Value) int

CopyBytesToGo copies bytes from the Uint8Array src to dst. It returns the number of bytes copied, which will be the minimum of the lengths of src and dst.

CopyBytesToGo panics if src is not an Uint8Array.

func CopyBytesToJS

func CopyBytesToJS(dst Value, src []byte) int

CopyBytesToJS copies bytes from src to the Uint8Array dst. It returns the number of bytes copied, which will be the minimum of the lengths of src and dst.

CopyBytesToJS panics if dst is not an Uint8Array.

func GenerateStaticWebsite

func GenerateStaticWebsite(dir string, h *Handler, pages ...string) error

GenerateStaticWebsite generates the files to run a PWA built with go-app as a static website in the specified directory. Static websites can be used with hosts such as Github Pages.

Note that app.wasm must still be built separately and put into the web directory.

func Getenv

func Getenv(k string) string

Getenv retrieves the value of the environment variable named by the key. It returns the value, which will be empty if the variable is not present.

func HTMLString

func HTMLString(ui UI) string

HTMLString return an HTML string representation of the given UI element.

func HTMLStringWithIndent

func HTMLStringWithIndent(ui UI) string

HTMLStringWithIndent return an indented HTML string representation of the given UI element.

func KeepBodyClean

func KeepBodyClean() (close func())

KeepBodyClean prevents third-party Javascript libraries to add nodes to the body element.

func Log

func Log(v ...interface{})

Log logs using the default formats for its operands. Spaces are always added between operands.

func Logf

func Logf(format string, v ...interface{})

Logf logs according to a format specifier.

func PrintHTML

func PrintHTML(w io.Writer, ui UI)

PrintHTML writes an HTML representation of the UI element into the given writer.

func PrintHTMLWithIndent

func PrintHTMLWithIndent(w io.Writer, ui UI)

PrintHTMLWithIndent writes an idented HTML representation of the UI element into the given writer.

func Route

func Route(path string, c Composer)

Route associates the type of the given component to the given path.

When a page is requested and matches the route, a new instance of the given component is created before being displayed.

func RouteWithRegexp

func RouteWithRegexp(pattern string, c Composer)

RouteWithRegexp associates the type of the given component to the given regular expression pattern.

Patterns use the Go standard regexp format.

When a page is requested and matches the pattern, a new instance of the given component is created before being displayed.

func RunWhenOnBrowser

func RunWhenOnBrowser()

RunWhenOnBrowser starts the app, displaying the component associated with the current URL path.

This call is skipped when the program is not run on a web browser. This allows writing client and server-side code without separation or pre-compilation flags.

Eg:

 func main() {
		// Define app routes.
		app.Route("/", myComponent{})
		app.Route("/other-page", myOtherComponent{})

		// Run the application when on a web browser (only executed on client side).
		app.RunWhenOnBrowser()

		// Launch the server that serves the app (only executed on server side):
		http.Handle("/", &app.Handler{Name: "My app"})
		http.ListenAndServe(":8080", nil)
 }

func TestMatch

func TestMatch(tree UI, d TestUIDescriptor) error

TestMatch looks for the element targeted by the descriptor in the given tree and reports whether it matches with the expected element.

Eg:

tree := app.Div().Body(
    app.H2().Body(
        app.Text("foo"),
    ),
    app.P().Body(
        app.Text("bar"),
    ),
)

// Testing root:
err := app.TestMatch(tree, app.TestUIDescriptor{
    Path:     TestPath(),
    Expected: app.Div(),
})
// OK => err == nil

// Testing h2:
err := app.TestMatch(tree, app.TestUIDescriptor{
    Path:     TestPath(0),
    Expected: app.H3(),
})
// KO => err != nil because we ask h2 to match with h3

// Testing text from p:
err = app.TestMatch(tree, app.TestUIDescriptor{
    Path:     TestPath(1, 0),
    Expected: app.Text("bar"),
})
// OK => err == nil

func TestPath

func TestPath(p ...int) []int

TestPath is a helper function that returns a path to use in a TestUIDescriptor.

Types

type AppUpdater added in v8.1.0

type AppUpdater interface {
	// The function called when the application is updated. It is always called
	// on the UI goroutine.
	OnAppUpdate(Context)
}

AppUpdater is the interface that describes a component that is notified when the application is updated.

type BrowserStorage

type BrowserStorage interface {
	// Set sets the value to the given key. The value must be json convertible.
	Set(k string, v interface{}) error

	// Get gets the item associated to the given key and store it in the given
	// value.
	// It returns an error if v is not a pointer.
	Get(k string, v interface{}) error

	// Del deletes the item associated with the given key.
	Del(k string)

	// Len returns the number of items stored.
	Len() int

	// Key returns the key of the item associated to the given index.
	Key(i int) (string, error)

	// Clear deletes all items.
	Clear()
}

BrowserStorage is the interface that describes a web browser storage.

type BrowserWindow

type BrowserWindow interface {
	Value

	// The window current url (window.location.href).
	URL() *url.URL

	// The window size.
	Size() (w, h int)

	// The position of the cursor (mouse or touch).
	CursorPosition() (x, y int)

	// Returns the HTML element with the id property that matches the given id.
	GetElementByID(id string) Value

	// Scrolls to the HTML element with the given id.
	ScrollToID(id string)

	// AddEventListener subscribes a given handler to the specified event. It
	// returns a function that must be called to unsubscribe the handler and
	// release allocated resources.
	AddEventListener(event string, h EventHandler) func()
	// contains filtered or unexported methods
}

BrowserWindow is the interface that describes the browser window.

func Window

func Window() BrowserWindow

Window returns the JavaScript "window" object.

type ClientDispatcher

type ClientDispatcher interface {
	Dispatcher

	// Context returns the context associated with the root element.
	Context() Context

	// Consume executes all the remaining UI instructions.
	Consume()

	// Close consumes all the remaining UI instruction and releases allocated
	// resources.
	Close()

	// Mounts the given component as root element.
	Mount(UI)

	// Triggers OnNav from the root component.
	Nav(*url.URL)

	// Triggers OnAppUpdate from the root component.
	AppUpdate()

	// Triggers OnAppResize from the root component.
	AppResize()
}

ClientDispatcher is the interface that describes a dispatcher that emulates a client environment.

func NewClientTester

func NewClientTester(n UI) ClientDispatcher

NewClientTester creates a testing dispatcher that simulates a client environment. The given UI element is mounted upon creation.

type Compo

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

Compo represents the base struct to use in order to build a component.

func (*Compo) JSValue

func (c *Compo) JSValue() Value

JSValue returns the javascript value of the component root.

func (*Compo) Kind

func (c *Compo) Kind() Kind

Kind returns the ui element kind.

func (*Compo) Mounted

func (c *Compo) Mounted() bool

Mounted reports whether the component is mounted.

func (*Compo) Render

func (c *Compo) Render() UI

Render describes the component content. This is a default implementation to satisfy the app.Composer interface. It should be redefined when app.Compo is embedded.

func (*Compo) ResizeContent

func (c *Compo) ResizeContent()

ResizeContent triggers OnResize() on all the component children that implement the Resizer interface.

func (*Compo) Update

func (c *Compo) Update()

Update triggers a component appearance update. It should be called when a field used to render the component has been modified. Updates are always performed on the UI goroutine.

func (*Compo) ValueTo

func (c *Compo) ValueTo(v interface{}) EventHandler

ValueTo stores the value of the DOM element (if exists) that emitted an event into the given value.

The given value must be a pointer to a signed integer, unsigned integer, or a float.

It panics if the given value is not a pointer.

type Composer

type Composer interface {
	UI

	// Render returns the node tree that define how the component is desplayed.
	Render() UI

	// Update update the component appearance. It should be called when a field
	// used to render the component has been modified.
	Update()

	// ResizeContent triggers OnResize() on all the component children that
	// implement the Resizer interface.
	ResizeContent()

	// ValueTo stores the value of the DOM element (if exists) that emitted an
	// event into the given value.
	//
	// The given value must be a pointer to a signed integer, unsigned integer,
	// or a float.
	//
	// It panics if the given value is not a pointer.
	ValueTo(interface{}) EventHandler
	// contains filtered or unexported methods
}

Composer is the interface that describes a customized, independent and reusable UI element.

Satisfying this interface is done by embedding app.Compo into a struct and implementing the Render function.

Example:

type Hello struct {
    app.Compo
}

func (c *Hello) Render() app.UI {
    return app.Text("hello")
}

type Condition

type Condition interface {
	UI

	// ElseIf sets the condition with the given nodes if previous expressions
	// were not met and given expression is true.
	ElseIf(expr bool, elems ...UI) Condition

	// Else sets the condition with the given UI elements if previous
	// expressions were not met.
	Else(elems ...UI) Condition
}

Condition represents a control structure that displays nodes depending on a given expression.

func If

func If(expr bool, elems ...UI) Condition

If returns a condition that filters the given elements according to the given expression.

type Context

type Context struct {
	context.Context

	// The UI element tied to the context.
	Src UI

	// The JavaScript value of the element tied to the context. This is a
	// shorthand for:
	//  ctx.Src.JSValue()
	JSSrc Value

	// Reports whether the app has been updated in background. Use app.Reload()
	// to load the updated version.
	AppUpdateAvailable bool

	// The info about the current page.
	Page Page
	// contains filtered or unexported fields
}

Context represents a context that is tied to a UI element. It is canceled when the element is dismounted.

It implements the context.Context interface.

https://golang.org/pkg/context/#Context

func (Context) After added in v8.1.0

func (ctx Context) After(d time.Duration, fn func(Context))

After asynchronously waits for the given duration and dispatches the given function.

func (Context) Async

func (ctx Context) Async(fn func())

Async launches the given function on a new goroutine.

The difference versus just launching a goroutine is that it ensures that the asynchronous function is called before a page is fully pre-rendered and served over HTTP.

func (Context) Defer added in v8.1.0

func (ctx Context) Defer(fn func(Context))

Defer executes the given function on the UI goroutine after the context's source nearest parent component has been updated.

func (Context) Dispatch

func (ctx Context) Dispatch(fn func(Context))

Dispatch executes the given function on the UI goroutine, before updating the context's source nearest parent component.

func (Context) LocalStorage

func (ctx Context) LocalStorage() BrowserStorage

LocalStorage returns a storage that uses the browser local storage associated to the document origin. Data stored has no expiration time.

func (Context) Navigate

func (ctx Context) Navigate(rawURL string)

Navigate navigates to the given URL. This is a helper method that converts rawURL to an *url.URL and then calls ctx.NavigateTo under the hood.

func (Context) NavigateTo

func (ctx Context) NavigateTo(u *url.URL)

NavigateTo navigates to the given URL.

func (Context) Reload

func (ctx Context) Reload()

Reload reloads the WebAssembly app at the current page.

func (Context) ResolveStaticResource

func (ctx Context) ResolveStaticResource(path string) string

ResolveStaticResource resolves the given path to make it point to the right location whether static resources are located on a local directory or a remote bucket.

func (Context) ScrollTo

func (ctx Context) ScrollTo(id string)

ScrollTo scrolls to the HTML element with the given id.

func (Context) SessionStorage

func (ctx Context) SessionStorage() BrowserStorage

SessionStorage returns a storage that uses the browser session storage associated to the document origin. Data stored expire when the page session ends.

type Dismounter

type Dismounter interface {
	Composer

	// The function called when the component is dismounted. It is always called
	// on the UI goroutine.
	OnDismount()
}

Dismounter is the interface that describes a component that can perform additional actions when dismounted.

type Dispatcher

type Dispatcher interface {
	// Dispatch executes the given function on the UI goroutine, before updating
	// the source's nearest parent component.
	Dispatch(src UI, fn func(Context))

	// Defer executes the given function on the UI goroutine after the source's
	// nearest parent component has been updated.
	Defer(src UI, fn func(Context))

	// 	Async launches the given function on a new goroutine.
	//
	// The difference versus just launching a goroutine is that it ensures that
	// the asynchronous instructions are called before the dispatcher is closed.
	//
	// This is important during component prerendering since asynchronous
	// operations need to complete before sending a pre-rendered page over HTTP.
	Async(fn func())

	// Wait waits for the asynchronous operations launched with Async() to
	// complete.
	Wait()
	// contains filtered or unexported methods
}

Dispatcher is the interface that describes an environment that synchronizes UI instructions and UI elements lifecycle.

type Environment

type Environment map[string]string

Environment describes the environment variables to pass to the progressive web app.

type Event

type Event struct {
	Value
}

Event is the interface that describes a javascript event.

func (Event) PreventDefault

func (e Event) PreventDefault()

PreventDefault cancels the event if it is cancelable. The default action that belongs to the event will not occur.

type EventHandler

type EventHandler func(ctx Context, e Event)

EventHandler represents a function that can handle HTML events. They are always called on the UI goroutine.

type Func

type Func interface {
	Value

	// Release frees up resources allocated for the function. The function must
	// not be invoked after calling Release.
	Release()
}

Func is the interface that describes a wrapped Go function to be called by JavaScript.

func FuncOf

func FuncOf(fn func(this Value, args []Value) interface{}) Func

FuncOf returns a wrapped function.

Invoking the JavaScript function will synchronously call the Go function fn with the value of JavaScript's "this" keyword and the arguments of the invocation. The return value of the invocation is the result of the Go function mapped back to JavaScript according to ValueOf.

A wrapped function triggered during a call from Go to JavaScript gets executed on the same goroutine. A wrapped function triggered by JavaScript's event loop gets executed on an extra goroutine. Blocking operations in the wrapped function will block the event loop. As a consequence, if one wrapped function blocks, other wrapped funcs will not be processed. A blocking function should therefore explicitly start a new goroutine.

Func.Release must be called to free up resources when the function will not be used any more.

type HTMLA

type HTMLA interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLA

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLA

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLA

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLA

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLA

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLA

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLA

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLA

	// Download specifies that the target will be downloaded when a user clicks on the hyperlink.
	Download(v bool) HTMLA

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLA

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLA

	// Href specifies the URL of the page the link goes to.
	Href(v string) HTMLA

	// HrefLang specifies the language of the linked document.
	HrefLang(v string) HTMLA

	// ID specifies a unique id for an element.
	ID(v string) HTMLA

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLA

	// Media specifies what media/device the linked document is optimized for.
	Media(v string) HTMLA

	// Ping specifies a list of URLs to be notified if the user follows the hyperlink.
	Ping(v string) HTMLA

	// Rel specifies the relationship between the current document and the linked document.
	Rel(v string) HTMLA

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLA

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLA

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLA

	// Target specifies the target for where to open the linked document or where to submit the form.
	Target(v string) HTMLA

	// Title specifies extra information about an element.
	Title(v string) HTMLA

	// Type specifies the type of element.
	Type(v string) HTMLA

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLA

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLA

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLA

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLA

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLA

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLA

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLA

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLA

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLA

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLA

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLA

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLA

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLA

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLA

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLA

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLA

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLA

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLA

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLA

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLA

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLA

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLA

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLA

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLA

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLA

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLA

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLA

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLA

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLA

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLA

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLA

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLA
}

HTMLA is the interface that describes a <a> HTML element.

func A

func A() HTMLA

A returns an HTML element that defines a hyperlink.

type HTMLAbbr

type HTMLAbbr interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLAbbr

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLAbbr

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLAbbr

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLAbbr

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLAbbr

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLAbbr

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLAbbr

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLAbbr

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLAbbr

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLAbbr

	// ID specifies a unique id for an element.
	ID(v string) HTMLAbbr

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLAbbr

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLAbbr

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLAbbr

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLAbbr

	// Title specifies extra information about an element.
	Title(v string) HTMLAbbr

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLAbbr

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLAbbr

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLAbbr

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLAbbr

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLAbbr

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLAbbr

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLAbbr

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLAbbr

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLAbbr

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLAbbr

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLAbbr

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLAbbr

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLAbbr

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLAbbr

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLAbbr

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLAbbr

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLAbbr

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLAbbr

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLAbbr

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLAbbr

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLAbbr

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLAbbr

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLAbbr

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLAbbr

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLAbbr

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLAbbr

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLAbbr

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLAbbr

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLAbbr

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLAbbr

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLAbbr

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLAbbr
}

HTMLAbbr is the interface that describes a <abbr> HTML element.

func Abbr

func Abbr() HTMLAbbr

Abbr returns an HTML element that defines an abbreviation or an acronym.

type HTMLAddress

type HTMLAddress interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLAddress

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLAddress

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLAddress

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLAddress

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLAddress

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLAddress

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLAddress

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLAddress

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLAddress

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLAddress

	// ID specifies a unique id for an element.
	ID(v string) HTMLAddress

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLAddress

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLAddress

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLAddress

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLAddress

	// Title specifies extra information about an element.
	Title(v string) HTMLAddress

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLAddress

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLAddress

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLAddress

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLAddress

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLAddress

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLAddress

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLAddress

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLAddress

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLAddress

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLAddress

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLAddress

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLAddress

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLAddress

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLAddress

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLAddress

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLAddress

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLAddress

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLAddress

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLAddress

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLAddress

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLAddress

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLAddress

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLAddress

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLAddress

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLAddress

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLAddress

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLAddress

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLAddress

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLAddress

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLAddress

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLAddress

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLAddress
}

HTMLAddress is the interface that describes a <address> HTML element.

func Address

func Address() HTMLAddress

Address returns an HTML element that defines contact information for the author/owner of a document.

type HTMLArea

type HTMLArea interface {
	UI

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLArea

	// Alt specifies an alternate text when the original element fails to display.
	Alt(v string) HTMLArea

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLArea

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLArea

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLArea

	// Coords specifies the coordinates of the area.
	Coords(v string) HTMLArea

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLArea

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLArea

	// Download specifies that the target will be downloaded when a user clicks on the hyperlink.
	Download(v bool) HTMLArea

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLArea

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLArea

	// Href specifies the URL of the page the link goes to.
	Href(v string) HTMLArea

	// HrefLang specifies the language of the linked document.
	HrefLang(v string) HTMLArea

	// ID specifies a unique id for an element.
	ID(v string) HTMLArea

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLArea

	// Media specifies what media/device the linked document is optimized for.
	Media(v string) HTMLArea

	// Rel specifies the relationship between the current document and the linked document.
	Rel(v string) HTMLArea

	// Shape specifies the shape of the area.
	Shape(v string) HTMLArea

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLArea

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLArea

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLArea

	// Target specifies the target for where to open the linked document or where to submit the form.
	Target(v string) HTMLArea

	// Title specifies extra information about an element.
	Title(v string) HTMLArea

	// Type specifies the type of element.
	Type(v string) HTMLArea

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLArea

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLArea

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLArea

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLArea

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLArea

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLArea

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLArea

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLArea

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLArea

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLArea

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLArea

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLArea

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLArea

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLArea

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLArea

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLArea

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLArea

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLArea

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLArea

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLArea

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLArea

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLArea

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLArea

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLArea

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLArea

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLArea

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLArea

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLArea

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLArea

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLArea

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLArea

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLArea
}

HTMLArea is the interface that describes a <area> HTML element.

func Area

func Area() HTMLArea

Area returns an HTML element that defines an area inside an image-map.

type HTMLArticle

type HTMLArticle interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLArticle

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLArticle

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLArticle

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLArticle

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLArticle

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLArticle

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLArticle

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLArticle

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLArticle

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLArticle

	// ID specifies a unique id for an element.
	ID(v string) HTMLArticle

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLArticle

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLArticle

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLArticle

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLArticle

	// Title specifies extra information about an element.
	Title(v string) HTMLArticle

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLArticle

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLArticle

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLArticle

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLArticle

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLArticle

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLArticle

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLArticle

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLArticle

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLArticle

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLArticle

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLArticle

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLArticle

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLArticle

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLArticle

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLArticle

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLArticle

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLArticle

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLArticle

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLArticle

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLArticle

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLArticle

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLArticle

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLArticle

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLArticle

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLArticle

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLArticle

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLArticle

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLArticle

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLArticle

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLArticle

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLArticle

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLArticle
}

HTMLArticle is the interface that describes a <article> HTML element.

func Article

func Article() HTMLArticle

Article returns an HTML element that defines an article.

type HTMLAside

type HTMLAside interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLAside

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLAside

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLAside

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLAside

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLAside

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLAside

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLAside

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLAside

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLAside

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLAside

	// ID specifies a unique id for an element.
	ID(v string) HTMLAside

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLAside

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLAside

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLAside

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLAside

	// Title specifies extra information about an element.
	Title(v string) HTMLAside

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLAside

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLAside

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLAside

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLAside

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLAside

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLAside

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLAside

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLAside

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLAside

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLAside

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLAside

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLAside

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLAside

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLAside

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLAside

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLAside

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLAside

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLAside

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLAside

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLAside

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLAside

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLAside

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLAside

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLAside

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLAside

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLAside

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLAside

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLAside

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLAside

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLAside

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLAside

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLAside
}

HTMLAside is the interface that describes a <aside> HTML element.

func Aside

func Aside() HTMLAside

Aside returns an HTML element that defines content aside from the page content.

type HTMLAudio

type HTMLAudio interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLAudio

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLAudio

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLAudio

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLAudio

	// AutoPlay specifies that the audio/video will start playing as soon as it is ready.
	AutoPlay(v bool) HTMLAudio

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLAudio

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLAudio

	// Controls specifies that audio/video controls should be displayed (such as a play/pause button etc).
	Controls(v bool) HTMLAudio

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLAudio

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLAudio

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLAudio

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLAudio

	// ID specifies a unique id for an element.
	ID(v string) HTMLAudio

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLAudio

	// Loop specifies that the audio/video will start over again, every time it is finished.
	Loop(v bool) HTMLAudio

	// Muted specifies that the audio output of the video should be muted.
	Muted(v bool) HTMLAudio

	// Preload specifies if and how the author thinks the audio/video should be loaded when the page loads.
	Preload(v string) HTMLAudio

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLAudio

	// Src specifies the URL of the media file.
	Src(v string) HTMLAudio

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLAudio

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLAudio

	// Title specifies extra information about an element.
	Title(v string) HTMLAudio

	// OnAbort calls the given handler on abort.
	OnAbort(h EventHandler, scope ...interface{}) HTMLAudio

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLAudio

	// OnCanPlay calls the given handler when a file is ready to start playing (when it has buffered enough to begin).
	OnCanPlay(h EventHandler, scope ...interface{}) HTMLAudio

	// OnCanPlayThrough calls the given handler when a file can be played all the way to the end without pausing for buffering.
	OnCanPlayThrough(h EventHandler, scope ...interface{}) HTMLAudio

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLAudio

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLAudio

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLAudio

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLAudio

	// OnCueChange calls the given handler when the cue changes in a track element.
	OnCueChange(h EventHandler, scope ...interface{}) HTMLAudio

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLAudio

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLAudio

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLAudio

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLAudio

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLAudio

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLAudio

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLAudio

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLAudio

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLAudio

	// OnDurationChange calls the given handler when the length of the media changes.
	OnDurationChange(h EventHandler, scope ...interface{}) HTMLAudio

	// OnEmptied calls the given handler when something bad happens and the file is suddenly unavailable (like unexpectedly disconnects).
	OnEmptied(h EventHandler, scope ...interface{}) HTMLAudio

	// OnEnded calls the given handler when the media has reach the end.
	OnEnded(h EventHandler, scope ...interface{}) HTMLAudio

	// OnError calls the given handler when an error occurs.
	OnError(h EventHandler, scope ...interface{}) HTMLAudio

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLAudio

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLAudio

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLAudio

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLAudio

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLAudio

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLAudio

	// OnLoadStart calls the given handler just as the file begins to load before anything is actually loaded.
	OnLoadStart(h EventHandler, scope ...interface{}) HTMLAudio

	// OnLoadedData calls the given handler when media data is loaded.
	OnLoadedData(h EventHandler, scope ...interface{}) HTMLAudio

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLAudio

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLAudio

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLAudio

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLAudio

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLAudio

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLAudio

	// OnPause calls the given handler when the media is paused either by the user or programmatically.
	OnPause(h EventHandler, scope ...interface{}) HTMLAudio

	// OnPlay calls the given handler when the media is ready to start playing.
	OnPlay(h EventHandler, scope ...interface{}) HTMLAudio

	// OnPlaying calls the given handler when the media actually has started playing.
	OnPlaying(h EventHandler, scope ...interface{}) HTMLAudio

	// OnProgress calls the given handler when the browser is in the process of getting the media data.
	OnProgress(h EventHandler, scope ...interface{}) HTMLAudio

	// OnRateChange calls the given handler each time the playback rate changes (like when a user switches to a slow motion or fast forward mode).
	OnRateChange(h EventHandler, scope ...interface{}) HTMLAudio

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLAudio

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLAudio

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLAudio

	// OnSeeked calls the given handler when the seeking attribute is set to false indicating that seeking has ended.
	OnSeeked(h EventHandler, scope ...interface{}) HTMLAudio

	// OnSeeking calls the given handler when the seeking attribute is set to true indicating that seeking is active.
	OnSeeking(h EventHandler, scope ...interface{}) HTMLAudio

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLAudio

	// OnStalled calls the given handler when the browser is unable to fetch the media data for whatever reason.
	OnStalled(h EventHandler, scope ...interface{}) HTMLAudio

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLAudio

	// OnSuspend calls the given handler when fetching the media data is stopped before it is completely loaded for whatever reason.
	OnSuspend(h EventHandler, scope ...interface{}) HTMLAudio

	// OnTimeUpdate calls the given handler when the playing position has changed (like when the user fast forwards to a different point in the media).
	OnTimeUpdate(h EventHandler, scope ...interface{}) HTMLAudio

	// OnVolumeChange calls the given handler each time the volume is changed which (includes setting the volume to "mute").
	OnVolumeChange(h EventHandler, scope ...interface{}) HTMLAudio

	// OnWaiting calls the given handler when the media has paused but is expected to resume (like when the media pauses to buffer more data).
	OnWaiting(h EventHandler, scope ...interface{}) HTMLAudio

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLAudio

	// OnloadedMetaData calls the given handler when meta data (like dimensions and duration) are loaded.
	OnloadedMetaData(h EventHandler, scope ...interface{}) HTMLAudio
}

HTMLAudio is the interface that describes a <audio> HTML element.

func Audio

func Audio() HTMLAudio

Audio returns an HTML element that defines sound content.

type HTMLB

type HTMLB interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLB

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLB

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLB

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLB

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLB

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLB

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLB

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLB

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLB

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLB

	// ID specifies a unique id for an element.
	ID(v string) HTMLB

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLB

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLB

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLB

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLB

	// Title specifies extra information about an element.
	Title(v string) HTMLB

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLB

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLB

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLB

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLB

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLB

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLB

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLB

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLB

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLB

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLB

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLB

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLB

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLB

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLB

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLB

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLB

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLB

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLB

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLB

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLB

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLB

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLB

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLB

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLB

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLB

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLB

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLB

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLB

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLB

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLB

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLB

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLB
}

HTMLB is the interface that describes a <b> HTML element.

func B

func B() HTMLB

B returns an HTML element that defines bold text.

type HTMLBase

type HTMLBase interface {
	UI

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLBase

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLBase

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLBase

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLBase

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLBase

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLBase

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLBase

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLBase

	// Href specifies the URL of the page the link goes to.
	Href(v string) HTMLBase

	// ID specifies a unique id for an element.
	ID(v string) HTMLBase

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLBase

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLBase

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLBase

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLBase

	// Target specifies the target for where to open the linked document or where to submit the form.
	Target(v string) HTMLBase

	// Title specifies extra information about an element.
	Title(v string) HTMLBase

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLBase

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLBase

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLBase

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLBase

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLBase

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLBase

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLBase

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLBase

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLBase

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLBase

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLBase

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLBase

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLBase

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLBase

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLBase

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLBase

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLBase

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLBase

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLBase

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLBase

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLBase

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLBase

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLBase

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLBase

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLBase

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLBase

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLBase

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLBase

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLBase

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLBase

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLBase

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLBase
}

HTMLBase is the interface that describes a <base> HTML element.

func Base

func Base() HTMLBase

Base returns an HTML element that specifies the base URL/target for all relative URLs in a document.

type HTMLBdi

type HTMLBdi interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLBdi

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLBdi

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLBdi

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLBdi

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLBdi

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLBdi

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLBdi

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLBdi

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLBdi

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLBdi

	// ID specifies a unique id for an element.
	ID(v string) HTMLBdi

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLBdi

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLBdi

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLBdi

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLBdi

	// Title specifies extra information about an element.
	Title(v string) HTMLBdi

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLBdi

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLBdi

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLBdi

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLBdi

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLBdi

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLBdi

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLBdi

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLBdi

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLBdi

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLBdi

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLBdi

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLBdi

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLBdi

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLBdi

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLBdi

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLBdi

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLBdi

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLBdi

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLBdi

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLBdi

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLBdi

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLBdi

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLBdi

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLBdi

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLBdi

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLBdi

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLBdi

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLBdi

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLBdi

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLBdi

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLBdi

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLBdi
}

HTMLBdi is the interface that describes a <bdi> HTML element.

func Bdi

func Bdi() HTMLBdi

Bdi returns an HTML element that isolates a part of text that might be formatted in a different direction from other text outside it.

type HTMLBdo

type HTMLBdo interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLBdo

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLBdo

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLBdo

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLBdo

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLBdo

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLBdo

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLBdo

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLBdo

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLBdo

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLBdo

	// ID specifies a unique id for an element.
	ID(v string) HTMLBdo

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLBdo

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLBdo

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLBdo

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLBdo

	// Title specifies extra information about an element.
	Title(v string) HTMLBdo

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLBdo

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLBdo

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLBdo

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLBdo

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLBdo

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLBdo

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLBdo

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLBdo

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLBdo

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLBdo

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLBdo

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLBdo

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLBdo

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLBdo

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLBdo

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLBdo

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLBdo

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLBdo

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLBdo

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLBdo

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLBdo

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLBdo

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLBdo

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLBdo

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLBdo

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLBdo

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLBdo

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLBdo

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLBdo

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLBdo

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLBdo

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLBdo
}

HTMLBdo is the interface that describes a <bdo> HTML element.

func Bdo

func Bdo() HTMLBdo

Bdo returns an HTML element that overrides the current text direction.

type HTMLBlockquote

type HTMLBlockquote interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLBlockquote

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLBlockquote

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLBlockquote

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLBlockquote

	// Cite specifies a URL which explains the quote/deleted/inserted text.
	Cite(v string) HTMLBlockquote

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLBlockquote

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLBlockquote

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLBlockquote

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLBlockquote

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLBlockquote

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLBlockquote

	// ID specifies a unique id for an element.
	ID(v string) HTMLBlockquote

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLBlockquote

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLBlockquote

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLBlockquote

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLBlockquote

	// Title specifies extra information about an element.
	Title(v string) HTMLBlockquote

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLBlockquote

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLBlockquote

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLBlockquote

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLBlockquote

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLBlockquote

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLBlockquote

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLBlockquote

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLBlockquote

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLBlockquote

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLBlockquote

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLBlockquote

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLBlockquote

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLBlockquote

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLBlockquote

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLBlockquote

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLBlockquote

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLBlockquote

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLBlockquote

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLBlockquote

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLBlockquote

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLBlockquote

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLBlockquote

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLBlockquote

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLBlockquote

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLBlockquote

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLBlockquote

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLBlockquote

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLBlockquote

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLBlockquote

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLBlockquote

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLBlockquote

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLBlockquote
}

HTMLBlockquote is the interface that describes a <blockquote> HTML element.

func Blockquote

func Blockquote() HTMLBlockquote

Blockquote returns an HTML element that defines a section that is quoted from another source.

type HTMLBody

type HTMLBody interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLBody

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLBody

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLBody

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLBody

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLBody

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLBody

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLBody

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLBody

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLBody

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLBody

	// ID specifies a unique id for an element.
	ID(v string) HTMLBody

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLBody

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLBody

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLBody

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLBody

	// Title specifies extra information about an element.
	Title(v string) HTMLBody

	// OnAfterPrint runs the given handler after the document is printed.
	OnAfterPrint(h EventHandler, scope ...interface{}) HTMLBody

	// OnBeforePrint calls the given handler before the document is printed.
	OnBeforePrint(h EventHandler, scope ...interface{}) HTMLBody

	// OnBeforeUnload calls the given handler when the document is about to be unloaded.
	OnBeforeUnload(h EventHandler, scope ...interface{}) HTMLBody

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLBody

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLBody

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLBody

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLBody

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLBody

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLBody

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLBody

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLBody

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLBody

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLBody

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLBody

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLBody

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLBody

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLBody

	// OnError calls the given handler when an error occurs.
	OnError(h EventHandler, scope ...interface{}) HTMLBody

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLBody

	// OnHashChange calls the given handler when there has been changes to the anchor part of the a URL.
	OnHashChange(h EventHandler, scope ...interface{}) HTMLBody

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLBody

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLBody

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLBody

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLBody

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLBody

	// OnLoad calls the given handler after the element is finished loading.
	OnLoad(h EventHandler, scope ...interface{}) HTMLBody

	// OnMessage calls then given handler when a message is triggered.
	OnMessage(h EventHandler, scope ...interface{}) HTMLBody

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLBody

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLBody

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLBody

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLBody

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLBody

	// OnOffline calls the given handler when the browser starts to work offline.
	OnOffline(h EventHandler, scope ...interface{}) HTMLBody

	// OnOnline calls the given handler when the browser starts to work online.
	OnOnline(h EventHandler, scope ...interface{}) HTMLBody

	// OnPageHide calls the given handler when a user navigates away from a page.
	OnPageHide(h EventHandler, scope ...interface{}) HTMLBody

	// OnPageShow calls the given handler when a user navigates to a page.
	OnPageShow(h EventHandler, scope ...interface{}) HTMLBody

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLBody

	// OnPopState calls the given handler when the window's history changes.
	OnPopState(h EventHandler, scope ...interface{}) HTMLBody

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLBody

	// OnResize calls the given handler when the browser window is resized.
	OnResize(h EventHandler, scope ...interface{}) HTMLBody

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLBody

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLBody

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLBody

	// OnStorage calls the given handler when a Web Storage area is updated.
	OnStorage(h EventHandler, scope ...interface{}) HTMLBody

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLBody

	// OnUnload calls the given handler once a page has unloaded (or the browser window has been closed).
	OnUnload(h EventHandler, scope ...interface{}) HTMLBody

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLBody
}

HTMLBody is the interface that describes a <body> HTML element.

func Body

func Body() HTMLBody

Body returns an HTML element that defines the document's body.

type HTMLBr

type HTMLBr interface {
	UI

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLBr

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLBr

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLBr

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLBr

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLBr

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLBr

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLBr

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLBr

	// ID specifies a unique id for an element.
	ID(v string) HTMLBr

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLBr

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLBr

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLBr

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLBr

	// Title specifies extra information about an element.
	Title(v string) HTMLBr

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLBr

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLBr

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLBr

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLBr

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLBr

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLBr

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLBr

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLBr

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLBr

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLBr

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLBr

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLBr

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLBr

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLBr

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLBr

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLBr

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLBr

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLBr

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLBr

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLBr

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLBr

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLBr

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLBr

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLBr

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLBr

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLBr

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLBr

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLBr

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLBr

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLBr

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLBr

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLBr
}

HTMLBr is the interface that describes a <br> HTML element.

func Br

func Br() HTMLBr

Br returns an HTML element that defines a single line break.

type HTMLButton

type HTMLButton interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLButton

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLButton

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLButton

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLButton

	// AutoFocus specifies that the element should automatically get focus when the page loads.
	AutoFocus(v bool) HTMLButton

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLButton

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLButton

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLButton

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLButton

	// Disabled specifies that the specified element/group of elements should be disabled.
	Disabled(v bool) HTMLButton

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLButton

	// Form specifies the name of the form the element belongs to.
	Form(v string) HTMLButton

	// FormAction specifies where to send the form-data when a form is submitted. Only for submit type.
	FormAction(v string) HTMLButton

	// FormEncType specifies how form-data should be encoded before sending it to a server. Only for submit type.
	FormEncType(v string) HTMLButton

	// FormMethod specifies how to send the form-data (which HTTP method to use). Only for submit type.
	FormMethod(v string) HTMLButton

	// FormNoValidate specifies that the form-data should not be validated on submission. Only for submit type.
	FormNoValidate(v bool) HTMLButton

	// FormTarget specifies where to display the response after submitting the form. Only for submit type.
	FormTarget(v string) HTMLButton

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLButton

	// ID specifies a unique id for an element.
	ID(v string) HTMLButton

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLButton

	// Name specifies the name of the element.
	Name(v string) HTMLButton

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLButton

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLButton

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLButton

	// Title specifies extra information about an element.
	Title(v string) HTMLButton

	// Type specifies the type of element.
	Type(v string) HTMLButton

	// Value specifies the value of the element.
	Value(v interface{}) HTMLButton

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLButton

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLButton

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLButton

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLButton

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLButton

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLButton

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLButton

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLButton

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLButton

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLButton

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLButton

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLButton

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLButton

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLButton

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLButton

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLButton

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLButton

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLButton

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLButton

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLButton

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLButton

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLButton

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLButton

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLButton

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLButton

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLButton

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLButton

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLButton

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLButton

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLButton

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLButton

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLButton
}

HTMLButton is the interface that describes a <button> HTML element.

func Button

func Button() HTMLButton

Button returns an HTML element that defines a clickable button.

type HTMLCanvas

type HTMLCanvas interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLCanvas

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLCanvas

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLCanvas

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLCanvas

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLCanvas

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLCanvas

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLCanvas

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLCanvas

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLCanvas

	// Height specifies the height of the element (in pixels).
	Height(v int) HTMLCanvas

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLCanvas

	// ID specifies a unique id for an element.
	ID(v string) HTMLCanvas

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLCanvas

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLCanvas

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLCanvas

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLCanvas

	// Title specifies extra information about an element.
	Title(v string) HTMLCanvas

	// Width specifies the width of the element.
	Width(v int) HTMLCanvas

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLCanvas

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLCanvas

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLCanvas

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLCanvas

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLCanvas

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLCanvas

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLCanvas

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLCanvas

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLCanvas

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLCanvas

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLCanvas

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLCanvas

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLCanvas

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLCanvas

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLCanvas

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLCanvas

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLCanvas

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLCanvas

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLCanvas

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLCanvas

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLCanvas

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLCanvas

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLCanvas

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLCanvas

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLCanvas

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLCanvas

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLCanvas

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLCanvas

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLCanvas

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLCanvas

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLCanvas

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLCanvas
}

HTMLCanvas is the interface that describes a <canvas> HTML element.

func Canvas

func Canvas() HTMLCanvas

Canvas returns an HTML element that is used to draw graphics on the fly.

type HTMLCaption

type HTMLCaption interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLCaption

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLCaption

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLCaption

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLCaption

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLCaption

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLCaption

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLCaption

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLCaption

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLCaption

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLCaption

	// ID specifies a unique id for an element.
	ID(v string) HTMLCaption

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLCaption

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLCaption

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLCaption

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLCaption

	// Title specifies extra information about an element.
	Title(v string) HTMLCaption

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLCaption

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLCaption

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLCaption

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLCaption

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLCaption

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLCaption

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLCaption

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLCaption

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLCaption

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLCaption

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLCaption

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLCaption

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLCaption

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLCaption

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLCaption

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLCaption

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLCaption

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLCaption

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLCaption

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLCaption

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLCaption

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLCaption

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLCaption

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLCaption

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLCaption

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLCaption

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLCaption

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLCaption

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLCaption

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLCaption

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLCaption

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLCaption
}

HTMLCaption is the interface that describes a <caption> HTML element.

func Caption

func Caption() HTMLCaption

Caption returns an HTML element that defines a table caption.

type HTMLCite

type HTMLCite interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLCite

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLCite

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLCite

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLCite

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLCite

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLCite

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLCite

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLCite

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLCite

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLCite

	// ID specifies a unique id for an element.
	ID(v string) HTMLCite

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLCite

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLCite

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLCite

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLCite

	// Title specifies extra information about an element.
	Title(v string) HTMLCite

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLCite

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLCite

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLCite

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLCite

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLCite

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLCite

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLCite

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLCite

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLCite

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLCite

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLCite

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLCite

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLCite

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLCite

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLCite

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLCite

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLCite

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLCite

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLCite

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLCite

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLCite

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLCite

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLCite

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLCite

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLCite

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLCite

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLCite

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLCite

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLCite

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLCite

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLCite

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLCite
}

HTMLCite is the interface that describes a <cite> HTML element.

func Cite

func Cite() HTMLCite

Cite returns an HTML element that defines the title of a work.

type HTMLCode

type HTMLCode interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLCode

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLCode

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLCode

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLCode

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLCode

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLCode

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLCode

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLCode

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLCode

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLCode

	// ID specifies a unique id for an element.
	ID(v string) HTMLCode

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLCode

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLCode

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLCode

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLCode

	// Title specifies extra information about an element.
	Title(v string) HTMLCode

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLCode

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLCode

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLCode

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLCode

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLCode

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLCode

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLCode

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLCode

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLCode

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLCode

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLCode

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLCode

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLCode

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLCode

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLCode

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLCode

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLCode

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLCode

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLCode

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLCode

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLCode

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLCode

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLCode

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLCode

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLCode

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLCode

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLCode

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLCode

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLCode

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLCode

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLCode

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLCode
}

HTMLCode is the interface that describes a <code> HTML element.

func Code

func Code() HTMLCode

Code returns an HTML element that defines a piece of computer code.

type HTMLCol

type HTMLCol interface {
	UI

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLCol

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLCol

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLCol

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLCol

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLCol

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLCol

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLCol

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLCol

	// ID specifies a unique id for an element.
	ID(v string) HTMLCol

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLCol

	// Span specifies the number of columns to span.
	Span(v int) HTMLCol

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLCol

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLCol

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLCol

	// Title specifies extra information about an element.
	Title(v string) HTMLCol

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLCol

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLCol

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLCol

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLCol

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLCol

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLCol

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLCol

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLCol

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLCol

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLCol

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLCol

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLCol

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLCol

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLCol

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLCol

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLCol

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLCol

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLCol

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLCol

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLCol

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLCol

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLCol

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLCol

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLCol

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLCol

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLCol

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLCol

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLCol

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLCol

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLCol

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLCol

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLCol
}

HTMLCol is the interface that describes a <col> HTML element.

func Col

func Col() HTMLCol

Col returns an HTML element that specifies column properties for each column within a colgroup element.

type HTMLColGroup

type HTMLColGroup interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLColGroup

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLColGroup

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLColGroup

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLColGroup

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLColGroup

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLColGroup

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLColGroup

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLColGroup

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLColGroup

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLColGroup

	// ID specifies a unique id for an element.
	ID(v string) HTMLColGroup

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLColGroup

	// Span specifies the number of columns to span.
	Span(v int) HTMLColGroup

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLColGroup

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLColGroup

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLColGroup

	// Title specifies extra information about an element.
	Title(v string) HTMLColGroup

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLColGroup

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLColGroup

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLColGroup

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLColGroup

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLColGroup

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLColGroup

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLColGroup

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLColGroup

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLColGroup

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLColGroup

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLColGroup

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLColGroup

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLColGroup

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLColGroup

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLColGroup

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLColGroup

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLColGroup

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLColGroup

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLColGroup

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLColGroup

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLColGroup

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLColGroup

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLColGroup

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLColGroup

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLColGroup

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLColGroup

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLColGroup

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLColGroup

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLColGroup

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLColGroup

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLColGroup

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLColGroup
}

HTMLColGroup is the interface that describes a <colgroup> HTML element.

func ColGroup

func ColGroup() HTMLColGroup

ColGroup returns an HTML element that specifies a group of one or more columns in a table for formatting.

type HTMLData

type HTMLData interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLData

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLData

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLData

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLData

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLData

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLData

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLData

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLData

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLData

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLData

	// ID specifies a unique id for an element.
	ID(v string) HTMLData

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLData

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLData

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLData

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLData

	// Title specifies extra information about an element.
	Title(v string) HTMLData

	// Value specifies the value of the element.
	Value(v interface{}) HTMLData
}

HTMLData is the interface that describes a <data> HTML element.

func Data

func Data() HTMLData

Data returns an HTML element that links the given content with a machine-readable translation.

type HTMLDataList

type HTMLDataList interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLDataList

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLDataList

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLDataList

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLDataList

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLDataList

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLDataList

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLDataList

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLDataList

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLDataList

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLDataList

	// ID specifies a unique id for an element.
	ID(v string) HTMLDataList

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLDataList

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLDataList

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLDataList

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLDataList

	// Title specifies extra information about an element.
	Title(v string) HTMLDataList

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLDataList

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLDataList

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLDataList

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLDataList

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLDataList

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLDataList

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLDataList

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLDataList

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLDataList

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLDataList

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLDataList

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLDataList

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLDataList

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLDataList

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLDataList

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLDataList

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLDataList

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLDataList

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLDataList

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLDataList

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLDataList

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLDataList

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLDataList

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLDataList

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLDataList

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLDataList

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLDataList

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLDataList

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLDataList

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLDataList

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLDataList

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLDataList
}

HTMLDataList is the interface that describes a <datalist> HTML element.

func DataList

func DataList() HTMLDataList

DataList returns an HTML element that specifies a list of pre-defined options for input controls.

type HTMLDd

type HTMLDd interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLDd

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLDd

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLDd

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLDd

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLDd

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLDd

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLDd

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLDd

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLDd

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLDd

	// ID specifies a unique id for an element.
	ID(v string) HTMLDd

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLDd

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLDd

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLDd

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLDd

	// Title specifies extra information about an element.
	Title(v string) HTMLDd

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLDd

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLDd

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLDd

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLDd

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLDd

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLDd

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLDd

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLDd

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLDd

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLDd

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLDd

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLDd

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLDd

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLDd

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLDd

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLDd

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLDd

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLDd

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLDd

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLDd

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLDd

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLDd

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLDd

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLDd

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLDd

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLDd

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLDd

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLDd

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLDd

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLDd

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLDd

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLDd
}

HTMLDd is the interface that describes a <dd> HTML element.

func Dd

func Dd() HTMLDd

Dd returns an HTML element that defines a description/value of a term in a description list.

type HTMLDel

type HTMLDel interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLDel

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLDel

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLDel

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLDel

	// Cite specifies a URL which explains the quote/deleted/inserted text.
	Cite(v string) HTMLDel

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLDel

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLDel

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLDel

	// DateTime specifies the date and time.
	DateTime(v string) HTMLDel

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLDel

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLDel

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLDel

	// ID specifies a unique id for an element.
	ID(v string) HTMLDel

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLDel

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLDel

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLDel

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLDel

	// Title specifies extra information about an element.
	Title(v string) HTMLDel

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLDel

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLDel

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLDel

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLDel

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLDel

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLDel

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLDel

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLDel

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLDel

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLDel

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLDel

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLDel

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLDel

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLDel

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLDel

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLDel

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLDel

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLDel

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLDel

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLDel

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLDel

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLDel

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLDel

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLDel

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLDel

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLDel

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLDel

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLDel

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLDel

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLDel

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLDel

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLDel
}

HTMLDel is the interface that describes a <del> HTML element.

func Del

func Del() HTMLDel

Del returns an HTML element that defines text that has been deleted from a document.

type HTMLDetails

type HTMLDetails interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLDetails

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLDetails

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLDetails

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLDetails

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLDetails

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLDetails

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLDetails

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLDetails

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLDetails

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLDetails

	// ID specifies a unique id for an element.
	ID(v string) HTMLDetails

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLDetails

	// Open specifies that the details should be visible (open) to the user.
	Open(v bool) HTMLDetails

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLDetails

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLDetails

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLDetails

	// Title specifies extra information about an element.
	Title(v string) HTMLDetails

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLDetails

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLDetails

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLDetails

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLDetails

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLDetails

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLDetails

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLDetails

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLDetails

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLDetails

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLDetails

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLDetails

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLDetails

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLDetails

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLDetails

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLDetails

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLDetails

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLDetails

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLDetails

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLDetails

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLDetails

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLDetails

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLDetails

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLDetails

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLDetails

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLDetails

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLDetails

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLDetails

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLDetails

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLDetails

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLDetails

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLDetails

	// OnToggle calls the given handler when the user opens or closes the details element.
	OnToggle(h EventHandler, scope ...interface{}) HTMLDetails

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLDetails
}

HTMLDetails is the interface that describes a <details> HTML element.

func Details

func Details() HTMLDetails

Details returns an HTML element that defines additional details that the user can view or hide.

type HTMLDfn

type HTMLDfn interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLDfn

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLDfn

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLDfn

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLDfn

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLDfn

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLDfn

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLDfn

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLDfn

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLDfn

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLDfn

	// ID specifies a unique id for an element.
	ID(v string) HTMLDfn

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLDfn

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLDfn

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLDfn

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLDfn

	// Title specifies extra information about an element.
	Title(v string) HTMLDfn

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLDfn

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLDfn

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLDfn

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLDfn

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLDfn

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLDfn

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLDfn

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLDfn

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLDfn

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLDfn

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLDfn

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLDfn

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLDfn

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLDfn

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLDfn

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLDfn

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLDfn

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLDfn

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLDfn

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLDfn

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLDfn

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLDfn

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLDfn

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLDfn

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLDfn

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLDfn

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLDfn

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLDfn

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLDfn

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLDfn

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLDfn

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLDfn
}

HTMLDfn is the interface that describes a <dfn> HTML element.

func Dfn

func Dfn() HTMLDfn

Dfn returns an HTML element that represents the defining instance of a term.

type HTMLDialog

type HTMLDialog interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLDialog

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLDialog

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLDialog

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLDialog

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLDialog

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLDialog

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLDialog

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLDialog

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLDialog

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLDialog

	// ID specifies a unique id for an element.
	ID(v string) HTMLDialog

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLDialog

	// Open specifies that the details should be visible (open) to the user.
	Open(v bool) HTMLDialog

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLDialog

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLDialog

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLDialog

	// Title specifies extra information about an element.
	Title(v string) HTMLDialog

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLDialog

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLDialog

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLDialog

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLDialog

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLDialog

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLDialog

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLDialog

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLDialog

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLDialog

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLDialog

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLDialog

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLDialog

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLDialog

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLDialog

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLDialog

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLDialog

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLDialog

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLDialog

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLDialog

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLDialog

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLDialog

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLDialog

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLDialog

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLDialog

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLDialog

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLDialog

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLDialog

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLDialog

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLDialog

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLDialog

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLDialog

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLDialog
}

HTMLDialog is the interface that describes a <dialog> HTML element.

func Dialog

func Dialog() HTMLDialog

Dialog returns an HTML element that defines a dialog box or window.

type HTMLDiv

type HTMLDiv interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLDiv

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLDiv

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLDiv

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLDiv

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLDiv

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLDiv

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLDiv

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLDiv

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLDiv

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLDiv

	// ID specifies a unique id for an element.
	ID(v string) HTMLDiv

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLDiv

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLDiv

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLDiv

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLDiv

	// Title specifies extra information about an element.
	Title(v string) HTMLDiv

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLDiv

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLDiv

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLDiv

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLDiv

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLDiv

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLDiv

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLDiv

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLDiv

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLDiv

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLDiv

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLDiv

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLDiv

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLDiv

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLDiv

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLDiv

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLDiv

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLDiv

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLDiv

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLDiv

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLDiv

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLDiv

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLDiv

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLDiv

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLDiv

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLDiv

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLDiv

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLDiv

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLDiv

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLDiv

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLDiv

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLDiv

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLDiv
}

HTMLDiv is the interface that describes a <div> HTML element.

func Div

func Div() HTMLDiv

Div returns an HTML element that defines a section in a document.

type HTMLDl

type HTMLDl interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLDl

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLDl

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLDl

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLDl

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLDl

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLDl

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLDl

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLDl

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLDl

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLDl

	// ID specifies a unique id for an element.
	ID(v string) HTMLDl

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLDl

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLDl

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLDl

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLDl

	// Title specifies extra information about an element.
	Title(v string) HTMLDl

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLDl

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLDl

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLDl

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLDl

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLDl

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLDl

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLDl

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLDl

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLDl

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLDl

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLDl

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLDl

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLDl

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLDl

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLDl

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLDl

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLDl

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLDl

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLDl

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLDl

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLDl

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLDl

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLDl

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLDl

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLDl

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLDl

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLDl

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLDl

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLDl

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLDl

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLDl

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLDl
}

HTMLDl is the interface that describes a <dl> HTML element.

func Dl

func Dl() HTMLDl

Dl returns an HTML element that defines a description list.

type HTMLDt

type HTMLDt interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLDt

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLDt

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLDt

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLDt

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLDt

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLDt

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLDt

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLDt

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLDt

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLDt

	// ID specifies a unique id for an element.
	ID(v string) HTMLDt

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLDt

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLDt

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLDt

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLDt

	// Title specifies extra information about an element.
	Title(v string) HTMLDt

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLDt

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLDt

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLDt

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLDt

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLDt

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLDt

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLDt

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLDt

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLDt

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLDt

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLDt

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLDt

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLDt

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLDt

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLDt

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLDt

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLDt

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLDt

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLDt

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLDt

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLDt

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLDt

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLDt

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLDt

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLDt

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLDt

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLDt

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLDt

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLDt

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLDt

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLDt

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLDt
}

HTMLDt is the interface that describes a <dt> HTML element.

func Dt

func Dt() HTMLDt

Dt returns an HTML element that defines a term/name in a description list.

type HTMLEm

type HTMLEm interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLEm

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLEm

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLEm

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLEm

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLEm

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLEm

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLEm

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLEm

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLEm

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLEm

	// ID specifies a unique id for an element.
	ID(v string) HTMLEm

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLEm

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLEm

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLEm

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLEm

	// Title specifies extra information about an element.
	Title(v string) HTMLEm

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLEm

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLEm

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLEm

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLEm

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLEm

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLEm

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLEm

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLEm

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLEm

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLEm

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLEm

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLEm

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLEm

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLEm

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLEm

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLEm

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLEm

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLEm

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLEm

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLEm

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLEm

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLEm

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLEm

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLEm

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLEm

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLEm

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLEm

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLEm

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLEm

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLEm

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLEm

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLEm
}

HTMLEm is the interface that describes a <em> HTML element.

func Em

func Em() HTMLEm

Em returns an HTML element that defines emphasized text.

type HTMLEmbed

type HTMLEmbed interface {
	UI

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLEmbed

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLEmbed

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLEmbed

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLEmbed

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLEmbed

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLEmbed

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLEmbed

	// Height specifies the height of the element (in pixels).
	Height(v int) HTMLEmbed

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLEmbed

	// ID specifies a unique id for an element.
	ID(v string) HTMLEmbed

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLEmbed

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLEmbed

	// Src specifies the URL of the media file.
	Src(v string) HTMLEmbed

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLEmbed

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLEmbed

	// Title specifies extra information about an element.
	Title(v string) HTMLEmbed

	// Type specifies the type of element.
	Type(v string) HTMLEmbed

	// Width specifies the width of the element.
	Width(v int) HTMLEmbed

	// OnAbort calls the given handler on abort.
	OnAbort(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnCanPlay calls the given handler when a file is ready to start playing (when it has buffered enough to begin).
	OnCanPlay(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnCanPlayThrough calls the given handler when a file can be played all the way to the end without pausing for buffering.
	OnCanPlayThrough(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnCueChange calls the given handler when the cue changes in a track element.
	OnCueChange(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnDurationChange calls the given handler when the length of the media changes.
	OnDurationChange(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnEmptied calls the given handler when something bad happens and the file is suddenly unavailable (like unexpectedly disconnects).
	OnEmptied(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnEnded calls the given handler when the media has reach the end.
	OnEnded(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnError calls the given handler when an error occurs.
	OnError(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnLoadStart calls the given handler just as the file begins to load before anything is actually loaded.
	OnLoadStart(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnLoadedData calls the given handler when media data is loaded.
	OnLoadedData(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnPause calls the given handler when the media is paused either by the user or programmatically.
	OnPause(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnPlay calls the given handler when the media is ready to start playing.
	OnPlay(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnPlaying calls the given handler when the media actually has started playing.
	OnPlaying(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnProgress calls the given handler when the browser is in the process of getting the media data.
	OnProgress(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnRateChange calls the given handler each time the playback rate changes (like when a user switches to a slow motion or fast forward mode).
	OnRateChange(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnSeeked calls the given handler when the seeking attribute is set to false indicating that seeking has ended.
	OnSeeked(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnSeeking calls the given handler when the seeking attribute is set to true indicating that seeking is active.
	OnSeeking(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnStalled calls the given handler when the browser is unable to fetch the media data for whatever reason.
	OnStalled(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnSuspend calls the given handler when fetching the media data is stopped before it is completely loaded for whatever reason.
	OnSuspend(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnTimeUpdate calls the given handler when the playing position has changed (like when the user fast forwards to a different point in the media).
	OnTimeUpdate(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnVolumeChange calls the given handler each time the volume is changed which (includes setting the volume to "mute").
	OnVolumeChange(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnWaiting calls the given handler when the media has paused but is expected to resume (like when the media pauses to buffer more data).
	OnWaiting(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLEmbed

	// OnloadedMetaData calls the given handler when meta data (like dimensions and duration) are loaded.
	OnloadedMetaData(h EventHandler, scope ...interface{}) HTMLEmbed
}

HTMLEmbed is the interface that describes a <embed> HTML element.

func Embed

func Embed() HTMLEmbed

Embed returns an HTML element that defines a container for an external (non-HTML) application.

type HTMLFieldSet

type HTMLFieldSet interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLFieldSet

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLFieldSet

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLFieldSet

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLFieldSet

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLFieldSet

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLFieldSet

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLFieldSet

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLFieldSet

	// Disabled specifies that the specified element/group of elements should be disabled.
	Disabled(v bool) HTMLFieldSet

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLFieldSet

	// Form specifies the name of the form the element belongs to.
	Form(v string) HTMLFieldSet

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLFieldSet

	// ID specifies a unique id for an element.
	ID(v string) HTMLFieldSet

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLFieldSet

	// Name specifies the name of the element.
	Name(v string) HTMLFieldSet

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLFieldSet

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLFieldSet

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLFieldSet

	// Title specifies extra information about an element.
	Title(v string) HTMLFieldSet

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLFieldSet

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLFieldSet

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLFieldSet

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLFieldSet

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLFieldSet

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLFieldSet

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLFieldSet

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLFieldSet

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLFieldSet

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLFieldSet

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLFieldSet

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLFieldSet

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLFieldSet

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLFieldSet

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLFieldSet

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLFieldSet

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLFieldSet

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLFieldSet

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLFieldSet

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLFieldSet

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLFieldSet

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLFieldSet

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLFieldSet

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLFieldSet

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLFieldSet

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLFieldSet

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLFieldSet

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLFieldSet

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLFieldSet

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLFieldSet

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLFieldSet

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLFieldSet
}

HTMLFieldSet is the interface that describes a <fieldset> HTML element.

func FieldSet

func FieldSet() HTMLFieldSet

FieldSet returns an HTML element that groups related elements in a form.

type HTMLFigCaption

type HTMLFigCaption interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLFigCaption

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLFigCaption

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLFigCaption

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLFigCaption

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLFigCaption

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLFigCaption

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLFigCaption

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLFigCaption

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLFigCaption

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLFigCaption

	// ID specifies a unique id for an element.
	ID(v string) HTMLFigCaption

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLFigCaption

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLFigCaption

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLFigCaption

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLFigCaption

	// Title specifies extra information about an element.
	Title(v string) HTMLFigCaption

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLFigCaption

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLFigCaption

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLFigCaption

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLFigCaption

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLFigCaption

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLFigCaption

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLFigCaption

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLFigCaption

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLFigCaption

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLFigCaption

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLFigCaption

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLFigCaption

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLFigCaption

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLFigCaption

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLFigCaption

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLFigCaption

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLFigCaption

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLFigCaption

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLFigCaption

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLFigCaption

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLFigCaption

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLFigCaption

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLFigCaption

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLFigCaption

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLFigCaption

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLFigCaption

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLFigCaption

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLFigCaption

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLFigCaption

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLFigCaption

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLFigCaption

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLFigCaption
}

HTMLFigCaption is the interface that describes a <figcaption> HTML element.

func FigCaption

func FigCaption() HTMLFigCaption

FigCaption returns an HTML element that defines a caption for a figure element.

type HTMLFigure

type HTMLFigure interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLFigure

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLFigure

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLFigure

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLFigure

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLFigure

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLFigure

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLFigure

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLFigure

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLFigure

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLFigure

	// ID specifies a unique id for an element.
	ID(v string) HTMLFigure

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLFigure

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLFigure

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLFigure

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLFigure

	// Title specifies extra information about an element.
	Title(v string) HTMLFigure

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLFigure

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLFigure

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLFigure

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLFigure

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLFigure

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLFigure

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLFigure

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLFigure

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLFigure

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLFigure

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLFigure

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLFigure

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLFigure

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLFigure

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLFigure

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLFigure

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLFigure

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLFigure

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLFigure

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLFigure

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLFigure

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLFigure

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLFigure

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLFigure

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLFigure

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLFigure

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLFigure

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLFigure

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLFigure

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLFigure

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLFigure

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLFigure
}

HTMLFigure is the interface that describes a <figure> HTML element.

func Figure

func Figure() HTMLFigure

Figure returns an HTML element that specifies self-contained content.

type HTMLFooter

type HTMLFooter interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLFooter

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLFooter

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLFooter

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLFooter

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLFooter

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLFooter

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLFooter

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLFooter

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLFooter

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLFooter

	// ID specifies a unique id for an element.
	ID(v string) HTMLFooter

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLFooter

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLFooter

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLFooter

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLFooter

	// Title specifies extra information about an element.
	Title(v string) HTMLFooter

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLFooter

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLFooter

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLFooter

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLFooter

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLFooter

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLFooter

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLFooter

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLFooter

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLFooter

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLFooter

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLFooter

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLFooter

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLFooter

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLFooter

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLFooter

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLFooter

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLFooter

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLFooter

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLFooter

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLFooter

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLFooter

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLFooter

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLFooter

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLFooter

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLFooter

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLFooter

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLFooter

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLFooter

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLFooter

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLFooter

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLFooter

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLFooter
}

HTMLFooter is the interface that describes a <footer> HTML element.

func Footer() HTMLFooter

Footer returns an HTML element that defines a footer for a document or section.

type HTMLForm

type HTMLForm interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLForm

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLForm

	// AcceptCharset specifies the character encodings that are to be used for the form submission.
	AcceptCharset(v string) HTMLForm

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLForm

	// Action specifies where to send the form-data when a form is submitted.
	Action(v string) HTMLForm

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLForm

	// AutoComplete specifies whether the element should have autocomplete enabled.
	AutoComplete(v bool) HTMLForm

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLForm

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLForm

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLForm

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLForm

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLForm

	// EncType specifies how the form-data should be encoded when submitting it to the server (only for post method).
	EncType(v string) HTMLForm

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLForm

	// ID specifies a unique id for an element.
	ID(v string) HTMLForm

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLForm

	// Method specifies the HTTP method to use when sending form-data.
	Method(v string) HTMLForm

	// Name specifies the name of the element.
	Name(v string) HTMLForm

	// NoValidate specifies that the form should not be validated when submitted.
	NoValidate(v bool) HTMLForm

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLForm

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLForm

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLForm

	// Target specifies the target for where to open the linked document or where to submit the form.
	Target(v string) HTMLForm

	// Title specifies extra information about an element.
	Title(v string) HTMLForm

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLForm

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLForm

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLForm

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLForm

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLForm

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLForm

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLForm

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLForm

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLForm

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLForm

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLForm

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLForm

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLForm

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLForm

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLForm

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLForm

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLForm

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLForm

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLForm

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLForm

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLForm

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLForm

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLForm

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLForm

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLForm

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLForm

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLForm

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLForm

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLForm

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLForm

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLForm

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLForm
}

HTMLForm is the interface that describes a <form> HTML element.

func Form

func Form() HTMLForm

Form returns an HTML element that defines an HTML form for user input.

type HTMLH1

type HTMLH1 interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLH1

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLH1

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLH1

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLH1

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLH1

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLH1

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLH1

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLH1

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLH1

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLH1

	// ID specifies a unique id for an element.
	ID(v string) HTMLH1

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLH1

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLH1

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLH1

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLH1

	// Title specifies extra information about an element.
	Title(v string) HTMLH1

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLH1

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLH1

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLH1

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLH1

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLH1

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLH1

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLH1

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLH1

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLH1

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLH1

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLH1

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLH1

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLH1

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLH1

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLH1

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLH1

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLH1

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLH1

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLH1

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLH1

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLH1

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLH1

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLH1

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLH1

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLH1

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLH1

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLH1

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLH1

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLH1

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLH1

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLH1

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLH1
}

HTMLH1 is the interface that describes a <h1> HTML element.

func H1

func H1() HTMLH1

H1 returns an HTML element that defines HTML heading.

type HTMLH2

type HTMLH2 interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLH2

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLH2

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLH2

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLH2

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLH2

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLH2

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLH2

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLH2

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLH2

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLH2

	// ID specifies a unique id for an element.
	ID(v string) HTMLH2

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLH2

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLH2

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLH2

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLH2

	// Title specifies extra information about an element.
	Title(v string) HTMLH2

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLH2

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLH2

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLH2

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLH2

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLH2

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLH2

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLH2

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLH2

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLH2

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLH2

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLH2

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLH2

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLH2

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLH2

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLH2

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLH2

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLH2

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLH2

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLH2

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLH2

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLH2

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLH2

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLH2

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLH2

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLH2

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLH2

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLH2

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLH2

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLH2

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLH2

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLH2

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLH2
}

HTMLH2 is the interface that describes a <h2> HTML element.

func H2

func H2() HTMLH2

H2 returns an HTML element that defines HTML heading.

type HTMLH3

type HTMLH3 interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLH3

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLH3

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLH3

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLH3

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLH3

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLH3

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLH3

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLH3

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLH3

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLH3

	// ID specifies a unique id for an element.
	ID(v string) HTMLH3

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLH3

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLH3

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLH3

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLH3

	// Title specifies extra information about an element.
	Title(v string) HTMLH3

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLH3

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLH3

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLH3

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLH3

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLH3

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLH3

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLH3

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLH3

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLH3

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLH3

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLH3

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLH3

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLH3

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLH3

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLH3

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLH3

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLH3

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLH3

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLH3

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLH3

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLH3

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLH3

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLH3

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLH3

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLH3

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLH3

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLH3

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLH3

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLH3

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLH3

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLH3

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLH3
}

HTMLH3 is the interface that describes a <h3> HTML element.

func H3

func H3() HTMLH3

H3 returns an HTML element that defines HTML heading.

type HTMLH4

type HTMLH4 interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLH4

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLH4

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLH4

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLH4

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLH4

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLH4

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLH4

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLH4

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLH4

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLH4

	// ID specifies a unique id for an element.
	ID(v string) HTMLH4

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLH4

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLH4

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLH4

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLH4

	// Title specifies extra information about an element.
	Title(v string) HTMLH4

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLH4

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLH4

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLH4

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLH4

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLH4

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLH4

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLH4

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLH4

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLH4

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLH4

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLH4

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLH4

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLH4

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLH4

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLH4

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLH4

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLH4

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLH4

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLH4

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLH4

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLH4

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLH4

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLH4

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLH4

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLH4

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLH4

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLH4

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLH4

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLH4

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLH4

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLH4

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLH4
}

HTMLH4 is the interface that describes a <h4> HTML element.

func H4

func H4() HTMLH4

H4 returns an HTML element that defines HTML heading.

type HTMLH5

type HTMLH5 interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLH5

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLH5

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLH5

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLH5

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLH5

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLH5

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLH5

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLH5

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLH5

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLH5

	// ID specifies a unique id for an element.
	ID(v string) HTMLH5

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLH5

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLH5

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLH5

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLH5

	// Title specifies extra information about an element.
	Title(v string) HTMLH5

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLH5

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLH5

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLH5

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLH5

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLH5

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLH5

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLH5

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLH5

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLH5

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLH5

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLH5

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLH5

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLH5

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLH5

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLH5

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLH5

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLH5

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLH5

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLH5

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLH5

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLH5

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLH5

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLH5

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLH5

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLH5

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLH5

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLH5

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLH5

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLH5

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLH5

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLH5

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLH5
}

HTMLH5 is the interface that describes a <h5> HTML element.

func H5

func H5() HTMLH5

H5 returns an HTML element that defines HTML heading.

type HTMLH6

type HTMLH6 interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLH6

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLH6

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLH6

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLH6

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLH6

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLH6

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLH6

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLH6

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLH6

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLH6

	// ID specifies a unique id for an element.
	ID(v string) HTMLH6

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLH6

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLH6

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLH6

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLH6

	// Title specifies extra information about an element.
	Title(v string) HTMLH6

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLH6

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLH6

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLH6

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLH6

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLH6

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLH6

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLH6

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLH6

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLH6

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLH6

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLH6

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLH6

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLH6

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLH6

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLH6

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLH6

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLH6

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLH6

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLH6

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLH6

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLH6

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLH6

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLH6

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLH6

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLH6

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLH6

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLH6

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLH6

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLH6

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLH6

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLH6

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLH6
}

HTMLH6 is the interface that describes a <h6> HTML element.

func H6

func H6() HTMLH6

H6 returns an HTML element that defines HTML heading.

type HTMLHead

type HTMLHead interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLHead

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLHead

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLHead

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLHead

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLHead

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLHead

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLHead

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLHead

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLHead

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLHead

	// ID specifies a unique id for an element.
	ID(v string) HTMLHead

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLHead

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLHead

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLHead

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLHead

	// Title specifies extra information about an element.
	Title(v string) HTMLHead
}

HTMLHead is the interface that describes a <head> HTML element.

func Head() HTMLHead

Head returns an HTML element that defines information about the document.

type HTMLHeader

type HTMLHeader interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLHeader

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLHeader

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLHeader

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLHeader

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLHeader

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLHeader

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLHeader

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLHeader

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLHeader

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLHeader

	// ID specifies a unique id for an element.
	ID(v string) HTMLHeader

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLHeader

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLHeader

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLHeader

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLHeader

	// Title specifies extra information about an element.
	Title(v string) HTMLHeader

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLHeader

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLHeader

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLHeader

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLHeader

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLHeader

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLHeader

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLHeader

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLHeader

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLHeader

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLHeader

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLHeader

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLHeader

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLHeader

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLHeader

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLHeader

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLHeader

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLHeader

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLHeader

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLHeader

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLHeader

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLHeader

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLHeader

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLHeader

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLHeader

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLHeader

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLHeader

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLHeader

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLHeader

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLHeader

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLHeader

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLHeader

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLHeader
}

HTMLHeader is the interface that describes a <header> HTML element.

func Header() HTMLHeader

Header returns an HTML element that defines a header for a document or section.

type HTMLHr

type HTMLHr interface {
	UI

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLHr

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLHr

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLHr

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLHr

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLHr

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLHr

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLHr

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLHr

	// ID specifies a unique id for an element.
	ID(v string) HTMLHr

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLHr

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLHr

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLHr

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLHr

	// Title specifies extra information about an element.
	Title(v string) HTMLHr

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLHr

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLHr

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLHr

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLHr

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLHr

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLHr

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLHr

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLHr

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLHr

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLHr

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLHr

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLHr

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLHr

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLHr

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLHr

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLHr

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLHr

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLHr

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLHr

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLHr

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLHr

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLHr

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLHr

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLHr

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLHr

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLHr

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLHr

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLHr

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLHr

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLHr

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLHr

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLHr
}

HTMLHr is the interface that describes a <hr> HTML element.

func Hr

func Hr() HTMLHr

Hr returns an HTML element that defines a thematic change in the content.

type HTMLHtml

type HTMLHtml interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLHtml

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLHtml

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLHtml

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLHtml

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLHtml

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLHtml

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLHtml

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLHtml

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLHtml

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLHtml

	// ID specifies a unique id for an element.
	ID(v string) HTMLHtml

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLHtml

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLHtml

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLHtml

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLHtml

	// Title specifies extra information about an element.
	Title(v string) HTMLHtml
}

HTMLHtml is the interface that describes a <html> HTML element.

func Html

func Html() HTMLHtml

Html returns an HTML element that defines the root of an HTML document.

type HTMLI

type HTMLI interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLI

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLI

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLI

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLI

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLI

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLI

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLI

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLI

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLI

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLI

	// ID specifies a unique id for an element.
	ID(v string) HTMLI

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLI

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLI

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLI

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLI

	// Title specifies extra information about an element.
	Title(v string) HTMLI

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLI

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLI

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLI

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLI

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLI

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLI

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLI

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLI

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLI

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLI

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLI

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLI

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLI

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLI

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLI

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLI

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLI

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLI

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLI

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLI

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLI

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLI

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLI

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLI

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLI

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLI

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLI

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLI

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLI

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLI

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLI

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLI
}

HTMLI is the interface that describes a <i> HTML element.

func I

func I() HTMLI

I returns an HTML element that defines a part of text in an alternate voice or mood.

type HTMLIFrame

type HTMLIFrame interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLIFrame

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLIFrame

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLIFrame

	// Allow specifies a feature policy. Can be called multiple times to set multiple policies.
	Allow(v string) HTMLIFrame

	// AllowFullscreen reports whether an iframe can activate fullscreen mode.
	AllowFullscreen(v bool) HTMLIFrame

	// AllowPaymentRequest reports whether an iframe should be allowed to invoke the Payment Request API
	AllowPaymentRequest(v bool) HTMLIFrame

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLIFrame

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLIFrame

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLIFrame

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLIFrame

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLIFrame

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLIFrame

	// Height specifies the height of the element (in pixels).
	Height(v int) HTMLIFrame

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLIFrame

	// ID specifies a unique id for an element.
	ID(v string) HTMLIFrame

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLIFrame

	// Name specifies the name of the element.
	Name(v string) HTMLIFrame

	// ReferrerPolicy specifies how much/which referrer information that will be sent when processing the iframe attributes
	ReferrerPolicy(v string) HTMLIFrame

	// Sandbox enables an extra set of restrictions for the content in an iframe.
	Sandbox(v interface{}) HTMLIFrame

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLIFrame

	// Src specifies the URL of the media file.
	Src(v string) HTMLIFrame

	// SrcDoc specifies the HTML content of the page to show in the iframe.
	SrcDoc(v string) HTMLIFrame

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLIFrame

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLIFrame

	// Title specifies extra information about an element.
	Title(v string) HTMLIFrame

	// Width specifies the width of the element.
	Width(v int) HTMLIFrame

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLIFrame

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLIFrame

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLIFrame

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLIFrame

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLIFrame

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLIFrame

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLIFrame

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLIFrame

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLIFrame

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLIFrame

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLIFrame

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLIFrame

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLIFrame

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLIFrame

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLIFrame

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLIFrame

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLIFrame

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLIFrame

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLIFrame

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLIFrame

	// OnLoad calls the given handler after the element is finished loading.
	OnLoad(h EventHandler, scope ...interface{}) HTMLIFrame

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLIFrame

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLIFrame

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLIFrame

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLIFrame

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLIFrame

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLIFrame

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLIFrame

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLIFrame

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLIFrame

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLIFrame

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLIFrame

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLIFrame
}

HTMLIFrame is the interface that describes a <iframe> HTML element.

func IFrame

func IFrame() HTMLIFrame

IFrame returns an HTML element that defines an inline frame.

type HTMLImg

type HTMLImg interface {
	UI

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLImg

	// Alt specifies an alternate text when the original element fails to display.
	Alt(v string) HTMLImg

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLImg

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLImg

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLImg

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLImg

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLImg

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLImg

	// Height specifies the height of the element (in pixels).
	Height(v int) HTMLImg

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLImg

	// ID specifies a unique id for an element.
	ID(v string) HTMLImg

	// IsMap specifies an image as a server-side image-map.
	IsMap(v bool) HTMLImg

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLImg

	// Sizes specifies the size of the linked resource.
	Sizes(v string) HTMLImg

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLImg

	// Src specifies the URL of the media file.
	Src(v string) HTMLImg

	// SrcSet specifies the URL of the image to use in different situations.
	SrcSet(v string) HTMLImg

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLImg

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLImg

	// Title specifies extra information about an element.
	Title(v string) HTMLImg

	// UseMap specifies an image as a client-side image-map.
	UseMap(v string) HTMLImg

	// Width specifies the width of the element.
	Width(v int) HTMLImg

	// OnAbort calls the given handler on abort.
	OnAbort(h EventHandler, scope ...interface{}) HTMLImg

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLImg

	// OnCanPlay calls the given handler when a file is ready to start playing (when it has buffered enough to begin).
	OnCanPlay(h EventHandler, scope ...interface{}) HTMLImg

	// OnCanPlayThrough calls the given handler when a file can be played all the way to the end without pausing for buffering.
	OnCanPlayThrough(h EventHandler, scope ...interface{}) HTMLImg

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLImg

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLImg

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLImg

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLImg

	// OnCueChange calls the given handler when the cue changes in a track element.
	OnCueChange(h EventHandler, scope ...interface{}) HTMLImg

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLImg

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLImg

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLImg

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLImg

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLImg

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLImg

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLImg

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLImg

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLImg

	// OnDurationChange calls the given handler when the length of the media changes.
	OnDurationChange(h EventHandler, scope ...interface{}) HTMLImg

	// OnEmptied calls the given handler when something bad happens and the file is suddenly unavailable (like unexpectedly disconnects).
	OnEmptied(h EventHandler, scope ...interface{}) HTMLImg

	// OnEnded calls the given handler when the media has reach the end.
	OnEnded(h EventHandler, scope ...interface{}) HTMLImg

	// OnError calls the given handler when an error occurs.
	OnError(h EventHandler, scope ...interface{}) HTMLImg

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLImg

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLImg

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLImg

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLImg

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLImg

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLImg

	// OnLoad calls the given handler after the element is finished loading.
	OnLoad(h EventHandler, scope ...interface{}) HTMLImg

	// OnLoadStart calls the given handler just as the file begins to load before anything is actually loaded.
	OnLoadStart(h EventHandler, scope ...interface{}) HTMLImg

	// OnLoadedData calls the given handler when media data is loaded.
	OnLoadedData(h EventHandler, scope ...interface{}) HTMLImg

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLImg

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLImg

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLImg

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLImg

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLImg

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLImg

	// OnPause calls the given handler when the media is paused either by the user or programmatically.
	OnPause(h EventHandler, scope ...interface{}) HTMLImg

	// OnPlay calls the given handler when the media is ready to start playing.
	OnPlay(h EventHandler, scope ...interface{}) HTMLImg

	// OnPlaying calls the given handler when the media actually has started playing.
	OnPlaying(h EventHandler, scope ...interface{}) HTMLImg

	// OnProgress calls the given handler when the browser is in the process of getting the media data.
	OnProgress(h EventHandler, scope ...interface{}) HTMLImg

	// OnRateChange calls the given handler each time the playback rate changes (like when a user switches to a slow motion or fast forward mode).
	OnRateChange(h EventHandler, scope ...interface{}) HTMLImg

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLImg

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLImg

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLImg

	// OnSeeked calls the given handler when the seeking attribute is set to false indicating that seeking has ended.
	OnSeeked(h EventHandler, scope ...interface{}) HTMLImg

	// OnSeeking calls the given handler when the seeking attribute is set to true indicating that seeking is active.
	OnSeeking(h EventHandler, scope ...interface{}) HTMLImg

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLImg

	// OnStalled calls the given handler when the browser is unable to fetch the media data for whatever reason.
	OnStalled(h EventHandler, scope ...interface{}) HTMLImg

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLImg

	// OnSuspend calls the given handler when fetching the media data is stopped before it is completely loaded for whatever reason.
	OnSuspend(h EventHandler, scope ...interface{}) HTMLImg

	// OnTimeUpdate calls the given handler when the playing position has changed (like when the user fast forwards to a different point in the media).
	OnTimeUpdate(h EventHandler, scope ...interface{}) HTMLImg

	// OnVolumeChange calls the given handler each time the volume is changed which (includes setting the volume to "mute").
	OnVolumeChange(h EventHandler, scope ...interface{}) HTMLImg

	// OnWaiting calls the given handler when the media has paused but is expected to resume (like when the media pauses to buffer more data).
	OnWaiting(h EventHandler, scope ...interface{}) HTMLImg

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLImg

	// OnloadedMetaData calls the given handler when meta data (like dimensions and duration) are loaded.
	OnloadedMetaData(h EventHandler, scope ...interface{}) HTMLImg
}

HTMLImg is the interface that describes a <img> HTML element.

func Img

func Img() HTMLImg

Img returns an HTML element that defines an image.

type HTMLInput

type HTMLInput interface {
	UI

	// Accept specifies the types of files that the server accepts (only for file type).
	Accept(v string) HTMLInput

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLInput

	// Alt specifies an alternate text when the original element fails to display.
	Alt(v string) HTMLInput

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLInput

	// AutoComplete specifies whether the element should have autocomplete enabled.
	AutoComplete(v bool) HTMLInput

	// AutoFocus specifies that the element should automatically get focus when the page loads.
	AutoFocus(v bool) HTMLInput

	// Checked specifies that an input element should be pre-selected when the page loads (for checkbox or radio types).
	Checked(v bool) HTMLInput

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLInput

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLInput

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLInput

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLInput

	// DirName specifies that the text direction will be submitted.
	DirName(v string) HTMLInput

	// Disabled specifies that the specified element/group of elements should be disabled.
	Disabled(v bool) HTMLInput

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLInput

	// Form specifies the name of the form the element belongs to.
	Form(v string) HTMLInput

	// FormAction specifies where to send the form-data when a form is submitted. Only for submit type.
	FormAction(v string) HTMLInput

	// FormEncType specifies how form-data should be encoded before sending it to a server. Only for submit type.
	FormEncType(v string) HTMLInput

	// FormMethod specifies how to send the form-data (which HTTP method to use). Only for submit type.
	FormMethod(v string) HTMLInput

	// FormNoValidate specifies that the form-data should not be validated on submission. Only for submit type.
	FormNoValidate(v bool) HTMLInput

	// FormTarget specifies where to display the response after submitting the form. Only for submit type.
	FormTarget(v string) HTMLInput

	// Height specifies the height of the element (in pixels).
	Height(v int) HTMLInput

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLInput

	// ID specifies a unique id for an element.
	ID(v string) HTMLInput

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLInput

	// List refers to a datalist element that contains pre-defined options for an input element.
	List(v string) HTMLInput

	// Max Specifies the maximum value.
	Max(v interface{}) HTMLInput

	// MaxLength specifies the maximum number of characters allowed in an element.
	MaxLength(v int) HTMLInput

	// Min specifies a minimum value.
	Min(v interface{}) HTMLInput

	// Multiple specifies that a user can enter more than one value.
	Multiple(v bool) HTMLInput

	// Name specifies the name of the element.
	Name(v string) HTMLInput

	// Pattern specifies a regular expression that an input element's value is checked against.
	Pattern(v string) HTMLInput

	// Placeholder specifies a short hint that describes the expected value of the element.
	Placeholder(v string) HTMLInput

	// ReadOnly specifies that the element is read-only.
	ReadOnly(v bool) HTMLInput

	// Required specifies that the element must be filled out before submitting the form.
	Required(v bool) HTMLInput

	// Size specifies the width.
	Size(v int) HTMLInput

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLInput

	// Src specifies the URL of the media file.
	Src(v string) HTMLInput

	// Step specifies the legal number intervals for an input field.
	Step(v float64) HTMLInput

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLInput

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLInput

	// Title specifies extra information about an element.
	Title(v string) HTMLInput

	// Type specifies the type of element.
	Type(v string) HTMLInput

	// Value specifies the value of the element.
	Value(v interface{}) HTMLInput

	// Width specifies the width of the element.
	Width(v int) HTMLInput

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLInput

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLInput

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLInput

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLInput

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLInput

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLInput

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLInput

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLInput

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLInput

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLInput

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLInput

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLInput

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLInput

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLInput

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLInput

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLInput

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLInput

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLInput

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLInput

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLInput

	// OnLoad calls the given handler after the element is finished loading.
	OnLoad(h EventHandler, scope ...interface{}) HTMLInput

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLInput

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLInput

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLInput

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLInput

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLInput

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLInput

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLInput

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLInput

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLInput

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLInput

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLInput

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLInput
}

HTMLInput is the interface that describes a <input> HTML element.

func Input

func Input() HTMLInput

Input returns an HTML element that defines an input control.

type HTMLIns

type HTMLIns interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLIns

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLIns

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLIns

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLIns

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLIns

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLIns

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLIns

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLIns

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLIns

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLIns

	// ID specifies a unique id for an element.
	ID(v string) HTMLIns

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLIns

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLIns

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLIns

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLIns

	// Title specifies extra information about an element.
	Title(v string) HTMLIns

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLIns

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLIns

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLIns

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLIns

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLIns

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLIns

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLIns

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLIns

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLIns

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLIns

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLIns

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLIns

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLIns

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLIns

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLIns

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLIns

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLIns

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLIns

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLIns

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLIns

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLIns

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLIns

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLIns

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLIns

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLIns

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLIns

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLIns

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLIns

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLIns

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLIns

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLIns

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLIns
}

HTMLIns is the interface that describes a <ins> HTML element.

func Ins

func Ins() HTMLIns

Ins returns an HTML element that defines a text that has been inserted into a document.

type HTMLKbd

type HTMLKbd interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLKbd

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLKbd

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLKbd

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLKbd

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLKbd

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLKbd

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLKbd

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLKbd

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLKbd

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLKbd

	// ID specifies a unique id for an element.
	ID(v string) HTMLKbd

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLKbd

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLKbd

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLKbd

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLKbd

	// Title specifies extra information about an element.
	Title(v string) HTMLKbd

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLKbd

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLKbd

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLKbd

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLKbd

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLKbd

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLKbd

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLKbd

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLKbd

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLKbd

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLKbd

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLKbd

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLKbd

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLKbd

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLKbd

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLKbd

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLKbd

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLKbd

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLKbd

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLKbd

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLKbd

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLKbd

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLKbd

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLKbd

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLKbd

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLKbd

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLKbd

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLKbd

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLKbd

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLKbd

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLKbd

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLKbd

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLKbd
}

HTMLKbd is the interface that describes a <kbd> HTML element.

func Kbd

func Kbd() HTMLKbd

Kbd returns an HTML element that defines keyboard input.

type HTMLLabel

type HTMLLabel interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLLabel

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLLabel

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLLabel

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLLabel

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLLabel

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLLabel

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLLabel

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLLabel

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLLabel

	// For specifies which form element(s) a label/calculation is bound to.
	For(v string) HTMLLabel

	// Form specifies the name of the form the element belongs to.
	Form(v string) HTMLLabel

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLLabel

	// ID specifies a unique id for an element.
	ID(v string) HTMLLabel

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLLabel

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLLabel

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLLabel

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLLabel

	// Title specifies extra information about an element.
	Title(v string) HTMLLabel

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLLabel

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLLabel

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLLabel

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLLabel

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLLabel

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLLabel

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLLabel

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLLabel

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLLabel

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLLabel

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLLabel

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLLabel

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLLabel

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLLabel

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLLabel

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLLabel

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLLabel

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLLabel

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLLabel

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLLabel

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLLabel

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLLabel

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLLabel

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLLabel

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLLabel

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLLabel

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLLabel

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLLabel

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLLabel

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLLabel

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLLabel

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLLabel
}

HTMLLabel is the interface that describes a <label> HTML element.

func Label

func Label() HTMLLabel

Label returns an HTML element that defines a label for an input element.

type HTMLLegend

type HTMLLegend interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLLegend

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLLegend

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLLegend

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLLegend

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLLegend

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLLegend

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLLegend

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLLegend

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLLegend

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLLegend

	// ID specifies a unique id for an element.
	ID(v string) HTMLLegend

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLLegend

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLLegend

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLLegend

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLLegend

	// Title specifies extra information about an element.
	Title(v string) HTMLLegend

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLLegend

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLLegend

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLLegend

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLLegend

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLLegend

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLLegend

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLLegend

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLLegend

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLLegend

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLLegend

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLLegend

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLLegend

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLLegend

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLLegend

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLLegend

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLLegend

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLLegend

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLLegend

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLLegend

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLLegend

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLLegend

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLLegend

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLLegend

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLLegend

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLLegend

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLLegend

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLLegend

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLLegend

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLLegend

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLLegend

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLLegend

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLLegend
}

HTMLLegend is the interface that describes a <legend> HTML element.

func Legend

func Legend() HTMLLegend

Legend returns an HTML element that defines a caption for a fieldset element.

type HTMLLi

type HTMLLi interface {
	UI

	// Body set the content of the element.
	Body(elems ...UI) HTMLLi

	// Text sets the content of the element with a text node containing the stringified given value.
	Text(v interface{}) HTMLLi

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLLi

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLLi

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLLi

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLLi

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLLi

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLLi

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLLi

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLLi

	// ID specifies a unique id for an element.
	ID(v string) HTMLLi

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLLi

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLLi

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLLi

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLLi

	// Title specifies extra information about an element.
	Title(v string) HTMLLi

	// Value specifies the value of the element.
	Value(v interface{}) HTMLLi

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLLi

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLLi

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLLi

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLLi

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLLi

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLLi

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLLi

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLLi

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLLi

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLLi

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLLi

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLLi

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLLi

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLLi

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLLi

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLLi

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLLi

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLLi

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLLi

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLLi

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLLi

	// OnMouseMove calls the given handler when the mouse pointer is moving while it is over an element.
	OnMouseMove(h EventHandler, scope ...interface{}) HTMLLi

	// OnMouseOut calls the given handler when the mouse pointer moves out of an element.
	OnMouseOut(h EventHandler, scope ...interface{}) HTMLLi

	// OnMouseOver calls the given handler when the mouse pointer moves over an element.
	OnMouseOver(h EventHandler, scope ...interface{}) HTMLLi

	// OnMouseUp calls the given handler when a mouse button is released over an element.
	OnMouseUp(h EventHandler, scope ...interface{}) HTMLLi

	// OnPaste calls the given handler when the user pastes some content in an element.
	OnPaste(h EventHandler, scope ...interface{}) HTMLLi

	// OnReset calls the given handler when the Reset button in a form is clicked.
	OnReset(h EventHandler, scope ...interface{}) HTMLLi

	// OnScroll calls the given handler when an element's scrollbar is being scrolled.
	OnScroll(h EventHandler, scope ...interface{}) HTMLLi

	// OnSearch calls the given handler when the user writes something in a search field.
	OnSearch(h EventHandler, scope ...interface{}) HTMLLi

	// OnSelect calls the given handler after some text has been selected in an element.
	OnSelect(h EventHandler, scope ...interface{}) HTMLLi

	// OnSubmit calls the given handler when a form is submitted.
	OnSubmit(h EventHandler, scope ...interface{}) HTMLLi

	// OnWheel calls the given handler when the mouse wheel rolls up or down over an element.
	OnWheel(h EventHandler, scope ...interface{}) HTMLLi
}

HTMLLi is the interface that describes a <li> HTML element.

func Li

func Li() HTMLLi

Li returns an HTML element that defines a list item.

type HTMLLink interface {
	UI

	// AccessKey specifies a shortcut key to activate/focus an element.
	AccessKey(v string) HTMLLink

	// Aria stores accessible rich internet applications (ARIA) data.
	Aria(k string, v interface{}) HTMLLink

	// Class specifies one or more classnames for an element (refers to a class in a style sheet). Multiple classnames are space separated.
	Class(v string) HTMLLink

	// ContentEditable specifies whether the content of an element is editable or not.
	ContentEditable(v bool) HTMLLink

	// DataSet stores custom data private to the page or application.
	DataSet(k string, v interface{}) HTMLLink

	// Dir specifies the text direction for the content in an element.
	Dir(v string) HTMLLink

	// Draggable specifies whether an element is draggable or not.
	Draggable(v bool) HTMLLink

	// Hidden specifies that an element is not yet, or is no longer relevant.
	Hidden(v bool) HTMLLink

	// Href specifies the URL of the page the link goes to.
	Href(v string) HTMLLink

	// HrefLang specifies the language of the linked document.
	HrefLang(v string) HTMLLink

	// ID specifies a unique id for an element.
	ID(v string) HTMLLink

	// Lang specifies the language of the element's content.
	Lang(v string) HTMLLink

	// Media specifies what media/device the linked document is optimized for.
	Media(v string) HTMLLink

	// Rel specifies the relationship between the current document and the linked document.
	Rel(v string) HTMLLink

	// Sizes specifies the size of the linked resource.
	Sizes(v string) HTMLLink

	// Spellcheck specifies whether the element is to have its spelling and grammar checked or not.
	Spellcheck(v bool) HTMLLink

	// Style specifies a CSS style for an element. Can be called multiple times to set multiple css styles.
	Style(k, v string) HTMLLink

	// TabIndex specifies the tabbing order of an element.
	TabIndex(v int) HTMLLink

	// Title specifies extra information about an element.
	Title(v string) HTMLLink

	// Type specifies the type of element.
	Type(v string) HTMLLink

	// OnBlur calls the given handler when the element loses focus.
	OnBlur(h EventHandler, scope ...interface{}) HTMLLink

	// OnChange calls the given handler when the value of the element is changed.
	OnChange(h EventHandler, scope ...interface{}) HTMLLink

	// OnClick calls the given handler when there is a mouse click on the element.
	OnClick(h EventHandler, scope ...interface{}) HTMLLink

	// OnContextMenu calls the given handler when a context menu is triggered.
	OnContextMenu(h EventHandler, scope ...interface{}) HTMLLink

	// OnCopy calls the given handler when the user copies the content of an element.
	OnCopy(h EventHandler, scope ...interface{}) HTMLLink

	// OnCut calls the given handler when the user cuts the content of an element.
	OnCut(h EventHandler, scope ...interface{}) HTMLLink

	// OnDblClick calls the given handler when there is a mouse double-click on the element.
	OnDblClick(h EventHandler, scope ...interface{}) HTMLLink

	// OnDrag calls the given handler when an element is dragged.
	OnDrag(h EventHandler, scope ...interface{}) HTMLLink

	// OnDragEnd calls the given handler at the end of a drag operation.
	OnDragEnd(h EventHandler, scope ...interface{}) HTMLLink

	// OnDragEnter calls the given handler when an element has been dragged to a valid drop target.
	OnDragEnter(h EventHandler, scope ...interface{}) HTMLLink

	// OnDragLeave calls the given handler when an element leaves a valid drop target.
	OnDragLeave(h EventHandler, scope ...interface{}) HTMLLink

	// OnDragOver calls the given handler when an element is being dragged over a valid drop target.
	OnDragOver(h EventHandler, scope ...interface{}) HTMLLink

	// OnDragStart calls the given handler at the start of a drag operation.
	OnDragStart(h EventHandler, scope ...interface{}) HTMLLink

	// OnDrop calls the given handler when dragged element is being dropped.
	OnDrop(h EventHandler, scope ...interface{}) HTMLLink

	// OnFocus calls the given handler when the element gets focus.
	OnFocus(h EventHandler, scope ...interface{}) HTMLLink

	// OnInput calls the given handler when an element gets user input.
	OnInput(h EventHandler, scope ...interface{}) HTMLLink

	// OnInvalid calls the given handler when an element is invalid.
	OnInvalid(h EventHandler, scope ...interface{}) HTMLLink

	// OnKeyDown calls the given handler when a user is pressing a key.
	OnKeyDown(h EventHandler, scope ...interface{}) HTMLLink

	// OnKeyPress calls the given handler when a user presses a key.
	OnKeyPress(h EventHandler, scope ...interface{}) HTMLLink

	// OnKeyup calls the given handler when a user releases a key.
	OnKeyup(h EventHandler, scope ...interface{}) HTMLLink

	// OnLoad calls the given handler after the element is finished loading.
	OnLoad(h EventHandler, scope ...interface{}) HTMLLink

	// OnMouseDown calls the given handler when a mouse button is pressed down on an element.
	OnMouseDown(h EventHandler, scope ...interface{}) HTMLLink

	// OnMouseMove calls the given handler when the