elems

package
v2.0.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Abbreviation

func Abbreviation(markup ...trees.Appliable) *trees.Markup

Abbreviation provides the following for HTML elements -> The HTML <abbr> element represents an abbreviation and optionally provides a full description for it. If present, the title attribute must contain this full description and nothing else. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/abbr

func Address

func Address(markup ...trees.Appliable) *trees.Markup

Address provides the following for HTML elements -> The HTML <address> element supplies contact information for its nearest <article> or <body> ancestor; in the latter case, it applies to the whole document. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/address

func Anchor

func Anchor(markup ...trees.Appliable) *trees.Markup

Anchor provides the following for HTML elements -> The HTML <a> element (or anchor element) creates a hyperlink to other web pages, files, locations within the same page, email addresses, or any other URL. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a

func Area

func Area(markup ...trees.Appliable) *trees.Markup

Area provides the following for HTML elements -> The HTML <area> element defines a hot-spot region on an image, and optionally associates it with a hypertext link. This element is used only within a <map> element. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/area

func Article

func Article(markup ...trees.Appliable) *trees.Markup

Article provides the following for HTML elements -> The HTML <article> element represents a self-contained composition in a document, page, application, or site, which is intended to be independently distributable or reusable (e.g., in syndication). Examples include: a forum post, a magazine or newspaper article, or a blog entry. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/article

func Aside

func Aside(markup ...trees.Appliable) *trees.Markup

Aside provides the following for HTML elements -> The HTML <aside> element represents a section of a document with content connected tangentially to the main content of the document (often presented as a sidebar). https://developer.mozilla.org/en-US/docs/Web/HTML/Element/aside

func Audio

func Audio(markup ...trees.Appliable) *trees.Markup

Audio provides the following for HTML elements -> The HTML <audio> element is used to embed sound content in documents. It may contain one or more audio sources, represented using the src attribute or the <source> element: the browser will choose the most suitable one. It can also be the destination for streamed media, using a MediaStream. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio

func Base

func Base(markup ...trees.Appliable) *trees.Markup

Base provides the following for HTML elements -> The HTML <base> element specifies the base URL to use for all relative URLs contained within a document. There can be only one <base> element in a document. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base

func BidirectionalIsolation

func BidirectionalIsolation(markup ...trees.Appliable) *trees.Markup

BidirectionalIsolation provides the following for HTML elements -> The HTML <bdi> element (bidirectional isolation) isolates a span of text that might be formatted in a different direction from other text outside it. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdi

func BidirectionalOverride

func BidirectionalOverride(markup ...trees.Appliable) *trees.Markup

BidirectionalOverride provides the following for HTML elements -> The HTML <bdo> element (bidirectional override) is used to override the current directionality of text. It causes the directionality of the characters to be ignored in favor of the specified directionality. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdo

func BlockQuote

func BlockQuote(markup ...trees.Appliable) *trees.Markup

BlockQuote provides the following for HTML elements -> The HTML <blockquote> Element (or HTML Block Quotation Element) indicates that the enclosed text is an extended quotation. Usually, this is rendered visually by indentation (see Notes for how to change it). A URL for the source of the quotation may be given using the cite attribute, while a text representation of the source can be given using the <cite> element. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/blockquote

func Bold

func Bold(markup ...trees.Appliable) *trees.Markup

Bold provides the following for HTML elements -> The HTML <b> element represents a span of text stylistically different from normal text, without conveying any special importance or relevance, and that is typically rendered in boldface. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/b

func Break

func Break(markup ...trees.Appliable) *trees.Markup

Break provides the following for HTML elements -> The HTML <br> element produces a line break in text (carriage-return). It is useful for writing a poem or an address, where the division of lines is significant. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/br

func Button

func Button(markup ...trees.Appliable) *trees.Markup

Button provides the following for HTML elements -> The HTML <button> element represents a clickable button. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button

func CSS

func CSS(styles interface{}, bind interface{}, ext *css.Rule) *trees.Markup

CSS provides a function that takes style rules which returns a stylesheet embeded into the provided element parent and is built on the gu/css package which collects necessary details from its parent to only target where it gets mounted.

func Canvas

func Canvas(markup ...trees.Appliable) *trees.Markup

Canvas provides the following for HTML elements -> Use the HTML <canvas> element with the canvas scripting API to draw graphics and animations. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas

func Caption

func Caption(markup ...trees.Appliable) *trees.Markup

Caption provides the following for HTML elements -> The HTML <caption> element represents the title of a table. Though it is always the first descendant of a <table>, its styling, using CSS, may place it elsewhere, relative to the table. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/caption

func Citation

func Citation(markup ...trees.Appliable) *trees.Markup

Citation provides the following for HTML elements -> The HTML <cite> element represents a reference to a creative work. It must include the title of a work or a URL reference, which may be in an abbreviated form according to the conventions used for the addition of citation metadata. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/cite

func Code

func Code(markup ...trees.Appliable) *trees.Markup

Code provides the following for HTML elements -> The HTML <code> element represents a fragment of computer code. By default, it is displayed in the browser's default monospace font. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/code

func Column

func Column(markup ...trees.Appliable) *trees.Markup

Column provides the following for HTML elements -> The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col

func ColumnGroup

func ColumnGroup(markup ...trees.Appliable) *trees.Markup

ColumnGroup provides the following for HTML elements -> The HTML <colgroup> element defines a group of columns within a table. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup

func CustomElement

func CustomElement(tag string, markup ...trees.Appliable) *trees.Markup

CustomElement defines a type which returns a custom element type provided by the tagname.

func Data

func Data(markup ...trees.Appliable) *trees.Markup

Data provides the following for HTML elements -> The HTML <data> element links a given content with a machine-readable translation. If the content is time- or date-related, the <time> must be used. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/data

func DataList

func DataList(markup ...trees.Appliable) *trees.Markup

DataList provides the following for HTML elements -> The HTML <datalist> element contains a set of <option> elements that represent the values available for other controls. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist

func Definition

func Definition(markup ...trees.Appliable) *trees.Markup

Definition provides the following for HTML elements -> The HTML <dfn> element represents the defining instance of a term. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dfn

func DefinitionTerm

func DefinitionTerm(markup ...trees.Appliable) *trees.Markup

DefinitionTerm provides the following for HTML elements -> The HTML <dt> element identifies a term in a description list. This element can occur only as a child element of a <dl>. It is usually followed by a <dd> element; however, multiple <dt> elements in a row indicate several terms that are all defined by the immediate next <dd> element. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dt

func DeletedText

func DeletedText(markup ...trees.Appliable) *trees.Markup

DeletedText provides the following for HTML elements -> The HTML <del> element represents a range of text that has been deleted from a document. This element is often (but need not be) rendered with strike-through text. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/del

func Description

func Description(markup ...trees.Appliable) *trees.Markup

Description provides the following for HTML elements -> The HTML <dd> element indicates the description of a term in a description list (<dl>). https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dd

func DescriptionList

func DescriptionList(markup ...trees.Appliable) *trees.Markup

DescriptionList provides the following for HTML elements -> The HTML <dl> element represents a description list. The element encloses a list of groups of terms and descriptions. Common uses for this element are to implement a glossary or to display metadata (a list of key-value pairs). https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dl

