tag

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Rendered for js/wasm

Overview

Package tag contains constructors of HTML Tags. Generates with texts from https://developer.mozilla.org/en-US/docs/Web/HTML/Element page

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func A

func A() *mogowk.Tag

A is a <a> HTML tag

With its href attribute, creates a hyperlink to web pages, files or anything
else a URL can address

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a

func Abbr

func Abbr() *mogowk.Tag

Abbr is a <abbr> HTML tag

Represents an abbreviation or acronym;

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/abbr

func Address

func Address() *mogowk.Tag

Address is a <address> HTML tag

Indicates that the enclosed HTML provides contact information

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/address

func Area

func Area() *mogowk.Tag

Area is a <area> HTML tag

Defines a hot-spot region on an image, and optionally associates it with a
hypertext link

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/area

func Article

func Article() *mogowk.Tag

Article is a <article> HTML tag

Represents a self-contained composition in a document, page, etc...

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/article

func Aside

func Aside() *mogowk.Tag

Aside is a <aside> HTML tag

Represents a portion of a document whose content is only indirectly related to
the document's main content

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/aside

func Audio

func Audio() *mogowk.Tag

Audio is a <audio> HTML tag

Is used to embed sound content in documents. It may contain one or more audio
sources

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio

func B

func B() *mogowk.Tag

B is a <b> HTML tag

Is used to draw the reader's attention to the element's contents

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/b

func BDI

func BDI() *mogowk.Tag

BDI is a <bdi> HTML tag

Tells the browser's bidirectional algorithm to treat the text it contains in
isolation from its surrounding text

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdi

func BDO

func BDO() *mogowk.Tag

BDO is a <bdo> HTML tag

Overrides the current directionality of text, so that the text within is
rendered in a different direction

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdo

func BR

func BR() *mogowk.Tag

BR is a <br> HTML tag

Produces a line break in text (carriage-return)

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/br

func Blockquote

func Blockquote() *mogowk.Tag

Blockquote is a <blockquote> HTML tag

Indicates that the enclosed text is an extended quotation

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/blockquote

func Body

func Body() *mogowk.Tag

Body is a <body> HTML tag

Defines the document's body

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body

func Button

func Button() *mogowk.Tag

Button is a <button> HTML tag

Represents a clickable button, used to submit forms or anywhere in a document
for accessible, standard button functionality

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button

func Canvas

func Canvas() *mogowk.Tag

Canvas is a <canvas> HTML tag

With either the canvas scripting API or the WebGL API to draw graphics and
animations

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas

func Caption

func Caption() *mogowk.Tag

Caption is a <caption> HTML tag

Specifies the caption (or title) of a table

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/caption

func Cite

func Cite() *mogowk.Tag

Cite is a <cite> HTML tag

Is used to describe a reference to a cited creative work, and must include the
title of that work

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/cite

func Code

func Code() *mogowk.Tag

Code is a <code> HTML tag

Displays its contents styled in a fashion intended to indicate that the text is
a short fragment of computer code

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/code

func Col

func Col() *mogowk.Tag

Col is a <col> HTML tag

Defines a column within a table and is used for defining common semantics on
all common cells

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col

func ColGroup

func ColGroup() *mogowk.Tag

ColGroup is a <colgroup> HTML tag

Defines a group of columns within a table

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup

func DD

func DD() *mogowk.Tag

DD is a <dd> HTML tag

Provides the description, definition, or value for the preceding term (<dt>) in
a description list (<dl>)

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dd

func DFN

func DFN() *mogowk.Tag

DFN is a <dfn> HTML tag

Is used to indicate the term being defined within the context of a definition
phrase or sentence

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dfn

func DL

func DL() *mogowk.Tag

DL is a <dl> HTML tag

Represents a description list. The element encloses a list of groups of terms
(specified using the <dt> element) and descriptions (provided by <dd> elements)

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dl

func DT

func DT() *mogowk.Tag

DT is a <dt> HTML tag

