Documentation ¶
Overview ¶
Package tag contains constructors of HTML Tags. Generates with texts from https://developer.mozilla.org/en-US/docs/Web/HTML/Element page
Index ¶
- func A() *mogowk.Tag
- func Abbr() *mogowk.Tag
- func Address() *mogowk.Tag
- func Area() *mogowk.Tag
- func Article() *mogowk.Tag
- func Aside() *mogowk.Tag
- func Audio() *mogowk.Tag
- func B() *mogowk.Tag
- func BDI() *mogowk.Tag
- func BDO() *mogowk.Tag
- func BR() *mogowk.Tag
- func Blockquote() *mogowk.Tag
- func Body() *mogowk.Tag
- func Button() *mogowk.Tag
- func Canvas() *mogowk.Tag
- func Caption() *mogowk.Tag
- func Cite() *mogowk.Tag
- func Code() *mogowk.Tag
- func Col() *mogowk.Tag
- func ColGroup() *mogowk.Tag
- func DD() *mogowk.Tag
- func DFN() *mogowk.Tag
- func DL() *mogowk.Tag
- func DT() *mogowk.Tag
- func Data() *mogowk.Tag
- func DataList() *mogowk.Tag
- func Del() *mogowk.Tag
- func Details() *mogowk.Tag
- func Dialog() *mogowk.Tag
- func Div() *mogowk.Tag
- func EM() *mogowk.Tag
- func Embed() *mogowk.Tag
- func Fieldset() *mogowk.Tag
- func Figcaption() *mogowk.Tag
- func Figure() *mogowk.Tag
- func Footer() *mogowk.Tag
- func Form() *mogowk.Tag
- func H1() *mogowk.Tag
- func H2() *mogowk.Tag
- func H3() *mogowk.Tag
- func H4() *mogowk.Tag
- func H5() *mogowk.Tag
- func H6() *mogowk.Tag
- func HGroup() *mogowk.Tag
- func HR() *mogowk.Tag
- func Header() *mogowk.Tag
- func I() *mogowk.Tag
- func Iframe() *mogowk.Tag
- func Img() *mogowk.Tag
- func Input() *mogowk.Tag
- func Ins() *mogowk.Tag
- func KBD() *mogowk.Tag
- func LI() *mogowk.Tag
- func Label() *mogowk.Tag
- func Legend() *mogowk.Tag
- func Link() *mogowk.Tag
- func Main() *mogowk.Tag
- func Map() *mogowk.Tag
- func Mark() *mogowk.Tag
- func Meter() *mogowk.Tag
- func Nav() *mogowk.Tag
- func NoScript() *mogowk.Tag
- func OL() *mogowk.Tag
- func Object() *mogowk.Tag
- func OptGroup() *mogowk.Tag
- func Option() *mogowk.Tag
- func Output() *mogowk.Tag
- func P() *mogowk.Tag
- func Param() *mogowk.Tag
- func Picture() *mogowk.Tag
- func Pre() *mogowk.Tag
- func Progress() *mogowk.Tag
- func Q() *mogowk.Tag
- func RB() *mogowk.Tag
- func RP() *mogowk.Tag
- func RT() *mogowk.Tag
- func RTC() *mogowk.Tag
- func Ruby() *mogowk.Tag
- func S() *mogowk.Tag
- func SVG() *mogowk.Tag
- func Samp() *mogowk.Tag
- func Script() *mogowk.Tag
- func Section() *mogowk.Tag
- func Select() *mogowk.Tag
- func Small() *mogowk.Tag
- func Source() *mogowk.Tag
- func Span() *mogowk.Tag
- func Strong() *mogowk.Tag
- func Style() *mogowk.Tag
- func Sub() *mogowk.Tag
- func Summary() *mogowk.Tag
- func Sup() *mogowk.Tag
- func TBody() *mogowk.Tag
- func TD() *mogowk.Tag
- func TFoot() *mogowk.Tag
- func TH() *mogowk.Tag
- func THead() *mogowk.Tag
- func TR() *mogowk.Tag
- func Table() *mogowk.Tag
- func Text(text string) *mogowk.Tag
- func TextArea() *mogowk.Tag
- func Time() *mogowk.Tag
- func Track() *mogowk.Tag
- func U() *mogowk.Tag
- func UL() *mogowk.Tag
- func Var() *mogowk.Tag
- func Video() *mogowk.Tag
- func WBR() *mogowk.Tag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func A ¶
A is a <a> HTML tag
With its href attribute, creates a hyperlink to web pages, files or anything else a URL can address
func Abbr ¶
Abbr is a <abbr> HTML tag
Represents an abbreviation or acronym;
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/abbr
func Address ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 BDI ¶
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 ¶
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 ¶
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 ¶
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 ¶
Body is a <body> HTML tag
Defines the document's body
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body
func Button ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
I is a <i> HTML tag
Represents a range of text that is set off from the normal text for some reason
func Iframe ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 Param ¶
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 ¶
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 ¶
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 ¶
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 ¶
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
func RB ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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
func SVG ¶
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
func Samp ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
Text creates a new Text node like a document.createTextNode() method
https://developer.mozilla.org/en-US/docs/Web/API/Document/createTextNode
func TextArea ¶
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 ¶
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 ¶
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 ¶
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
func UL ¶
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 ¶
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 ¶
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 ¶
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.