func Details

func Details(markup ...trees.Appliable) *trees.Markup

Details provides the following for HTML elements -> The HTML <details> element is used as a disclosure widget from which the user can retrieve additional information. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details

func Dialog

func Dialog(markup ...trees.Appliable) *trees.Markup

Dialog provides the following for HTML elements -> The HTML <dialog> element represents a dialog box or other interactive component, such as an inspector or window. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog

func Div

func Div(markup ...trees.Appliable) *trees.Markup

Div provides the following for HTML elements -> The HTML <div> element is the generic container for flow content and does not inherently represent anything. Use it to group elements for purposes such as styling (using the class or id attributes), marking a section of a document in a different language (using the lang attribute), and so on. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div

func Embed

func Embed(markup ...trees.Appliable) *trees.Markup

Embed provides the following for HTML elements -> The HTML <embed> element represents an integration point for an external application or interactive content (in other words, a plug-in). https://developer.mozilla.org/en-US/docs/Web/HTML/Element/embed

func Emphasis

func Emphasis(markup ...trees.Appliable) *trees.Markup

Emphasis provides the following for HTML elements -> The HTML <em> element marks text that has stress emphasis. The <em> element can be nested, with each level of nesting indicating a greater degree of emphasis. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/em

func FieldSet

func FieldSet(markup ...trees.Appliable) *trees.Markup

FieldSet provides the following for HTML elements -> The HTML <fieldset> element is used to group several controls as well as labels (<label>) within a web form. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset

func Figure

func Figure(markup ...trees.Appliable) *trees.Markup

Figure provides the following for HTML elements -> The HTML <figure> element represents self-contained content, frequently with a caption (<figcaption>), and is typically referenced as a single unit. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figure

func FigureCaption

func FigureCaption(markup ...trees.Appliable) *trees.Markup

FigureCaption provides the following for HTML elements -> The HTML <figcaption> element represents a caption or a legend associated with a figure or an illustration described by the rest of the data of the <figure> element which is its immediate ancestor. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figcaption

func Footer(markup ...trees.Appliable) *trees.Markup

Footer provides the following for HTML elements -> The HTML <footer> element represents a footer for its nearest sectioning content or sectioning root element. A footer typically contains information about the author of the section, copyright data or links to related documents. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/footer

func Form

func Form(markup ...trees.Appliable) *trees.Markup

Form provides the following for HTML elements -> The HTML <form> element represents a document section that contains interactive controls to submit information to a web server. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form

func Header(markup ...trees.Appliable) *trees.Markup

Header provides the following for HTML elements -> The HTML <header> element represents a group of introductory or navigational aids. It may contain some heading elements but also other elements like a logo, a search form, and so on. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/header

func Header1

func Header1(markup ...trees.Appliable) *trees.Markup

Header1 provides the following for HTML elements -> The HTML <h1>–<h6> elements represent six levels of section headings. <h1> is the highest section level and <h6> is the lowest. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements

func Header2

func Header2(markup ...trees.Appliable) *trees.Markup

Header2 provides the following for HTML elements -> The HTML <h1>–<h6> elements represent six levels of section headings. <h1> is the highest section level and <h6> is the lowest. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements

func Header3

func Header3(markup ...trees.Appliable) *trees.Markup

Header3 provides the following for HTML elements -> The HTML <h1>–<h6> elements represent six levels of section headings. <h1> is the highest section level and <h6> is the lowest. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements

func Header4

func Header4(markup ...trees.Appliable) *trees.Markup

Header4 provides the following for HTML elements -> The HTML <h1>–<h6> elements represent six levels of section headings. <h1> is the highest section level and <h6> is the lowest. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements

func Header5

func Header5(markup ...trees.Appliable) *trees.Markup

Header5 provides the following for HTML elements -> The HTML <h1>–<h6> elements represent six levels of section headings. <h1> is the highest section level and <h6> is the lowest. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements

func Header6

func Header6(markup ...trees.Appliable) *trees.Markup

Header6 provides the following for HTML elements -> The HTML <h1>–<h6> elements represent six levels of section headings. <h1> is the highest section level and <h6> is the lowest. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements

func HeadingsGroup

func HeadingsGroup(markup ...trees.Appliable) *trees.Markup

HeadingsGroup provides the following for HTML elements -> The HTML <hgroup> element represents a multi-level heading for a section of a document. It groups a set of <h1>–<h6> elements. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hgroup

func HorizontalRule

func HorizontalRule(markup ...trees.Appliable) *trees.Markup

HorizontalRule provides the following for HTML elements -> The HTML <hr> element represents a thematic break between paragraph-level elements (for example, a change of scene in a story, or a shift of topic with a section). In previous versions of HTML, it represented a horizontal rule. It may still be displayed as a horizontal rule in visual browsers, but is now defined in semantic terms, rather than presentational terms. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hr

func Image

func Image(markup ...trees.Appliable) *trees.Markup

Image provides the following for HTML elements -> The HTML <img> element represents an image in the document. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img

func InlineFrame

func InlineFrame(markup ...trees.Appliable) *trees.Markup

InlineFrame provides the following for HTML elements -> The HTML <iframe> element represents a nested browsing context, effectively embedding another HTML page into the current page. In HTML 4.01, a document may contain a head and a body or a head and a frameset, but not both a body and a frameset. However, an <iframe> can be used within a normal document body. Each browsing context has its own session history and active document. The browsing context that contains the embedded content is called the parent browsing context. The top-level browsing context (which has no parent) is typically the browser window. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe

func Input

func Input(markup ...trees.Appliable) *trees.Markup

Input provides the following for HTML elements -> The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input

func InsertedText

func InsertedText(markup ...trees.Appliable) *trees.Markup

InsertedText provides the following for HTML elements -> The HTML <ins> element represents a range of text that has been added to a document. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ins

func Italic

func Italic(markup ...trees.Appliable) *trees.Markup

Italic provides the following for HTML elements -> The HTML <i> element represents a range of text that is set off from the normal text for some reason, for example, technical terms, foreign language phrases, or fictional character thoughts. It is typically displayed in italic type. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/i

func KeyboardInput

func KeyboardInput(markup ...trees.Appliable) *trees.Markup

KeyboardInput provides the following for HTML elements -> The HTML <kbd> element represents user input and produces an inline element displayed in the browser's default monospace font. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/kbd

func Label

func Label(markup ...trees.Appliable) *trees.Markup

Label provides the following for HTML elements -> The HTML <label> element represents a caption for an item in a user interface. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label

func Legend

func Legend(markup ...trees.Appliable) *trees.Markup

Legend provides the following for HTML elements -> The HTML <legend> element represents a caption for the content of its parent <fieldset>. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend

func Link(markup ...trees.Appliable) *trees.Markup

Link provides the following for HTML elements -> The HTML <link> element specifies relationships between the current document and an external resource. Possible uses for this element include defining a relational framework for navigation. This Element is most used to link to style sheets. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link

func ListItem

func ListItem(markup ...trees.Appliable) *trees.Markup

ListItem provides the following for HTML elements -> The HTML <li> element is used to represent an item in a list. It must be contained in a parent element: an ordered list (<ol>), an unordered list (<ul>), or a menu (<menu>). In menus and unordered lists, list items are usually displayed using bullet points. In ordered lists, they are usually displayed with an ascending counter on the left, such as a number or letter. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li