Specifies a term in a description or definition list, and as such must be used
inside a <dl> elemen.

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dt

func Data

func Data() *mogowk.Tag

Data is a <data> HTML tag

Links a given content with a machine-readable translation

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/data

func DataList

func DataList() *mogowk.Tag

DataList is a <datalist> HTML tag

Contains a set of <option> elements that represent the permissible

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist

func Del

func Del() *mogowk.Tag

Del is a <del> HTML tag

Represents a range of text that has been deleted from a document

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/del

func Details

func Details() *mogowk.Tag

Details is a <details> HTML tag

Creates a disclosure widget in which information is visible only when the
widget is toggled into an "open" state

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details

func Dialog

func Dialog() *mogowk.Tag

Dialog is a <dialog> HTML tag

represents a dialog box or other interactive component, such as a dismissable
alert, inspector, or subwindow

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog

func Div

func Div() *mogowk.Tag

Div is a <div> HTML tag

Is the generic container for flow content. It has no effect on the content or
layout until styled using CSS

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div

func EM

func EM() *mogowk.Tag

EM is a <em> HTML tag

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 Embed

func Embed() *mogowk.Tag

Embed is a <embed> HTML tag

Embeds external content at the specified point in the document

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/embed

func Fieldset

func Fieldset() *mogowk.Tag

Fieldset is a <fieldset> HTML tag

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 Figcaption

func Figcaption() *mogowk.Tag

Figcaption is a <figcaption> HTML tag

Represents a caption or legend describing the rest of the contents of its
parent <figure> element

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figcaption

func Figure

func Figure() *mogowk.Tag

Figure is a <figure> HTML tag

Represents self-contained content, potentially with an optional caption, which
is specified using the (<figcaption>) element

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figure

func Footer() *mogowk.Tag

Footer is a <footer> HTML tag

Represents a footer for its nearest sectioning content or sectioning root
element

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/footer

func Form

func Form() *mogowk.Tag

Form is a <form> HTML tag

Represents a document section containing interactive controls for submitting
information

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form

func H1

func H1() *mogowk.Tag

H1 is a <h1> HTML tag

Represent six levels of section headings

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements

func H2

func H2() *mogowk.Tag

H2 is a <h2> HTML tag

Represent six levels of section headings

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements

func H3

func H3() *mogowk.Tag

H3 is a <h3> HTML tag

Represent six levels of section headings

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements

func H4

func H4() *mogowk.Tag

H4 is a <h4> HTML tag

Represent six levels of section headings

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements

func H5

func H5() *mogowk.Tag

H5 is a <h5> HTML tag

Represent six levels of section headings

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements

func H6

func H6() *mogowk.Tag

H6 is a <h6> HTML tag

Represent six levels of section headings

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements

func HGroup

func HGroup() *mogowk.Tag

HGroup is a <hgroup> HTML tag

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 HR

func HR() *mogowk.Tag

HR is a <hr> HTML tag

Represents a thematic break between paragraph-level elements

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hr

func Header() *mogowk.Tag

Header is a <header> HTML tag

Represents introductory content, typically a group of introductory or
navigational aids

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/header

func I

func I() *mogowk.Tag

I is a <i> HTML tag

Represents a range of text that is set off from the normal text for some reason

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/i

func Iframe

func Iframe() *mogowk.Tag

Iframe is a <iframe> HTML tag

Represents a nested browsing context, embedding another HTML page into the
current one.

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe

func Img

func Img() *mogowk.Tag

Img is a <img> HTML tag

Embeds an image into the document

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img

func Input

func Input() *mogowk.Tag

Input is a <input> HTML tag

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 Ins

func Ins() *mogowk.Tag

Ins is a <ins> HTML tag

Represents a range of text that has been added to a document

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ins

func KBD

func KBD() *mogowk.Tag

KBD is a <kbd> HTML tag

Represents a span of inline text denoting textual user input from a keyboard,
voice input, or any other text entry device.

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/kbd

func LI

func LI() *mogowk.Tag

LI is a <li> HTML tag

