diff --git a/lib/pure/htmlgen.nim b/lib/pure/htmlgen.nim
index 99af26c993..ba50a4a6e1 100644
--- a/lib/pure/htmlgen.nim
+++ b/lib/pure/htmlgen.nim
@@ -119,82 +119,82 @@ proc xmlCheckedTag*(argsList: NimNode, tag: string, optAttr = "", reqAttr = "",
result = nestList(!"&", result)
macro a*(e: varargs[untyped]): untyped =
- ## generates the HTML ``a`` element.
+ ## Generates the HTML ``a`` element.
result = xmlCheckedTag(e, "a", "href target download rel hreflang type " &
commonAttr)
macro abbr*(e: varargs[untyped]): untyped =
- ## generates the HTML ``abbr`` element.
+ ## Generates the HTML ``abbr`` element.
result = xmlCheckedTag(e, "abbr", commonAttr)
macro address*(e: varargs[untyped]): untyped =
- ## generates the HTML ``address`` element.
+ ## Generates the HTML ``address`` element.
result = xmlCheckedTag(e, "address", commonAttr)
macro area*(e: varargs[untyped]): untyped =
- ## generates the HTML ``area`` element.
+ ## Generates the HTML ``area`` element.
result = xmlCheckedTag(e, "area", "coords download href hreflang rel " &
"shape target type" & commonAttr, "alt", true)
macro article*(e: varargs[untyped]): untyped =
- ## generates the HTML ``article`` element.
+ ## Generates the HTML ``article`` element.
result = xmlCheckedTag(e, "article", commonAttr)
macro aside*(e: varargs[untyped]): untyped =
- ## generates the HTML ``aside`` element.
+ ## Generates the HTML ``aside`` element.
result = xmlCheckedTag(e, "aside", commonAttr)
macro audio*(e: varargs[untyped]): untyped =
- ## generates the HTML ``audio`` element.
+ ## Generates the HTML ``audio`` element.
result = xmlCheckedTag(e, "audio", "src crossorigin preload " &
"autoplay mediagroup loop muted controls" & commonAttr)
macro b*(e: varargs[untyped]): untyped =
- ## generates the HTML ``b`` element.
+ ## Generates the HTML ``b`` element.
result = xmlCheckedTag(e, "b", commonAttr)
macro base*(e: varargs[untyped]): untyped =
- ## generates the HTML ``base`` element.
+ ## Generates the HTML ``base`` element.
result = xmlCheckedTag(e, "base", "href target" & commonAttr, "", true)
macro bdi*(e: varargs[untyped]): untyped =
- ## generates the HTML ``bdi`` element.
+ ## Generates the HTML ``bdi`` element.
result = xmlCheckedTag(e, "bdi", commonAttr)
macro bdo*(e: varargs[untyped]): untyped =
- ## generates the HTML ``bdo`` element.
+ ## Generates the HTML ``bdo`` element.
result = xmlCheckedTag(e, "bdo", commonAttr)
macro big*(e: varargs[untyped]): untyped =
- ## generates the HTML ``big`` element.
+ ## Generates the HTML ``big`` element.
result = xmlCheckedTag(e, "big", commonAttr)
macro blockquote*(e: varargs[untyped]): untyped =
- ## generates the HTML ``blockquote`` element.
+ ## Generates the HTML ``blockquote`` element.
result = xmlCheckedTag(e, "blockquote", " cite" & commonAttr)
macro body*(e: varargs[untyped]): untyped =
- ## generates the HTML ``body`` element.
+ ## Generates the HTML ``body`` element.
result = xmlCheckedTag(e, "body", "onafterprint onbeforeprint " &
"onbeforeunload onhashchange onmessage onoffline ononline onpagehide " &
"onpageshow onpopstate onstorage onunload" & commonAttr)
macro br*(e: varargs[untyped]): untyped =
- ## generates the HTML ``br`` element.
+ ## Generates the HTML ``br`` element.
result = xmlCheckedTag(e, "br", commonAttr, "", true)
macro button*(e: varargs[untyped]): untyped =
- ## generates the HTML ``button`` element.
+ ## Generates the HTML ``button`` element.
result = xmlCheckedTag(e, "button", "autofocus disabled form formaction " &
"formenctype formmethod formnovalidate formtarget menu name type value" &
commonAttr)
macro canvas*(e: varargs[untyped]): untyped =
- ## generates the HTML ``canvas`` element.
+ ## Generates the HTML ``canvas`` element.
result = xmlCheckedTag(e, "canvas", "width height" & commonAttr)
macro caption*(e: varargs[untyped]): untyped =
- ## generates the HTML ``caption`` element.
+ ## Generates the HTML ``caption`` element.
result = xmlCheckedTag(e, "caption", commonAttr)
macro center*(e: varargs[untyped]): untyped =
@@ -202,35 +202,35 @@ macro center*(e: varargs[untyped]): untyped =
result = xmlCheckedTag(e, "center", commonAttr)
macro cite*(e: varargs[untyped]): untyped =
- ## generates the HTML ``cite`` element.
+ ## Generates the HTML ``cite`` element.
result = xmlCheckedTag(e, "cite", commonAttr)
macro code*(e: varargs[untyped]): untyped =
- ## generates the HTML ``code`` element.
+ ## Generates the HTML ``code`` element.
result = xmlCheckedTag(e, "code", commonAttr)
macro col*(e: varargs[untyped]): untyped =
- ## generates the HTML ``col`` element.
+ ## Generates the HTML ``col`` element.
result = xmlCheckedTag(e, "col", "span" & commonAttr, "", true)
macro colgroup*(e: varargs[untyped]): untyped =
- ## generates the HTML ``colgroup`` element.
+ ## Generates the HTML ``colgroup`` element.
result = xmlCheckedTag(e, "colgroup", "span" & commonAttr)
macro data*(e: varargs[untyped]): untyped =
- ## generates the HTML ``data`` element.
+ ## Generates the HTML ``data`` element.
result = xmlCheckedTag(e, "data", "value" & commonAttr)
macro datalist*(e: varargs[untyped]): untyped =
- ## generates the HTML ``datalist`` element.
+ ## Generates the HTML ``datalist`` element.
result = xmlCheckedTag(e, "datalist", commonAttr)
macro dd*(e: varargs[untyped]): untyped =
- ## generates the HTML ``dd`` element.
+ ## Generates the HTML ``dd`` element.
result = xmlCheckedTag(e, "dd", commonAttr)
macro del*(e: varargs[untyped]): untyped =
- ## generates the HTML ``del`` element.
+ ## Generates the HTML ``del`` element.
result = xmlCheckedTag(e, "del", "cite datetime" & commonAttr)
macro details*(e: varargs[untyped]): untyped =
@@ -238,7 +238,7 @@ macro details*(e: varargs[untyped]): untyped =
result = xmlCheckedTag(e, "details", commonAttr & "open")
macro dfn*(e: varargs[untyped]): untyped =
- ## generates the HTML ``dfn`` element.
+ ## Generates the HTML ``dfn`` element.
result = xmlCheckedTag(e, "dfn", commonAttr)
macro dialog*(e: varargs[untyped]): untyped =
@@ -246,103 +246,103 @@ macro dialog*(e: varargs[untyped]): untyped =
result = xmlCheckedTag(e, "dialog", commonAttr & "open")
macro `div`*(e: varargs[untyped]): untyped =
- ## generates the HTML ``div`` element.
+ ## Generates the HTML ``div`` element.
result = xmlCheckedTag(e, "div", commonAttr)
macro dl*(e: varargs[untyped]): untyped =
- ## generates the HTML ``dl`` element.
+ ## Generates the HTML ``dl`` element.
result = xmlCheckedTag(e, "dl", commonAttr)
macro dt*(e: varargs[untyped]): untyped =
- ## generates the HTML ``dt`` element.
+ ## Generates the HTML ``dt`` element.
result = xmlCheckedTag(e, "dt", commonAttr)
macro em*(e: varargs[untyped]): untyped =
- ## generates the HTML ``em`` element.
+ ## Generates the HTML ``em`` element.
result = xmlCheckedTag(e, "em", commonAttr)
macro embed*(e: varargs[untyped]): untyped =
- ## generates the HTML ``embed`` element.
+ ## Generates the HTML ``embed`` element.
result = xmlCheckedTag(e, "embed", "src type height width" &
commonAttr, "", true)
macro fieldset*(e: varargs[untyped]): untyped =
- ## generates the HTML ``fieldset`` element.
+ ## Generates the HTML ``fieldset`` element.
result = xmlCheckedTag(e, "fieldset", "disabled form name" & commonAttr)
macro figure*(e: varargs[untyped]): untyped =
- ## generates the HTML ``figure`` element.
+ ## Generates the HTML ``figure`` element.
result = xmlCheckedTag(e, "figure", commonAttr)
macro figcaption*(e: varargs[untyped]): untyped =
- ## generates the HTML ``figcaption`` element.
+ ## Generates the HTML ``figcaption`` element.
result = xmlCheckedTag(e, "figcaption", commonAttr)
macro footer*(e: varargs[untyped]): untyped =
- ## generates the HTML ``footer`` element.
+ ## Generates the HTML ``footer`` element.
result = xmlCheckedTag(e, "footer", commonAttr)
macro form*(e: varargs[untyped]): untyped =
- ## generates the HTML ``form`` element.
+ ## Generates the HTML ``form`` element.
result = xmlCheckedTag(e, "form", "accept-charset action autocomplete " &
"enctype method name novalidate target" & commonAttr)
macro h1*(e: varargs[untyped]): untyped =
- ## generates the HTML ``h1`` element.
+ ## Generates the HTML ``h1`` element.
result = xmlCheckedTag(e, "h1", commonAttr)
macro h2*(e: varargs[untyped]): untyped =
- ## generates the HTML ``h2`` element.
+ ## Generates the HTML ``h2`` element.
result = xmlCheckedTag(e, "h2", commonAttr)
macro h3*(e: varargs[untyped]): untyped =
- ## generates the HTML ``h3`` element.
+ ## Generates the HTML ``h3`` element.
result = xmlCheckedTag(e, "h3", commonAttr)
macro h4*(e: varargs[untyped]): untyped =
- ## generates the HTML ``h4`` element.
+ ## Generates the HTML ``h4`` element.
result = xmlCheckedTag(e, "h4", commonAttr)
macro h5*(e: varargs[untyped]): untyped =
- ## generates the HTML ``h5`` element.
+ ## Generates the HTML ``h5`` element.
result = xmlCheckedTag(e, "h5", commonAttr)
macro h6*(e: varargs[untyped]): untyped =
- ## generates the HTML ``h6`` element.
+ ## Generates the HTML ``h6`` element.
result = xmlCheckedTag(e, "h6", commonAttr)
macro head*(e: varargs[untyped]): untyped =
- ## generates the HTML ``head`` element.
+ ## Generates the HTML ``head`` element.
result = xmlCheckedTag(e, "head", commonAttr)
macro header*(e: varargs[untyped]): untyped =
- ## generates the HTML ``header`` element.
+ ## Generates the HTML ``header`` element.
result = xmlCheckedTag(e, "header", commonAttr)
macro html*(e: varargs[untyped]): untyped =
- ## generates the HTML ``html`` element.
+ ## Generates the HTML ``html`` element.
result = xmlCheckedTag(e, "html", "xmlns" & commonAttr, "")
macro hr*(): untyped =
- ## generates the HTML ``hr`` element.
+ ## Generates the HTML ``hr`` element.
result = xmlCheckedTag(newNimNode(nnkArglist), "hr", commonAttr, "", true)
macro i*(e: varargs[untyped]): untyped =
- ## generates the HTML ``i`` element.
+ ## Generates the HTML ``i`` element.
result = xmlCheckedTag(e, "i", commonAttr)
macro iframe*(e: varargs[untyped]): untyped =
- ## generates the HTML ``iframe`` element.
+ ## Generates the HTML ``iframe`` element.
result = xmlCheckedTag(e, "iframe", "src srcdoc name sandbox width height" &
commonAttr)
macro img*(e: varargs[untyped]): untyped =
- ## generates the HTML ``img`` element.
+ ## Generates the HTML ``img`` element.
result = xmlCheckedTag(e, "img", "crossorigin usemap ismap height width" &
commonAttr, "src alt", true)
macro input*(e: varargs[untyped]): untyped =
- ## generates the HTML ``input`` element.
+ ## Generates the HTML ``input`` element.
result = xmlCheckedTag(e, "input", "accept alt autocomplete autofocus " &
"checked dirname disabled form formaction formenctype formmethod " &
"formnovalidate formtarget height inputmode list max maxlength min " &
@@ -350,45 +350,45 @@ macro input*(e: varargs[untyped]): untyped =
"src step type value width" & commonAttr, "", true)
macro ins*(e: varargs[untyped]): untyped =
- ## generates the HTML ``ins`` element.
+ ## Generates the HTML ``ins`` element.
result = xmlCheckedTag(e, "ins", "cite datetime" & commonAttr)
macro kbd*(e: varargs[untyped]): untyped =
- ## generates the HTML ``kbd`` element.
+ ## Generates the HTML ``kbd`` element.
result = xmlCheckedTag(e, "kbd", commonAttr)
macro keygen*(e: varargs[untyped]): untyped =
- ## generates the HTML ``keygen`` element.
+ ## Generates the HTML ``keygen`` element.
result = xmlCheckedTag(e, "keygen", "autofocus challenge disabled " &
"form keytype name" & commonAttr)
macro label*(e: varargs[untyped]): untyped =
- ## generates the HTML ``label`` element.
+ ## Generates the HTML ``label`` element.
result = xmlCheckedTag(e, "label", "form for" & commonAttr)
macro legend*(e: varargs[untyped]): untyped =
- ## generates the HTML ``legend`` element.
+ ## Generates the HTML ``legend`` element.
result = xmlCheckedTag(e, "legend", commonAttr)
macro li*(e: varargs[untyped]): untyped =
- ## generates the HTML ``li`` element.
+ ## Generates the HTML ``li`` element.
result = xmlCheckedTag(e, "li", "value" & commonAttr)
macro link*(e: varargs[untyped]): untyped =
- ## generates the HTML ``link`` element.
+ ## Generates the HTML ``link`` element.
result = xmlCheckedTag(e, "link", "href crossorigin rel media hreflang " &
"type sizes" & commonAttr, "", true)
macro main*(e: varargs[untyped]): untyped =
- ## generates the HTML ``main`` element.
+ ## Generates the HTML ``main`` element.
result = xmlCheckedTag(e, "main", commonAttr)
macro map*(e: varargs[untyped]): untyped =
- ## generates the HTML ``map`` element.
+ ## Generates the HTML ``map`` element.
result = xmlCheckedTag(e, "map", "name" & commonAttr)
macro mark*(e: varargs[untyped]): untyped =
- ## generates the HTML ``mark`` element.
+ ## Generates the HTML ``mark`` element.
result = xmlCheckedTag(e, "mark", commonAttr)
macro marquee*(e: varargs[untyped]): untyped =
@@ -398,51 +398,51 @@ macro marquee*(e: varargs[untyped]): untyped =
"scrolldelay truespeed vspace width onbounce onfinish onstart")
macro meta*(e: varargs[untyped]): untyped =
- ## generates the HTML ``meta`` element.
+ ## Generates the HTML ``meta`` element.
result = xmlCheckedTag(e, "meta", "name http-equiv content charset" &
commonAttr, "", true)
macro meter*(e: varargs[untyped]): untyped =
- ## generates the HTML ``meter`` element.
+ ## Generates the HTML ``meter`` element.
result = xmlCheckedTag(e, "meter", "value min max low high optimum" &
commonAttr)
macro nav*(e: varargs[untyped]): untyped =
- ## generates the HTML ``nav`` element.
+ ## Generates the HTML ``nav`` element.
result = xmlCheckedTag(e, "nav", commonAttr)
macro noscript*(e: varargs[untyped]): untyped =
- ## generates the HTML ``noscript`` element.
+ ## Generates the HTML ``noscript`` element.
result = xmlCheckedTag(e, "noscript", commonAttr)
macro `object`*(e: varargs[untyped]): untyped =
- ## generates the HTML ``object`` element.
+ ## Generates the HTML ``object`` element.
result = xmlCheckedTag(e, "object", "data type typemustmatch name usemap " &
"form width height" & commonAttr)
macro ol*(e: varargs[untyped]): untyped =
- ## generates the HTML ``ol`` element.
+ ## Generates the HTML ``ol`` element.
result = xmlCheckedTag(e, "ol", "reversed start type" & commonAttr)
macro optgroup*(e: varargs[untyped]): untyped =
- ## generates the HTML ``optgroup`` element.
+ ## Generates the HTML ``optgroup`` element.
result = xmlCheckedTag(e, "optgroup", "disabled" & commonAttr, "label", false)
macro option*(e: varargs[untyped]): untyped =
- ## generates the HTML ``option`` element.
+ ## Generates the HTML ``option`` element.
result = xmlCheckedTag(e, "option", "disabled label selected value" &
commonAttr)
macro output*(e: varargs[untyped]): untyped =
- ## generates the HTML ``output`` element.
+ ## Generates the HTML ``output`` element.
result = xmlCheckedTag(e, "output", "for form name" & commonAttr)
macro p*(e: varargs[untyped]): untyped =
- ## generates the HTML ``p`` element.
+ ## Generates the HTML ``p`` element.
result = xmlCheckedTag(e, "p", commonAttr)
macro param*(e: varargs[untyped]): untyped =
- ## generates the HTML ``param`` element.
+ ## Generates the HTML ``param`` element.
result = xmlCheckedTag(e, "param", commonAttr, "name value", true)
macro picture*(e: varargs[untyped]): untyped =
@@ -450,56 +450,56 @@ macro picture*(e: varargs[untyped]): untyped =
result = xmlCheckedTag(e, "picture", commonAttr)
macro pre*(e: varargs[untyped]): untyped =
- ## generates the HTML ``pre`` element.
+ ## Generates the HTML ``pre`` element.
result = xmlCheckedTag(e, "pre", commonAttr)
macro progress*(e: varargs[untyped]): untyped =
- ## generates the HTML ``progress`` element.
+ ## Generates the HTML ``progress`` element.
result = xmlCheckedTag(e, "progress", "value max" & commonAttr)
macro q*(e: varargs[untyped]): untyped =
- ## generates the HTML ``q`` element.
+ ## Generates the HTML ``q`` element.
result = xmlCheckedTag(e, "q", "cite" & commonAttr)
macro rb*(e: varargs[untyped]): untyped =
- ## generates the HTML ``rb`` element.
+ ## Generates the HTML ``rb`` element.
result = xmlCheckedTag(e, "rb", commonAttr)
macro rp*(e: varargs[untyped]): untyped =
- ## generates the HTML ``rp`` element.
+ ## Generates the HTML ``rp`` element.
result = xmlCheckedTag(e, "rp", commonAttr)
macro rt*(e: varargs[untyped]): untyped =
- ## generates the HTML ``rt`` element.
+ ## Generates the HTML ``rt`` element.
result = xmlCheckedTag(e, "rt", commonAttr)
macro rtc*(e: varargs[untyped]): untyped =
- ## generates the HTML ``rtc`` element.
+ ## Generates the HTML ``rtc`` element.
result = xmlCheckedTag(e, "rtc", commonAttr)
macro ruby*(e: varargs[untyped]): untyped =
- ## generates the HTML ``ruby`` element.
+ ## Generates the HTML ``ruby`` element.
result = xmlCheckedTag(e, "ruby", commonAttr)
macro s*(e: varargs[untyped]): untyped =
- ## generates the HTML ``s`` element.
+ ## Generates the HTML ``s`` element.
result = xmlCheckedTag(e, "s", commonAttr)
macro samp*(e: varargs[untyped]): untyped =
- ## generates the HTML ``samp`` element.
+ ## Generates the HTML ``samp`` element.
result = xmlCheckedTag(e, "samp", commonAttr)
macro script*(e: varargs[untyped]): untyped =
- ## generates the HTML ``script`` element.
+ ## Generates the HTML ``script`` element.
result = xmlCheckedTag(e, "script", "src type charset async defer " &
"crossorigin" & commonAttr)
macro section*(e: varargs[untyped]): untyped =
- ## generates the HTML ``section`` element.
+ ## Generates the HTML ``section`` element.
result = xmlCheckedTag(e, "section", commonAttr)
macro select*(e: varargs[untyped]): untyped =
- ## generates the HTML ``select`` element.
+ ## Generates the HTML ``select`` element.
result = xmlCheckedTag(e, "select", "autofocus disabled form multiple " &
"name required size" & commonAttr)
@@ -508,27 +508,27 @@ macro slot*(e: varargs[untyped]): untyped =
result = xmlCheckedTag(e, "slot", commonAttr)
macro small*(e: varargs[untyped]): untyped =
- ## generates the HTML ``small`` element.
+ ## Generates the HTML ``small`` element.
result = xmlCheckedTag(e, "small", commonAttr)
macro source*(e: varargs[untyped]): untyped =
- ## generates the HTML ``source`` element.
+ ## Generates the HTML ``source`` element.
result = xmlCheckedTag(e, "source", "type" & commonAttr, "src", true)
macro span*(e: varargs[untyped]): untyped =
- ## generates the HTML ``span`` element.
+ ## Generates the HTML ``span`` element.
result = xmlCheckedTag(e, "span", commonAttr)
macro strong*(e: varargs[untyped]): untyped =
- ## generates the HTML ``strong`` element.
+ ## Generates the HTML ``strong`` element.
result = xmlCheckedTag(e, "strong", commonAttr)
macro style*(e: varargs[untyped]): untyped =
- ## generates the HTML ``style`` element.
+ ## Generates the HTML ``style`` element.
result = xmlCheckedTag(e, "style", "media type" & commonAttr)
macro sub*(e: varargs[untyped]): untyped =
- ## generates the HTML ``sub`` element.
+ ## Generates the HTML ``sub`` element.
result = xmlCheckedTag(e, "sub", commonAttr)
macro summary*(e: varargs[untyped]): untyped =
@@ -536,84 +536,84 @@ macro summary*(e: varargs[untyped]): untyped =
result = xmlCheckedTag(e, "summary", commonAttr)
macro sup*(e: varargs[untyped]): untyped =
- ## generates the HTML ``sup`` element.
+ ## Generates the HTML ``sup`` element.
result = xmlCheckedTag(e, "sup", commonAttr)
macro table*(e: varargs[untyped]): untyped =
- ## generates the HTML ``table`` element.
+ ## Generates the HTML ``table`` element.
result = xmlCheckedTag(e, "table", "border sortable" & commonAttr)
macro tbody*(e: varargs[untyped]): untyped =
- ## generates the HTML ``tbody`` element.
+ ## Generates the HTML ``tbody`` element.
result = xmlCheckedTag(e, "tbody", commonAttr)
macro td*(e: varargs[untyped]): untyped =
- ## generates the HTML ``td`` element.
+ ## Generates the HTML ``td`` element.
result = xmlCheckedTag(e, "td", "colspan rowspan headers" & commonAttr)
macro `template`*(e: varargs[untyped]): untyped =
- ## generates the HTML ``template`` element.
+ ## Generates the HTML ``template`` element.
result = xmlCheckedTag(e, "template", commonAttr)
macro textarea*(e: varargs[untyped]): untyped =
- ## generates the HTML ``textarea`` element.
+ ## Generates the HTML ``textarea`` element.
result = xmlCheckedTag(e, "textarea", "autocomplete autofocus cols " &
"dirname disabled form inputmode maxlength minlength name placeholder " &
"readonly required rows wrap" & commonAttr)
macro tfoot*(e: varargs[untyped]): untyped =
- ## generates the HTML ``tfoot`` element.
+ ## Generates the HTML ``tfoot`` element.
result = xmlCheckedTag(e, "tfoot", commonAttr)
macro th*(e: varargs[untyped]): untyped =
- ## generates the HTML ``th`` element.
+ ## Generates the HTML ``th`` element.
result = xmlCheckedTag(e, "th", "colspan rowspan headers abbr scope axis" &
" sorted" & commonAttr)
macro thead*(e: varargs[untyped]): untyped =
- ## generates the HTML ``thead`` element.
+ ## Generates the HTML ``thead`` element.
result = xmlCheckedTag(e, "thead", commonAttr)
macro time*(e: varargs[untyped]): untyped =
- ## generates the HTML ``time`` element.
+ ## Generates the HTML ``time`` element.
result = xmlCheckedTag(e, "time", "datetime" & commonAttr)
macro title*(e: varargs[untyped]): untyped =
- ## generates the HTML ``title`` element.
+ ## Generates the HTML ``title`` element.
result = xmlCheckedTag(e, "title", commonAttr)
macro tr*(e: varargs[untyped]): untyped =
- ## generates the HTML ``tr`` element.
+ ## Generates the HTML ``tr`` element.
result = xmlCheckedTag(e, "tr", commonAttr)
macro track*(e: varargs[untyped]): untyped =
- ## generates the HTML ``track`` element.
+ ## Generates the HTML ``track`` element.
result = xmlCheckedTag(e, "track", "kind srclang label default" &
commonAttr, "src", true)
macro tt*(e: varargs[untyped]): untyped =
- ## generates the HTML ``tt`` element.
+ ## Generates the HTML ``tt`` element.
result = xmlCheckedTag(e, "tt", commonAttr)
macro u*(e: varargs[untyped]): untyped =
- ## generates the HTML ``u`` element.
+ ## Generates the HTML ``u`` element.
result = xmlCheckedTag(e, "u", commonAttr)
macro ul*(e: varargs[untyped]): untyped =
- ## generates the HTML ``ul`` element.
+ ## Generates the HTML ``ul`` element.
result = xmlCheckedTag(e, "ul", commonAttr)
macro `var`*(e: varargs[untyped]): untyped =
- ## generates the HTML ``var`` element.
+ ## Generates the HTML ``var`` element.
result = xmlCheckedTag(e, "var", commonAttr)
macro video*(e: varargs[untyped]): untyped =
- ## generates the HTML ``video`` element.
+ ## Generates the HTML ``video`` element.
result = xmlCheckedTag(e, "video", "src crossorigin poster preload " &
"autoplay mediagroup loop muted controls width height" & commonAttr)
macro wbr*(e: varargs[untyped]): untyped =
- ## generates the HTML ``wbr`` element.
+ ## Generates the HTML ``wbr`` element.
result = xmlCheckedTag(e, "wbr", commonAttr, "", true)