func Main

func Main(markup ...trees.Appliable) *trees.Markup

Main provides the following for HTML elements -> The HTML <main> element represents the main content of the <body> of a document or application. The main content area consists of content that is directly related to, or expands upon the central topic of a document or the central functionality of an application. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/main

func Map

func Map(markup ...trees.Appliable) *trees.Markup

Map provides the following for HTML elements -> The HTML <map> element is used with <area> elements to define an image map (a clickable link area). https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map

func Mark

func Mark(markup ...trees.Appliable) *trees.Markup

Mark provides the following for HTML elements -> The HTML <mark> element represents highlighted text, i.e., a run of text marked for reference purpose, due to its relevance in a particular context. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/mark

func Markdown

func Markdown(md string) *trees.Markup

Markdown takes the giving string which contains markdown written contents and parses to html, which then is used to generate a new markup.

func MarkdownWithTemplate

func MarkdownWithTemplate(md string, bind interface{}) *trees.Markup

MarkdownWithTemplate takes the giving template string which contains markdown go template format strings. These will be parsed with text/template and using blackfriday to parse the final output to html, which then is used to generate a new markup. Any error is returned as a <error> tag markup.

func Menu(markup ...trees.Appliable) *trees.Markup

Menu provides the following for HTML elements -> The HTML <menu> element represents a group of commands that a user can perform or activate. This includes both list menus, which might appear across the top of a screen, as well as context menus, such as those that might appear underneath a button after it has been clicked. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu

func MenuItem(markup ...trees.Appliable) *trees.Markup

MenuItem provides the following for HTML elements -> The HTML <menuitem> element represents a command that a user is able to invoke through a popup menu. This includes context menus, as well as menus that might be attached to a menu button. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menuitem

func Meta

func Meta(markup ...trees.Appliable) *trees.Markup

Meta provides the following for HTML elements -> The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta

func Meter

func Meter(markup ...trees.Appliable) *trees.Markup

Meter provides the following for HTML elements -> The HTML <meter> element represents either a scalar value within a known range or a fractional value. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meter

func Navigation(markup ...trees.Appliable) *trees.Markup

Navigation provides the following for HTML elements -> The HTML <nav> element represents a section of a page that links to other pages or to parts within the page: a section with navigation links. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nav

func NoFrames

func NoFrames(markup ...trees.Appliable) *trees.Markup

NoFrames provides the following for HTML elements -> <noframes> is an HTML element which is used to support browsers which are not able to support <frame> elements or configured to do so. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/noframes

func NoScript

func NoScript(markup ...trees.Appliable) *trees.Markup

NoScript provides the following for HTML elements -> The HTML <noscript> element defines a section of html to be inserted if a script type on the page is unsupported or if scripting is currently turned off in the browser. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/noscript

func Object

func Object(markup ...trees.Appliable) *trees.Markup

Object provides the following for HTML elements -> The HTML <object> element represents an external resource, which can be treated as an image, a nested browsing context, or a resource to be handled by a plugin. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/object

func Option

func Option(markup ...trees.Appliable) *trees.Markup

Option provides the following for HTML elements -> The HTML <option> element is used to define an item contained in a <select>, an <optgroup>, or a <datalist> element. As such, <option> can represent menu items in popups and other lists of items in an HTML document. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option

func OptionsGroup

func OptionsGroup(markup ...trees.Appliable) *trees.Markup

OptionsGroup provides the following for HTML elements -> The HTML <optgroup> element creates a grouping of options within a <select> element. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup

func OrderedList

func OrderedList(markup ...trees.Appliable) *trees.Markup

OrderedList provides the following for HTML elements -> The HTML <ol> element represents an ordered list of items, typically rendered as a numbered list. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol

func Output

func Output(markup ...trees.Appliable) *trees.Markup

Output provides the following for HTML elements -> The HTML <output> element represents the result of a calculation or user action. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/output

func Paragraph

func Paragraph(markup ...trees.Appliable) *trees.Markup

Paragraph provides the following for HTML elements -> The HTML <p> element represents a paragraph of text. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/p

func Parameter

func Parameter(markup ...trees.Appliable) *trees.Markup

Parameter provides the following for HTML elements -> The HTML <param> element defines parameters for an <object> element. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/param

func Parse

func Parse(markup string, ms ...trees.Appliable) *trees.Markup

Parse returns the giving markup structure generated from the string.

func ParseIn

func ParseIn(root string, markup string, mo ...trees.Appliable) *trees.Markup

ParseIn returns the giving markup structure generated from the string.

func ParseTemplate

func ParseTemplate(markup string, bind interface{}, ms ...trees.Appliable) *trees.Markup

ParseTemplate returns the giving markup structure generated from the string through the template used with the binding provided.

func Picture

func Picture(markup ...trees.Appliable) *trees.Markup

Picture provides the following for HTML elements -> The HTML <picture> element is a container used to specify multiple <source> elements for a specific <img> contained in it. The browser will choose the most suitable source according to the current layout of the page (the constraints of the box the image will appear in) and the device it will be displayed on (e.g. a normal or hiDPI device.) https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture

func PlainCSS

func PlainCSS(styles interface{}, bind interface{}, ext *css.Rule) *trees.Markup

PlainCSS provides a function that takes style rules which returns a stylesheet embeded into the provided element parent and is built on the gu/css package which collects necessary details from its parent to only target where it gets mounted.

func Preformatted

func Preformatted(markup ...trees.Appliable) *trees.Markup

Preformatted provides the following for HTML elements -> The HTML <pre> element represents preformatted text. Text within this element is typically displayed in a non-proportional ("monospace") font exactly as it is laid out in the file. Whitespace inside this element is displayed as typed. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/pre

func Progress

func Progress(markup ...trees.Appliable) *trees.Markup

Progress provides the following for HTML elements -> The HTML <progress> element represents the completion progress of a task, typically displayed as a progress bar. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress

func Quote

func Quote(markup ...trees.Appliable) *trees.Markup

Quote provides the following for HTML elements -> The HTML <q> element indicates that the enclosed text is a short inline quotation. This element is intended for short quotations that don't require paragraph breaks; for long quotations use the <blockquote> element. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/q

func Rtc

func Rtc(markup ...trees.Appliable) *trees.Markup

Rtc provides the following for HTML elements -> The HTML <rtc> element embraces semantic annotations of characters presented in a ruby of <rb> elements used inside of <ruby> element. <rb> elements can have both pronunciation (<rt>) and semantic (<rtc>) annotations. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rtc

func Ruby

func Ruby(markup ...trees.Appliable) *trees.Markup

Ruby provides the following for HTML elements -> The HTML <ruby> element represents a ruby annotation. Ruby annotations are for showing pronunciation of East Asian characters. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ruby

func RubyParenthesis

func RubyParenthesis(markup ...trees.Appliable) *trees.Markup

RubyParenthesis provides the following for HTML elements -> The HTML <rp> element is used to provide fall-back parentheses for browsers that do not support display of ruby annotations using the <ruby> element. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rp

func RubyText

func RubyText(markup ...trees.Appliable) *trees.Markup