Used to represent an item in a list

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li

func Label

func Label() *mogowk.Tag

Label is a <label> HTML tag

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() *mogowk.Tag

Legend is a <legend> HTML tag

Represents a caption for the content of its parent <fieldset>

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend

func Link() *mogowk.Tag

Link is a <link> HTML tag

Specifies relationships between the current document and an external resource

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link

func Main

func Main() *mogowk.Tag

Main is a <main> HTML tag

Represents the dominant content of the <body> of a document

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/main

func Map

func Map() *mogowk.Tag

Map is a <map> HTML tag

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() *mogowk.Tag

Mark is a <mark> HTML tag

Represents text which is marked or highlighted for reference or notation
purposes

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/mark

func Meter

func Meter() *mogowk.Tag

Meter is a <meter> HTML tag

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 Nav() *mogowk.Tag

Nav is a <nav> HTML tag

Represents navigation links, either within the current document or to other
documents

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nav

func NoScript

func NoScript() *mogowk.Tag

NoScript is a <noscript> HTML tag

Is used to embed or reference executable code; this is typically used to embed
or refer to JavaScript code

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/noscript

func OL

func OL() *mogowk.Tag

OL is a <ol> HTML tag

Represents an ordered list of items — typically rendered as a numbered list

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol

func Object

func Object() *mogowk.Tag

Object is a <object> HTML tag

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 OptGroup

func OptGroup() *mogowk.Tag

OptGroup is a <optgroup> HTML tag

Creates a grouping of options within a <select> element

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup

func Option

func Option() *mogowk.Tag

Option is a <option> HTML tag

Is used to define an item contained in a <select>, an <optgroup>, or a
<datalist> element

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option

func Output

func Output() *mogowk.Tag

Output is a <output> HTML tag

Is a container element into which a site or app can inject the results of a
calculation or the outcome of a user action

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/output

func P

func P() *mogowk.Tag

P is a <p> HTML tag

Represents a paragraph

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/p

func Param

func Param() *mogowk.Tag

Param is a <param> HTML tag

Defines parameters for an <object> element

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/param

func Picture

func Picture() *mogowk.Tag

Picture is a <picture> HTML tag

Contains zero or more <source> elements and one <img> element to offer
alternative versions of an image for different display scenarios

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture

func Pre

func Pre() *mogowk.Tag

Pre is a <pre> HTML tag

Represents preformatted text which is to be presented exactly as written in the
HTML file

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/pre

func Progress

func Progress() *mogowk.Tag

Progress is a <progress> HTML tag

Displays an indicator showing the completion progress of a task, typically
displayed as a progress bar

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress

func Q

func Q() *mogowk.Tag

Q is a <q> HTML tag

Indicates that the enclosed text is a short inline quotation. Most modern
browsers implement this by surrounding the text in quotation marks

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/q

func RB

func RB() *mogowk.Tag

RB is a <rb> HTML tag

Is used to delimit the base text component of a <ruby> annotation, i.e. the
text that is being annotated.

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rb

func RP

func RP() *mogowk.Tag

RP is a <rp> HTML tag

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 RT

func RT() *mogowk.Tag

RT is a <rt> HTML tag

Specifies the ruby text component of a ruby annotation, which is used to
provide pronunciation, translation for East Asian typography.

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rt

func RTC

func RTC() *mogowk.Tag

RTC is a <rtc> HTML tag

Embraces semantic annotations of characters presented in a ruby of <rb>
elements used inside of <ruby> element

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rtc

func Ruby

func Ruby() *mogowk.Tag

Ruby is a <ruby> HTML tag

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 S

func S() *mogowk.Tag

S is a <s> HTML tag

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

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/s

func SVG

func SVG() *mogowk.Tag

SVG is a <svg> HTML tag

SVG elements can be modified using attributes that specify details about
exactly how the element should be handled or rendered

https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute

func Samp

func Samp() *mogowk.Tag

Samp is a <samp> HTML tag