RubyText provides the following for HTML elements -> The HTML <rt> element embraces pronunciation of characters presented in a ruby annotations, which are used to describe the pronunciation of East Asian characters. This element is always used inside a <ruby> element. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rt

func Sample

func Sample(markup ...trees.Appliable) *trees.Markup

Sample provides the following for HTML elements -> The HTML <samp> element is an element intended to identify sample output from a computer program. It is usually displayed in the browser's default monotype font (such as Lucida Console). https://developer.mozilla.org/en-US/docs/Web/HTML/Element/samp

func Script

func Script(markup ...trees.Appliable) *trees.Markup

Script provides the following for HTML elements -> The HTML <script> element is used to embed or reference an executable script. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script

func Section

func Section(markup ...trees.Appliable) *trees.Markup

Section provides the following for HTML elements -> The HTML <section> element represents a standalone section of functionality contained within an HTML document, typically with a heading, which doesn't have a more specific semantic element to represent it. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/section

func Select

func Select(markup ...trees.Appliable) *trees.Markup

Select provides the following for HTML elements -> The HTML <select> element represents a control that provides a menu of options: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select

func Slot

func Slot(markup ...trees.Appliable) *trees.Markup

Slot provides the following for HTML elements -> The HTML <slot> element—part of the Web Components technology suite—is a placeholder inside a web component that you can fill with your own markup, which lets you create separate DOM trees and present them together. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/slot

func Small

func Small(markup ...trees.Appliable) *trees.Markup

Small provides the following for HTML elements -> The HTML <small> element makes the text font size one size smaller (for example, from large to medium, or from small to x-small) down to the browser's minimum font size.  In HTML5, this element is repurposed to represent side-comments and small print, including copyright and legal text, independent of its styled presentation. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/small

func Source

func Source(markup ...trees.Appliable) *trees.Markup

Source provides the following for HTML elements -> The HTML <source> element specifies multiple media resources for either the <picture>, the <audio> or the <video> element. It is an empty element. It is commonly used to serve the same media content in multiple formats supported by different browsers. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source

func Space

func Space(count int) *trees.Markup

Space provides text markup which contains the '&nbsp' text for a space element.

func Span

func Span(markup ...trees.Appliable) *trees.Markup

Span provides the following for HTML elements -> The HTML <span> element is a generic inline container for phrasing content, which does not inherently represent anything. It can be used to group elements for styling purposes (using the class or id attributes), or because they share attribute values, such as lang. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span

func Strikethrough

func Strikethrough(markup ...trees.Appliable) *trees.Markup

Strikethrough provides the following for HTML elements -> The HTML <s> element renders text with a strikethrough, or a line through it. Use the <s> element to represent things that are no longer relevant or no longer accurate. However, <s> is not appropriate when indicating document edits; for that, use the <del> and <ins> elements, as appropriate. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/s

func Strong

func Strong(markup ...trees.Appliable) *trees.Markup

Strong provides the following for HTML elements -> The HTML <strong> element gives text strong importance, and is typically displayed in bold. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/strong

func Style

func Style(markup ...trees.Appliable) *trees.Markup

Style provides the following for HTML elements -> The HTML <style> element contains style information for a document, or part of a document. By default, the style instructions written inside that element are expected to be CSS. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style

func Subscript

func Subscript(markup ...trees.Appliable) *trees.Markup

Subscript provides the following for HTML elements -> The HTML <sub> element defines a span of text that should be displayed, for typographic reasons, lower, and often smaller, than the main span of text. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sub

func Summary

func Summary(markup ...trees.Appliable) *trees.Markup

Summary provides the following for HTML elements -> The HTML <summary> element is used as a summary, caption, or legend for the content of a <details> element. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/summary

func Superscript

func Superscript(markup ...trees.Appliable) *trees.Markup

Superscript provides the following for HTML elements -> The HTML <sup> element defines a span of text that should be displayed, for typographic reasons, higher, and often smaller, than the main span of text. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sup

func Svg

func Svg(markup ...trees.Appliable) *trees.Markup

Svg provides the following for SVG XML elements -> The svg element can be used to embed an SVG fragment inside the current document (for example, an HTML document). This SVG fragment has its own viewport and coordinate system. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/svg

func SvgAltGlyph

func SvgAltGlyph(markup ...trees.Appliable) *trees.Markup

SvgAltGlyph provides the following for SVG XML elements -> The <altGlyph> SVG element allows sophisticated selection of the glyphs used to render its child character data. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/altGlyph

func SvgAltGlyphDef

func SvgAltGlyphDef(markup ...trees.Appliable) *trees.Markup

SvgAltGlyphDef provides the following for SVG XML elements -> The <altGlyphDef> SVG element defines a substitution representation for glyphs. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/altGlyphDef

func SvgAltGlyphItem

func SvgAltGlyphItem(markup ...trees.Appliable) *trees.Markup

SvgAltGlyphItem provides the following for SVG XML elements -> The <altGlyphItem> element provides a set of candidates for glyph substitution by the <altGlyph> element. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/altGlyphItem

func SvgAnchor

func SvgAnchor(markup ...trees.Appliable) *trees.Markup

SvgAnchor provides the following for SVG XML elements -> The <a> SVG element defines a hyperlink. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/a

func SvgAnimate

func SvgAnimate(markup ...trees.Appliable) *trees.Markup

SvgAnimate provides the following for SVG XML elements -> The animate element is put inside a shape element and defines how an attribute of an element changes over the animation. The attribute will change from the initial value to the end value in the duration specified. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/animate

func SvgAnimateColor

func SvgAnimateColor(markup ...trees.Appliable) *trees.Markup

SvgAnimateColor provides the following for SVG XML elements -> The <animateColor> SVG element specifies a color transformation over time. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/animateColor

func SvgAnimateMotion

func SvgAnimateMotion(markup ...trees.Appliable) *trees.Markup

SvgAnimateMotion provides the following for SVG XML elements -> The <animateMotion> element causes a referenced element to move along a motion path. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/animateMotion

func SvgAnimateTransform

func SvgAnimateTransform(markup ...trees.Appliable) *trees.Markup

SvgAnimateTransform provides the following for SVG XML elements -> The animateTransform element animates a transformation attribute on a target element, thereby allowing animations to control translation, scaling, rotation and/or skewing. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/animateTransform

func SvgCircle

func SvgCircle(markup ...trees.Appliable) *trees.Markup

SvgCircle provides the following for SVG XML elements -> The <circle> SVG element is an SVG basic shape, used to create circles based on a center point and a radius. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/circle

func SvgClipPath

func SvgClipPath(markup ...trees.Appliable) *trees.Markup

SvgClipPath provides the following for SVG XML elements -> The <clipPath> SVG element defines a clipping path. A clipping path is used/referenced using the clip-path property. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/clipPath

func SvgColorProfile

func SvgColorProfile(markup ...trees.Appliable) *trees.Markup

SvgColorProfile provides the following for SVG XML elements -> The <color-profile> element allows describing the color profile used for the image. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/color-profile

func SvgCursor

func SvgCursor(markup ...trees.Appliable) *trees.Markup

SvgCursor provides the following for SVG XML elements -> The <cursor> SVG element can be used to define a platform-independent custom cursor. A recommended approach for defining a platform-independent custom cursor is to create a PNG image and define a cursor element that references the PNG image and identifies the exact position within the image which is the pointer position (i.e., the hot spot). https://developer.mozilla.org/en-US/docs/Web/SVG/Element/cursor

func SvgDefs

func SvgDefs(markup ...trees.Appliable) *trees.Markup

SvgDefs provides the following for SVG XML elements -> SVG allows graphical objects to be defined for later reuse. It is recommended that, wherever possible, referenced elements be defined inside of a <defs> element. Defining these elements inside of a <defs> element promotes understandability of the SVG content and thus promotes accessibility. Graphical elements defined in a <defs> element will not be directly rendered. You can use a <use> element to render those elements wherever you want on the viewport. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/defs

func SvgDesc

func SvgDesc(markup ...trees.Appliable) *trees.Markup

SvgDesc provides the following for SVG XML elements -> Each container element or graphics element in an SVG drawing can supply a description string using the <desc> element where the description is text-only. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/desc

func SvgDiscard

func SvgDiscard(markup ...trees.Appliable) *trees.Markup

SvgDiscard provides the following for SVG XML elements -> The <discard> SVG element allows authors to specify the time at which particular elements are to be discarded, thereby reducing the resources required by an SVG user agent. This is particularly useful to help SVG viewers conserve memory while displaying long-running documents. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/discard

func SvgEllipse

func SvgEllipse(markup ...trees.Appliable) *trees.Markup

SvgEllipse provides the following for SVG XML elements -> The ellipse element is an SVG basic shape, used to create ellipses based on a center coordinate, and both their x and y radius. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/ellipse

func SvgFeBlend

func SvgFeBlend(markup ...trees.Appliable) *trees.Markup

SvgFeBlend provides the following for SVG XML elements -> The <feBlend> SVG filter primitive composes two objects together ruled by a certain blending mode. This is similar to what is known from image editing software when blending two layers. The mode is defined by the mode attribute. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feBlend

func SvgFeColorMatrix

func SvgFeColorMatrix(markup ...trees.Appliable) *trees.Markup

SvgFeColorMatrix provides the following for SVG XML elements -> The <feColorMatrix> SVG filter element changes colors based on a transformation matrix. Every pixel's color value (represented by an [R,G,B,A] vector) is matrix multiplied to create a new color. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feColorMatrix

func SvgFeComponentTransfer

func SvgFeComponentTransfer(markup ...trees.Appliable) *trees.Markup

SvgFeComponentTransfer provides the following for SVG XML elements -> Th <feComponentTransfer> SVG filter primitive performs color-component-wise remapping of data for each pixel. It allows operations like brightness adjustment, contrast adjustment, color balance or thresholding. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feComponentTransfer

func SvgFeComposite

func SvgFeComposite(markup ...trees.Appliable) *trees.Markup

SvgFeComposite provides the following for SVG XML elements -> This filter primitive performs the combination of two input images pixel-wise in image space using one of the Porter-Duff compositing operations: over, in, atop, out, xor and lighter. Additionally, a component-wise arithmetic operation (with the result clamped between [0..1]) can be applied. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feComposite

func SvgFeConvolveMatrix

func SvgFeConvolveMatrix(markup ...trees.Appliable) *trees.Markup

SvgFeConvolveMatrix provides the following for SVG XML elements -> The <feConvolveMatrix> SVG filter primitive applies a matrix convolution filter effect. A convolution combines pixels in the input image with neighboring pixels to produce a resulting image. A wide variety of imaging operations can be achieved through convolutions, including blurring, edge detection, sharpening, embossing and beveling. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feConvolveMatrix

func SvgFeDiffuseLighting

func SvgFeDiffuseLighting(markup ...trees.Appliable) *trees.Markup

SvgFeDiffuseLighting provides the following for SVG XML elements -> The <feDiffuseLighting> SVG filter primitive lights an image using the alpha channel as a bump map. The resulting image, which is an RGBA opaque image, depends on the light color, light position and surface geometry of the input bump map. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDiffuseLighting

func SvgFeDisplacementMap

func SvgFeDisplacementMap(markup ...trees.Appliable) *trees.Markup

SvgFeDisplacementMap provides the following for SVG XML elements -> The <feDisplacementMap> SVG filter primitive uses the pixel values from the image from in2 to spatially displace the image from in. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDisplacementMap

func SvgFeDistantLight

func SvgFeDistantLight(markup ...trees.Appliable) *trees.Markup

SvgFeDistantLight provides the following for SVG XML elements -> The <feDistantLight> filter primitive defines a distant light source that can be used within a lighting filter primitive: <feDiffuseLighting> or <feSpecularLighting>. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDistantLight

func SvgFeDropShadow

func SvgFeDropShadow(markup ...trees.Appliable) *trees.Markup

SvgFeDropShadow provides the following for SVG XML elements -> The <feDropShadow> filter primitive creates a drop shadow of the input image. It is a shorthand filter, and is defined in terms of combinations of other filter primitives. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDropShadow

func SvgFeFlood

func SvgFeFlood(markup ...trees.Appliable) *trees.Markup

SvgFeFlood provides the following for SVG XML elements -> The <feFlood> SVG filter primitive fills the filter subregion with the color and opacity defined by flood-color and flood-opacity. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFlood

func SvgFeFuncA

func SvgFeFuncA(markup ...trees.Appliable) *trees.Markup

SvgFeFuncA provides the following for SVG XML elements -> The <feFuncA> SVG filter primitive defines the transfer function for the alpha component of the input graphic of its parent <feComponentTransfer> element. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFuncA

func SvgFeFuncB

func SvgFeFuncB(markup ...trees.Appliable) *trees.Markup

SvgFeFuncB provides the following for SVG XML elements -> The <feFuncB> SVG filter primitive defines the transfer function for the blue component of the input graphic of its parent <feComponentTransfer> element. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFuncB

func SvgFeFuncG

func SvgFeFuncG(markup ...trees.Appliable) *trees.Markup

SvgFeFuncG provides the following for SVG XML elements -> The <feFuncG> SVG filter primitive defines the transfer function for the green component of the input graphic of its parent <feComponentTransfer> element. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFuncG

func SvgFeFuncR

func SvgFeFuncR(markup ...trees.Appliable) *trees.Markup

SvgFeFuncR provides the following for SVG XML elements -> The <feFuncR> SVG filter primitive defines the transfer function for the red component of the input graphic of its parent <feComponentTransfer> element. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFuncR

func SvgFeGaussianBlur

func SvgFeGaussianBlur(markup ...trees.Appliable) *trees.Markup

SvgFeGaussianBlur provides the following for SVG XML elements -> The <feGaussianBlur> SVG filter primitive blurs the input image by the amount specified in stdDeviation, which defines the bell-curve. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feGaussianBlur

func SvgFeImage

func SvgFeImage(markup ...trees.Appliable) *trees.Markup

SvgFeImage provides the following for SVG XML elements -> The <feImage> SVG filter primitive fetches image data from an external source and provides the pixel data as output (meaning if the external source is an SVG image, it is rasterized.) https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feImage

func SvgFeMerge

func SvgFeMerge(markup ...trees.Appliable) *trees.Markup