Is used to enclose inline text which represents sample (or quoted) output from
a computer program

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/samp

func Script

func Script() *mogowk.Tag

Script is a <script> HTML tag

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/script

func Section

func Section() *mogowk.Tag

Section is a <section> HTML tag

Represents a standalone section — 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() *mogowk.Tag

Select is a <select> HTML tag

Represents a control that provides a menu of options

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select

func Small

func Small() *mogowk.Tag

Small is a <small> HTML tag

Represents side-comments and small print, like copyright and legal text,
independent of its styled presentation

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/small

func Source

func Source() *mogowk.Tag

Source is a <source> HTML tag

Specifies multiple media resources for the <picture>, the <audio>, or the
<video> element

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source

func Span

func Span() *mogowk.Tag

Span is a <span> HTML tag

Is a generic inline container for phrasing content, which does not inherently
represent anything

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span

func Strong

func Strong() *mogowk.Tag

Strong is a <strong> HTML tag

Indicates that its contents have strong importance, seriousness, or urgency

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/strong

func Style

func Style() *mogowk.Tag

Style is a <style> HTML tag

Contains style information for a document, or part of a document

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style

func Sub

func Sub() *mogowk.Tag

Sub is a <sub> HTML tag

Specifies inline text which should be displayed as subscript for solely
typographical reasons

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sub

func Summary

func Summary() *mogowk.Tag

Summary is a <summary> HTML tag

Specifies a summary, caption, or legend for a <details> element's disclosure
box

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/summary

func Sup

func Sup() *mogowk.Tag

Sup is a <sup> HTML tag

Specifies inline text which is to be displayed as superscript for solely
typographical reasons

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sup

func TBody

func TBody() *mogowk.Tag

TBody is a <tbody> HTML tag

Encapsulates a set of table rows (<tr>), indicating that they comprise the body
of the table

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody

func TD

func TD() *mogowk.Tag

TD is a <td> HTML tag

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 TFoot

func TFoot() *mogowk.Tag

TFoot is a <tfoot> HTML tag

Defines a set of rows summarizing the columns of the table

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tfoot

func TH

func TH() *mogowk.Tag

TH is a <th> HTML tag

Defines a cell as header of a group of table cells

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th

func THead

func THead() *mogowk.Tag

THead is a <thead> HTML tag

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 TR

func TR() *mogowk.Tag

TR is a <tr> HTML tag

Defines a row of cells in a table

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr

func Table

func Table() *mogowk.Tag

Table is a <table> HTML tag

Represents tabular data — that is, information presented in a two-dimensional
table comprised of rows and columns of cells containing data

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table

func Text

func Text(text string) *mogowk.Tag

Text creates a new Text node like a document.createTextNode() method

https://developer.mozilla.org/en-US/docs/Web/API/Document/createTextNode

func TextArea

func TextArea() *mogowk.Tag

TextArea is a <textarea> HTML tag

Represents a multi-line plain-text editing control, useful when you want to
allow users to enter a sizeable amount of free-form text

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea

func Time

func Time() *mogowk.Tag

Time is a <time> HTML tag

Represents a specific period in time

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time

func Track

func Track() *mogowk.Tag

Track is a <track> HTML tag

Is used as a child of the media elements <audio> and <video>. It lets you
specify timed text tracks (or time-based data)

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/track

func U

func U() *mogowk.Tag

U is a <u> HTML tag

Represents a span of inline text which should be rendered in a way that
indicates that it has a non-textual annotation

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/u

func UL

func UL() *mogowk.Tag

UL is a <ul> HTML tag

Represents an unordered list of items, typically rendered as a bulleted list

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul

func Var

func Var() *mogowk.Tag

Var is a <var> HTML tag

Represents the name of 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() *mogowk.Tag

Video is a <video> HTML tag

Embeds a media player which supports video playback into the document

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video

func WBR

func WBR() *mogowk.Tag

WBR is a <wbr> HTML tag

Represents a word break opportunity—a position within text where the browser
may optionally break a line

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