SvgFeMerge provides the following for SVG XML elements -> The <feMerge> SVG element allows filter effects to be applied concurrently instead of sequentially. This is achieved by other filters storing their output via the result attribute and then accessing it in a <feMergeNode> child. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feMerge

func SvgFeMergeNode

func SvgFeMergeNode(markup ...trees.Appliable) *trees.Markup

SvgFeMergeNode provides the following for SVG XML elements -> The feMergeNode takes the result of another filter to be processed by its parent <feMerge>. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feMergeNode

func SvgFeMorphology

func SvgFeMorphology(markup ...trees.Appliable) *trees.Markup

SvgFeMorphology provides the following for SVG XML elements -> The <feMorphology> SVG filter primitive is used to erode or dilate the input image. It's usefulness lies especially in fattening or thinning effects. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feMorphology

func SvgFeOffset

func SvgFeOffset(markup ...trees.Appliable) *trees.Markup

SvgFeOffset provides the following for SVG XML elements -> The <feOffset> SVG filter primitive allows to offset the input image. The input image as a whole is offset by the values specified in the dx and dy attributes. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feOffset

func SvgFePointLight

func SvgFePointLight(markup ...trees.Appliable) *trees.Markup

SvgFePointLight provides the following for SVG XML elements -> The SVG filter primitive allows to create a point light effect. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/fePointLight

func SvgFeSpecularLighting

func SvgFeSpecularLighting(markup ...trees.Appliable) *trees.Markup

SvgFeSpecularLighting provides the following for SVG XML elements -> The <feSpecularLighting> SVG filter primitive lights a source graphic using the alpha channel as a bump map. The resulting image is an RGBA image based on the light color. The lighting calculation follows the standard specular component of the Phong lighting model. The resulting image depends on the light color, light position and surface geometry of the input bump map. The result of the lighting calculation is added. The filter primitive assumes that the viewer is at infinity in the z direction. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feSpecularLighting

func SvgFeSpotLight

func SvgFeSpotLight(markup ...trees.Appliable) *trees.Markup

SvgFeSpotLight provides the following for SVG XML elements -> The <feSpotLight> SVG filter primitive allows to create a spotlight effect. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feSpotLight

func SvgFeTile

func SvgFeTile(markup ...trees.Appliable) *trees.Markup

SvgFeTile provides the following for SVG XML elements -> The <feTile> SVG filter primitive allows to fill a target rectangle with a repeated, tiled pattern of an input image. The effect is similar to the one of a <pattern>. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feTile

func SvgFeTurbulence

func SvgFeTurbulence(markup ...trees.Appliable) *trees.Markup

SvgFeTurbulence provides the following for SVG XML elements -> The <feTurbulence> SVG filter primitive creates an image using the Perlin turbulence function. It allows the synthesis of artificial textures like clouds or marble. The resulting image will fill the entire filter primitive subregion. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feTurbulence

func SvgFilter

func SvgFilter(markup ...trees.Appliable) *trees.Markup

SvgFilter provides the following for SVG XML elements -> The <filter> SVG element serves as container for atomic filter operations. It is never rendered directly. A filter is referenced by using the filter attribute on the target SVG element or via the filter CSS property. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/filter

func SvgFont

func SvgFont(markup ...trees.Appliable) *trees.Markup

SvgFont provides the following for SVG XML elements -> The <font> SVG element defines a font to be used for text layout. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/font

func SvgFontFace

func SvgFontFace(markup ...trees.Appliable) *trees.Markup

SvgFontFace provides the following for SVG XML elements -> The <font-face> SVG element corresponds to the CSS @font-face rule. It defines a font's outer properties. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/font-face

func SvgFontFaceFormat

func SvgFontFaceFormat(markup ...trees.Appliable) *trees.Markup

SvgFontFaceFormat provides the following for SVG XML elements -> The <font-face-format> SVG element describes the type of font referenced by its parent <font-face-uri>. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/font-face-format

func SvgFontFaceSrc

func SvgFontFaceSrc(markup ...trees.Appliable) *trees.Markup

SvgFontFaceSrc provides the following for SVG XML elements -> The <font-face-src> SVG element corresponds to the src descriptor in CSS @font-face rules. It serves as container for <font-face-name>, pointing to locally installed copies of this font, and <font-face-uri>, utilizing remotely defined fonts. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/font-face-src

func SvgFontfaceName

func SvgFontfaceName(markup ...trees.Appliable) *trees.Markup

SvgFontfaceName provides the following for SVG XML elements -> The <font-face-name> element points to a locally installed copy of this font, identified by its name. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/font-face-name

func SvgFontfaceURI

func SvgFontfaceURI(markup ...trees.Appliable) *trees.Markup

SvgFontfaceURI provides the following for SVG XML elements -> The <font-face-uri> SVG element points to a remote definition of the current font. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/font-face-uri

func SvgForeignObject

func SvgForeignObject(markup ...trees.Appliable) *trees.Markup

SvgForeignObject provides the following for SVG XML elements -> The <foreignObject> SVG element allows for inclusion of a foreign XML namespace which has its graphical content drawn by a different user agent. The included foreign graphical content is subject to SVG transformations and compositing. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/foreignObject

func SvgGlyph

func SvgGlyph(markup ...trees.Appliable) *trees.Markup

SvgGlyph provides the following for SVG XML elements -> A <glyph> defines a single glyph in an SVG font. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/glyph

func SvgGlyphRef

func SvgGlyphRef(markup ...trees.Appliable) *trees.Markup

SvgGlyphRef provides the following for SVG XML elements -> The glyphRef element provides a single possible glyph to the referencing <altGlyph> substitution. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/glyphRef

func SvgGroup

func SvgGroup(markup ...trees.Appliable) *trees.Markup

SvgGroup provides the following for SVG XML elements -> The <g> SVG element is a container used to group other SVG elements. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/g

func SvgHatch

func SvgHatch(markup ...trees.Appliable) *trees.Markup

SvgHatch provides the following for SVG XML elements -> The <hatch> SVG element is used to fill or stroke an object using one or more pre-defined paths that are repeated at fixed intervals in a specified direction to cover the areas to be painted. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/hatch

func SvgHatchpath

func SvgHatchpath(markup ...trees.Appliable) *trees.Markup

SvgHatchpath provides the following for SVG XML elements -> The <hatchpath> SVG element defines a hatch path used by the <hatch> element. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/hatchpath

func SvgHkern

func SvgHkern(markup ...trees.Appliable) *trees.Markup

SvgHkern provides the following for SVG XML elements -> The <hkern> SVG element allows to fine-tweak the horizontal distance between two glyphs. This process is known as kerning. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/hkern

func SvgImage

func SvgImage(markup ...trees.Appliable) *trees.Markup

SvgImage provides the following for SVG XML elements -> The <image> SVG element allows a raster image to be included in an SVG document. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image

func SvgLine

func SvgLine(markup ...trees.Appliable) *trees.Markup

SvgLine provides the following for SVG XML elements -> The <line> element is an SVG basic shape used to create a line connecting two points. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/line

func SvgLinearGradient

func SvgLinearGradient(markup ...trees.Appliable) *trees.Markup

SvgLinearGradient provides the following for SVG XML elements -> The <linearGradient> SVG element lets authors define linear gradients to fill or stroke graphical elements. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/linearGradient

func SvgMarker

func SvgMarker(markup ...trees.Appliable) *trees.Markup

SvgMarker provides the following for SVG XML elements -> The <marker> element defines the graphics that is to be used for drawing arrowheads or polymarkers on a given <path>, <line>, <polyline> or <polygon> element. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/marker

func SvgMask

func SvgMask(markup ...trees.Appliable) *trees.Markup

SvgMask provides the following for SVG XML elements -> In SVG, you can specify that any other graphics object or <g> element can be used as an alpha mask for compositing the current object into the background. A mask is defined with the <mask> element. A mask is used/referenced using the mask property. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/mask

func SvgMesh

func SvgMesh(markup ...trees.Appliable) *trees.Markup

SvgMesh provides the following for SVG XML elements -> The documentation about this has not yet been written; please consider contributing! https://developer.mozilla.org/en-US/docs/Web/SVG/Element/mesh

func SvgMeshgradient

func SvgMeshgradient(markup ...trees.Appliable) *trees.Markup

SvgMeshgradient provides the following for SVG XML elements -> The documentation about this has not yet been written; please consider contributing! https://developer.mozilla.org/en-US/docs/Web/SVG/Element/meshgradient

func SvgMeshpatch

func SvgMeshpatch(markup ...trees.Appliable) *trees.Markup

SvgMeshpatch provides the following for SVG XML elements -> The documentation about this has not yet been written; please consider contributing! https://developer.mozilla.org/en-US/docs/Web/SVG/Element/meshpatch

func SvgMeshrow

func SvgMeshrow(markup ...trees.Appliable) *trees.Markup

SvgMeshrow provides the following for SVG XML elements -> The documentation about this has not yet been written; please consider contributing! https://developer.mozilla.org/en-US/docs/Web/SVG/Element/meshrow

func SvgMetadata

func SvgMetadata(markup ...trees.Appliable) *trees.Markup

SvgMetadata provides the following for SVG XML elements -> The <metadata> SVG element allows to add metadata to SVG content. Metadata is structured information about data. The contents of <metadata> elements should be elements from other XML namespaces such as RDF, FOAF, etc. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/metadata

func SvgMissingGlyph

func SvgMissingGlyph(markup ...trees.Appliable) *trees.Markup

SvgMissingGlyph provides the following for SVG XML elements -> The <missing-glyph> SVG element's content is rendered, if for a given character the font doesn't define an appropriate <glyph>. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/missing-glyph

func SvgMpath

func SvgMpath(markup ...trees.Appliable) *trees.Markup

SvgMpath provides the following for SVG XML elements -> The <mpath> sub-element for the <animateMotion> element provides the ability to reference an external <path> element as the definition of a motion path. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/mpath

func SvgPath

func SvgPath(markup ...trees.Appliable) *trees.Markup

SvgPath provides the following for SVG XML elements -> The <path> SVG element is the generic element to define a shape. All the basic shapes can be created with a path element. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/path

func SvgPattern

func SvgPattern(markup ...trees.Appliable) *trees.Markup

SvgPattern provides the following for SVG XML elements -> The <pattern> element defines a graphics object which can be redrawn at repeated x and y-coordinate intervals ("tiled") to cover an area. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/pattern

func SvgPolygon

func SvgPolygon(markup ...trees.Appliable) *trees.Markup

SvgPolygon provides the following for SVG XML elements -> The <polygon> element defines a closed shape consisting of a set of connected straight line segments. The last point is connected to the first point. For open shapes see the <polyline> element. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/polygon

func SvgPolyline

func SvgPolyline(markup ...trees.Appliable) *trees.Markup

SvgPolyline provides the following for SVG XML elements -> The <polyline> SVG element is an SVG basic shape that creates straight lines connecting several points. Typically a polyline is used to create open shapes as the last point doesn't have to be connected to the first point. For closed shapes see the <polygon> element. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/polyline

func SvgRadialGradient

func SvgRadialGradient(markup ...trees.Appliable) *trees.Markup

SvgRadialGradient provides the following for SVG XML elements -> The <radialGradient> SVG element lets authors define radial gradients to fill or stroke graphical elements. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/radialGradient

func SvgRect

func SvgRect(markup ...trees.Appliable) *trees.Markup

SvgRect provides the following for SVG XML elements -> The rect element is an SVG basic shape, used to create rectangles based on the position of a corner and their width and height. It may also be used to create rectangles with rounded corners. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/rect

func SvgScript

func SvgScript(markup ...trees.Appliable) *trees.Markup

SvgScript provides the following for SVG XML elements -> A SVG script element is equivalent to the script element in HTML and thus is the place for scripts (e.g., ECMAScript). https://developer.mozilla.org/en-US/docs/Web/SVG/Element/script

func SvgSet

func SvgSet(markup ...trees.Appliable) *trees.Markup

SvgSet provides the following for SVG XML elements -> The <set> element provides a simple means of just setting the value of an attribute for a specified duration. It supports all attribute types, including those that cannot reasonably be interpolated, such as string and boolean values. The <set> element is non-additive. The additive and accumulate attributes are not allowed, and will be ignored if specified. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/set

func SvgSolidcolor

func SvgSolidcolor(markup ...trees.Appliable) *trees.Markup

SvgSolidcolor provides the following for SVG XML elements -> The <solidColor> SVG element lets authors define a single color for use in multiple places in an SVG document. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/solidcolor

func SvgStop

func SvgStop(markup ...trees.Appliable) *trees.Markup

SvgStop provides the following for SVG XML elements -> The <stop> SVG element defines the ramp of colors to use on a gradient, which is a child element to either the <linearGradient> or the <radialGradient> element. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/stop

func SvgStyle

func SvgStyle(markup ...trees.Appliable) *trees.Markup

SvgStyle provides the following for SVG XML elements -> The <style> SVG element allows style sheets to be embedded directly within SVG content. SVG's style element has the same attributes as the corresponding element in HTML (see HTML's <style> element). https://developer.mozilla.org/en-US/docs/Web/SVG/Element/style

func SvgSwitch

func SvgSwitch(markup ...trees.Appliable) *trees.Markup

SvgSwitch provides the following for SVG XML elements -> The <switch> SVG element evaluates the requiredFeatures, requiredExtensions and systemLanguage attributes on its direct child elements in order, and then processes and renders the first child for which these attributes evaluate to true. All others will be bypassed and therefore not rendered. If the child element is a container element such as a <g>, then the entire subtree is either processed/rendered or bypassed/not rendered. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/switch

func SvgSymbol

func SvgSymbol(markup ...trees.Appliable) *trees.Markup

SvgSymbol provides the following for SVG XML elements -> The <symbol> element is used to define graphical template objects which can be instantiated by a <use> element. The use of symbol elements for graphics that are used multiple times in the same document adds structure and semantics. Documents that are rich in structure may be rendered graphically, as speech, or as Braille, and thus promote accessibility. Note that a symbol element itself is not rendered. Only instances of a symbol element (i.e., a reference to a symbol by a <use> element) are rendered. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/symbol

func SvgText

func SvgText(markup ...trees.Appliable) *trees.Markup

SvgText provides the following for SVG XML elements -> The SVG <text> element defines a graphics element consisting of text. It's possible to apply a gradient, pattern, clipping path, mask, or filter to <text>, just like any other SVG graphics element. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/text

func SvgTextPath

func SvgTextPath(markup ...trees.Appliable) *trees.Markup

SvgTextPath provides the following for SVG XML elements -> In addition to text drawn in a straight line, SVG also includes the ability to place text along the shape of a <path> element. To specify that a block of text is to be rendered along the shape of a <path>, include the given text within a <textPath> element which includes an href attribute with a reference to a <path> element. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/textPath

func SvgTitle

func SvgTitle(markup ...trees.Appliable) *trees.Markup

SvgTitle provides the following for SVG XML elements -> Each container element or graphics element in an SVG drawing can supply a <title> element containing a description string where the description is text-only. When the current SVG document fragment is rendered as SVG on visual media, <title> element is not rendered as part of the graphics. However, some user agents may, for example, display the <title> element as a tooltip. Alternate presentations are possible, both visual and aural, which display the <title> element but do not display path elements or other graphics elements. The <title> element generally improves accessibility of SVG documents. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/title

func SvgTref

func SvgTref(markup ...trees.Appliable) *trees.Markup

SvgTref provides the following for SVG XML elements -> The textual content for a <text> SVG element can be either character data directly embedded within the <text> element or the character data content of a referenced element, where the referencing is specified with a <tref> element. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/tref

func SvgTspan

func SvgTspan(markup ...trees.Appliable) *trees.Markup

SvgTspan provides the following for SVG XML elements -> Within a <text> element, text and font properties and the current text position can be adjusted with absolute or relative coordinate values by including a <tspan> element. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/tspan

func SvgUnknown

func SvgUnknown(markup ...trees.Appliable) *trees.Markup

SvgUnknown provides the following for SVG XML elements -> The documentation about this has not yet been written; please consider contributing! https://developer.mozilla.org/en-US/docs/Web/SVG/Element/unknown

func SvgUse

func SvgUse(markup ...trees.Appliable) *trees.Markup

SvgUse provides the following for SVG XML elements -> The <use> element takes nodes from within the SVG document, and duplicates them somewhere else. The effect is the same as if the nodes were deeply cloned into a non-exposed DOM, and then pasted where the use element is, much like cloned template elements in HTML5. Since the cloned nodes are not exposed, care must be taken when using CSS to style a use element and its hidden descendants. CSS attributes are not guaranteed to be inherited by the hidden, cloned DOM unless you explicitly request it using CSS inheritance. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/use

func SvgView

func SvgView(markup ...trees.Appliable) *trees.Markup

SvgView provides the following for SVG XML elements -> A view is a defined way to view the image, like a zoom level or a detail view. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/view

func SvgVkern

func SvgVkern(markup ...trees.Appliable) *trees.Markup

SvgVkern provides the following for SVG XML elements -> The <vkern> SVG element allows to fine-tweak the vertical distance between two glyphs in top-to-bottom fonts. This process is known as kerning. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/vkern

func Table

func Table(markup ...trees.Appliable) *trees.Markup

Table provides the following for HTML elements -> The HTML <table> element represents tabular data — that is, information expressed via a two-dimensional data table. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table

func TableBody

func TableBody(markup ...trees.Appliable) *trees.Markup

TableBody provides the following for HTML elements -> The HTML <tbody> element groups one or more <tr> elements as the body of a <table> element. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody

func TableData

func TableData(markup ...trees.Appliable) *trees.Markup

TableData provides the following for HTML elements -> The HTML <td> element defines a cell of a table that contains data. It participates in the table model. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td

func TableFoot

func TableFoot(markup ...trees.Appliable) *trees.Markup

TableFoot provides the following for HTML elements -> The HTML <tfoot> element defines a set of rows summarizing the columns of the table. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tfoot

func TableHead

func TableHead(markup ...trees.Appliable) *trees.Markup

TableHead provides the following for HTML elements -> The HTML <thead> element defines a set of rows defining the head of the columns of the table. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead

func TableHeader

func TableHeader(markup ...trees.Appliable) *trees.Markup

TableHeader provides the following for HTML elements -> The HTML <th> element defines a cell as header of a group of table cells. The exact nature of this group is defined by the scope and headers attributes. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th

func TableRow

func TableRow(markup ...trees.Appliable) *trees.Markup

TableRow provides the following for HTML elements -> The HTML <tr> element defines a row of cells in a table. Those can be a mix of <td> and <th> elements. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr

func Template

func Template(markup ...trees.Appliable) *trees.Markup

Template provides the following for HTML elements -> The HTML <template> element is a mechanism for holding client-side content that is not to be rendered when a page is loaded but may subsequently be instantiated during runtime using JavaScript. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template

func Text

func Text(content string, dl ...interface{}) *trees.Markup

Text provides custom type for defining text nodes with the trees markup.

func TextArea

func TextArea(markup ...trees.Appliable) *trees.Markup

TextArea provides the following for HTML elements -> The HTML <textarea> element represents a multi-line plain-text editing control. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea

func Time

func Time(markup ...trees.Appliable) *trees.Markup

Time provides the following for HTML elements -> The HTML <time> element represents either a time on a 24-hour clock or a precise date in the Gregorian calendar (with optional time and timezone information). https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time

func Title

func Title(markup ...trees.Appliable) *trees.Markup

Title provides the following for HTML elements -> The HTML <title> element defines the title of the document, shown in a browser's title bar or on the page's tab. It can only contain text, and any contained tags are ignored. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title

func Track

func Track(markup ...trees.Appliable) *trees.Markup

Track provides the following for HTML elements -> The HTML <track> element is used as a child of the media elements <audio> and <video>. It lets you specify timed text tracks (or time-based data), for example to automatically handle subtitles. The tracks are formatted in WebVTT format (.vtt files) — Web Video Text Tracks. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/track

func Underline

func Underline(markup ...trees.Appliable) *trees.Markup

Underline provides the following for HTML elements -> The HTML <u> element renders text with an underline, a line under the baseline of its content. In HTML5, this element represents a span of text with an unarticulated, though explicitly rendered, non-textual annotation, such as labeling the text as being a proper name in Chinese text (a Chinese proper name mark), or labeling the text as being misspelled. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/u

func UnorderedList

func UnorderedList(markup ...trees.Appliable) *trees.Markup

UnorderedList provides the following for HTML elements -> The HTML <ul> element represents an unordered list of items, typically rendered as a bulleted list. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul

func Variable

func Variable(markup ...trees.Appliable) *trees.Markup

Variable provides the following for HTML elements -> The HTML <var> element represents a variable in a mathematical expression or a programming context. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/var

func Video

func Video(markup ...trees.Appliable) *trees.Markup

Video provides the following for HTML elements -> Use the HTML <video> element to embed video content in a document. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video

func WordBreakOpportunity

func WordBreakOpportunity(markup ...trees.Appliable) *trees.Markup

WordBreakOpportunity provides the following for HTML elements -> The HTML <wbr> element represents a word break opportunity—a position within text where the browser may optionally break a line, though its line-breaking rules would not otherwise create a break at that location. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/wbr

Types

This section is empty.

Jump to

Keyboard shortcuts

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