github.com/golazy/golazy@v0.0.7-0.20221012133820-968fe65a0b65/lazyview/html/autotags.go (about) 1 package html 2 3 import "github.com/golazy/golazy/lazyview/nodes" 4 5 // A Creates a new a element 6 func A(options ...interface{}) nodes.Element { 7 return nodes.NewElement("a", options...) 8 } 9 10 // Abbr Creates a new abbr element 11 func Abbr(options ...interface{}) nodes.Element { 12 return nodes.NewElement("abbr", options...) 13 } 14 15 // Acronym Creates a new acronym element 16 func Acronym(options ...interface{}) nodes.Element { 17 return nodes.NewElement("acronym", options...) 18 } 19 20 // Address Creates a new address element 21 func Address(options ...interface{}) nodes.Element { 22 return nodes.NewElement("address", options...) 23 } 24 25 // Applet Creates a new applet element 26 func Applet(options ...interface{}) nodes.Element { 27 return nodes.NewElement("applet", options...) 28 } 29 30 // Area Creates a new area element 31 func Area(options ...interface{}) nodes.Element { 32 return nodes.NewElement("area", options...) 33 } 34 35 // Article Creates a new article element 36 func Article(options ...interface{}) nodes.Element { 37 return nodes.NewElement("article", options...) 38 } 39 40 // Aside Creates a new aside element 41 func Aside(options ...interface{}) nodes.Element { 42 return nodes.NewElement("aside", options...) 43 } 44 45 // Audio Creates a new audio element 46 func Audio(options ...interface{}) nodes.Element { 47 return nodes.NewElement("audio", options...) 48 } 49 50 // B Creates a new b element 51 func B(options ...interface{}) nodes.Element { 52 return nodes.NewElement("b", options...) 53 } 54 55 // Base Creates a new base element 56 func Base(options ...interface{}) nodes.Element { 57 return nodes.NewElement("base", options...) 58 } 59 60 // Basefont Creates a new basefont element 61 func Basefont(options ...interface{}) nodes.Element { 62 return nodes.NewElement("basefont", options...) 63 } 64 65 // Bb Creates a new bb element 66 func Bb(options ...interface{}) nodes.Element { 67 return nodes.NewElement("bb", options...) 68 } 69 70 // Bdi Creates a new bdi element 71 func Bdi(options ...interface{}) nodes.Element { 72 return nodes.NewElement("bdi", options...) 73 } 74 75 // Bdo Creates a new bdo element 76 func Bdo(options ...interface{}) nodes.Element { 77 return nodes.NewElement("bdo", options...) 78 } 79 80 // Bgsound Creates a new bgsound element 81 func Bgsound(options ...interface{}) nodes.Element { 82 return nodes.NewElement("bgsound", options...) 83 } 84 85 // Big Creates a new big element 86 func Big(options ...interface{}) nodes.Element { 87 return nodes.NewElement("big", options...) 88 } 89 90 // Blink Creates a new blink element 91 func Blink(options ...interface{}) nodes.Element { 92 return nodes.NewElement("blink", options...) 93 } 94 95 // Blockquote Creates a new blockquote element 96 func Blockquote(options ...interface{}) nodes.Element { 97 return nodes.NewElement("blockquote", options...) 98 } 99 100 // Body Creates a new body element 101 func Body(options ...interface{}) nodes.Element { 102 return nodes.NewElement("body", options...) 103 } 104 105 // Br Creates a new br element 106 func Br(options ...interface{}) nodes.Element { 107 return nodes.NewElement("br", options...) 108 } 109 110 // Button Creates a new button element 111 func Button(options ...interface{}) nodes.Element { 112 return nodes.NewElement("button", options...) 113 } 114 115 // Canvas Creates a new canvas element 116 func Canvas(options ...interface{}) nodes.Element { 117 return nodes.NewElement("canvas", options...) 118 } 119 120 // Caption Creates a new caption element 121 func Caption(options ...interface{}) nodes.Element { 122 return nodes.NewElement("caption", options...) 123 } 124 125 // Center Creates a new center element 126 func Center(options ...interface{}) nodes.Element { 127 return nodes.NewElement("center", options...) 128 } 129 130 // Cite Creates a new cite element 131 func Cite(options ...interface{}) nodes.Element { 132 return nodes.NewElement("cite", options...) 133 } 134 135 // Code Creates a new code element 136 func Code(options ...interface{}) nodes.Element { 137 return nodes.NewElement("code", options...) 138 } 139 140 // Col Creates a new col element 141 func Col(options ...interface{}) nodes.Element { 142 return nodes.NewElement("col", options...) 143 } 144 145 // Colgroup Creates a new colgroup element 146 func Colgroup(options ...interface{}) nodes.Element { 147 return nodes.NewElement("colgroup", options...) 148 } 149 150 // Command Creates a new command element 151 func Command(options ...interface{}) nodes.Element { 152 return nodes.NewElement("command", options...) 153 } 154 155 // Content Creates a new content element 156 func Content(options ...interface{}) nodes.Element { 157 return nodes.NewElement("content", options...) 158 } 159 160 // Data Creates a new data element 161 func Data(options ...interface{}) nodes.Element { 162 return nodes.NewElement("data", options...) 163 } 164 165 // Datagrid Creates a new datagrid element 166 func Datagrid(options ...interface{}) nodes.Element { 167 return nodes.NewElement("datagrid", options...) 168 } 169 170 // Datalist Creates a new datalist element 171 func Datalist(options ...interface{}) nodes.Element { 172 return nodes.NewElement("datalist", options...) 173 } 174 175 // Dd Creates a new dd element 176 func Dd(options ...interface{}) nodes.Element { 177 return nodes.NewElement("dd", options...) 178 } 179 180 // Del Creates a new del element 181 func Del(options ...interface{}) nodes.Element { 182 return nodes.NewElement("del", options...) 183 } 184 185 // Details Creates a new details element 186 func Details(options ...interface{}) nodes.Element { 187 return nodes.NewElement("details", options...) 188 } 189 190 // Dfn Creates a new dfn element 191 func Dfn(options ...interface{}) nodes.Element { 192 return nodes.NewElement("dfn", options...) 193 } 194 195 // Dialog Creates a new dialog element 196 func Dialog(options ...interface{}) nodes.Element { 197 return nodes.NewElement("dialog", options...) 198 } 199 200 // Dir Creates a new dir element 201 func Dir(options ...interface{}) nodes.Element { 202 return nodes.NewElement("dir", options...) 203 } 204 205 // Div Creates a new div element 206 func Div(options ...interface{}) nodes.Element { 207 return nodes.NewElement("div", options...) 208 } 209 210 // Dl Creates a new dl element 211 func Dl(options ...interface{}) nodes.Element { 212 return nodes.NewElement("dl", options...) 213 } 214 215 // Dt Creates a new dt element 216 func Dt(options ...interface{}) nodes.Element { 217 return nodes.NewElement("dt", options...) 218 } 219 220 // Em Creates a new em element 221 func Em(options ...interface{}) nodes.Element { 222 return nodes.NewElement("em", options...) 223 } 224 225 // Embed Creates a new embed element 226 func Embed(options ...interface{}) nodes.Element { 227 return nodes.NewElement("embed", options...) 228 } 229 230 // Eventsource Creates a new eventsource element 231 func Eventsource(options ...interface{}) nodes.Element { 232 return nodes.NewElement("eventsource", options...) 233 } 234 235 // Fieldset Creates a new fieldset element 236 func Fieldset(options ...interface{}) nodes.Element { 237 return nodes.NewElement("fieldset", options...) 238 } 239 240 // Figcaption Creates a new figcaption element 241 func Figcaption(options ...interface{}) nodes.Element { 242 return nodes.NewElement("figcaption", options...) 243 } 244 245 // Figure Creates a new figure element 246 func Figure(options ...interface{}) nodes.Element { 247 return nodes.NewElement("figure", options...) 248 } 249 250 // Font Creates a new font element 251 func Font(options ...interface{}) nodes.Element { 252 return nodes.NewElement("font", options...) 253 } 254 255 // Footer Creates a new footer element 256 func Footer(options ...interface{}) nodes.Element { 257 return nodes.NewElement("footer", options...) 258 } 259 260 // Form Creates a new form element 261 func Form(options ...interface{}) nodes.Element { 262 return nodes.NewElement("form", options...) 263 } 264 265 // Frame Creates a new frame element 266 func Frame(options ...interface{}) nodes.Element { 267 return nodes.NewElement("frame", options...) 268 } 269 270 // Frameset Creates a new frameset element 271 func Frameset(options ...interface{}) nodes.Element { 272 return nodes.NewElement("frameset", options...) 273 } 274 275 // H1 Creates a new h1 element 276 func H1(options ...interface{}) nodes.Element { 277 return nodes.NewElement("h1", options...) 278 } 279 280 // Head Creates a new head element 281 func Head(options ...interface{}) nodes.Element { 282 return nodes.NewElement("head", options...) 283 } 284 285 // Header Creates a new header element 286 func Header(options ...interface{}) nodes.Element { 287 return nodes.NewElement("header", options...) 288 } 289 290 // Hgroup Creates a new hgroup element 291 func Hgroup(options ...interface{}) nodes.Element { 292 return nodes.NewElement("hgroup", options...) 293 } 294 295 // Hr Creates a new hr element 296 func Hr(options ...interface{}) nodes.Element { 297 return nodes.NewElement("hr", options...) 298 } 299 300 // Html Creates a new html element 301 func Html(options ...interface{}) nodes.Element { 302 return nodes.NewElement("html", options...) 303 } 304 305 // I Creates a new i element 306 func I(options ...interface{}) nodes.Element { 307 return nodes.NewElement("i", options...) 308 } 309 310 // Iframe Creates a new iframe element 311 func Iframe(options ...interface{}) nodes.Element { 312 return nodes.NewElement("iframe", options...) 313 } 314 315 // Image Creates a new image element 316 func Image(options ...interface{}) nodes.Element { 317 return nodes.NewElement("image", options...) 318 } 319 320 // Img Creates a new img element 321 func Img(options ...interface{}) nodes.Element { 322 return nodes.NewElement("img", options...) 323 } 324 325 // Input Creates a new input element 326 func Input(options ...interface{}) nodes.Element { 327 return nodes.NewElement("input", options...) 328 } 329 330 // Ins Creates a new ins element 331 func Ins(options ...interface{}) nodes.Element { 332 return nodes.NewElement("ins", options...) 333 } 334 335 // Isindex Creates a new isindex element 336 func Isindex(options ...interface{}) nodes.Element { 337 return nodes.NewElement("isindex", options...) 338 } 339 340 // Kbd Creates a new kbd element 341 func Kbd(options ...interface{}) nodes.Element { 342 return nodes.NewElement("kbd", options...) 343 } 344 345 // Keygen Creates a new keygen element 346 func Keygen(options ...interface{}) nodes.Element { 347 return nodes.NewElement("keygen", options...) 348 } 349 350 // Label Creates a new label element 351 func Label(options ...interface{}) nodes.Element { 352 return nodes.NewElement("label", options...) 353 } 354 355 // Legend Creates a new legend element 356 func Legend(options ...interface{}) nodes.Element { 357 return nodes.NewElement("legend", options...) 358 } 359 360 // Li Creates a new li element 361 func Li(options ...interface{}) nodes.Element { 362 return nodes.NewElement("li", options...) 363 } 364 365 // Link Creates a new link element 366 func Link(options ...interface{}) nodes.Element { 367 return nodes.NewElement("link", options...) 368 } 369 370 // Main Creates a new main element 371 func Main(options ...interface{}) nodes.Element { 372 return nodes.NewElement("main", options...) 373 } 374 375 // Map Creates a new map element 376 func Map(options ...interface{}) nodes.Element { 377 return nodes.NewElement("map", options...) 378 } 379 380 // Mark Creates a new mark element 381 func Mark(options ...interface{}) nodes.Element { 382 return nodes.NewElement("mark", options...) 383 } 384 385 // Marquee Creates a new marquee element 386 func Marquee(options ...interface{}) nodes.Element { 387 return nodes.NewElement("marquee", options...) 388 } 389 390 // Menu Creates a new menu element 391 func Menu(options ...interface{}) nodes.Element { 392 return nodes.NewElement("menu", options...) 393 } 394 395 // Menuitem Creates a new menuitem element 396 func Menuitem(options ...interface{}) nodes.Element { 397 return nodes.NewElement("menuitem", options...) 398 } 399 400 // Meta Creates a new meta element 401 func Meta(options ...interface{}) nodes.Element { 402 return nodes.NewElement("meta", options...) 403 } 404 405 // Meter Creates a new meter element 406 func Meter(options ...interface{}) nodes.Element { 407 return nodes.NewElement("meter", options...) 408 } 409 410 // Nav Creates a new nav element 411 func Nav(options ...interface{}) nodes.Element { 412 return nodes.NewElement("nav", options...) 413 } 414 415 // Nobr Creates a new nobr element 416 func Nobr(options ...interface{}) nodes.Element { 417 return nodes.NewElement("nobr", options...) 418 } 419 420 // Noembed Creates a new noembed element 421 func Noembed(options ...interface{}) nodes.Element { 422 return nodes.NewElement("noembed", options...) 423 } 424 425 // Noframes Creates a new noframes element 426 func Noframes(options ...interface{}) nodes.Element { 427 return nodes.NewElement("noframes", options...) 428 } 429 430 // Noscript Creates a new noscript element 431 func Noscript(options ...interface{}) nodes.Element { 432 return nodes.NewElement("noscript", options...) 433 } 434 435 // Object Creates a new object element 436 func Object(options ...interface{}) nodes.Element { 437 return nodes.NewElement("object", options...) 438 } 439 440 // Ol Creates a new ol element 441 func Ol(options ...interface{}) nodes.Element { 442 return nodes.NewElement("ol", options...) 443 } 444 445 // Optgroup Creates a new optgroup element 446 func Optgroup(options ...interface{}) nodes.Element { 447 return nodes.NewElement("optgroup", options...) 448 } 449 450 // Option Creates a new option element 451 func Option(options ...interface{}) nodes.Element { 452 return nodes.NewElement("option", options...) 453 } 454 455 // Output Creates a new output element 456 func Output(options ...interface{}) nodes.Element { 457 return nodes.NewElement("output", options...) 458 } 459 460 // P Creates a new p element 461 func P(options ...interface{}) nodes.Element { 462 return nodes.NewElement("p", options...) 463 } 464 465 // Param Creates a new param element 466 func Param(options ...interface{}) nodes.Element { 467 return nodes.NewElement("param", options...) 468 } 469 470 // Picture Creates a new picture element 471 func Picture(options ...interface{}) nodes.Element { 472 return nodes.NewElement("picture", options...) 473 } 474 475 // Plaintext Creates a new plaintext element 476 func Plaintext(options ...interface{}) nodes.Element { 477 return nodes.NewElement("plaintext", options...) 478 } 479 480 // Portal Creates a new portal element 481 func Portal(options ...interface{}) nodes.Element { 482 return nodes.NewElement("portal", options...) 483 } 484 485 // Pre Creates a new pre element 486 func Pre(options ...interface{}) nodes.Element { 487 return nodes.NewElement("pre", options...) 488 } 489 490 // Progress Creates a new progress element 491 func Progress(options ...interface{}) nodes.Element { 492 return nodes.NewElement("progress", options...) 493 } 494 495 // Q Creates a new q element 496 func Q(options ...interface{}) nodes.Element { 497 return nodes.NewElement("q", options...) 498 } 499 500 // Rb Creates a new rb element 501 func Rb(options ...interface{}) nodes.Element { 502 return nodes.NewElement("rb", options...) 503 } 504 505 // Rp Creates a new rp element 506 func Rp(options ...interface{}) nodes.Element { 507 return nodes.NewElement("rp", options...) 508 } 509 510 // Rt Creates a new rt element 511 func Rt(options ...interface{}) nodes.Element { 512 return nodes.NewElement("rt", options...) 513 } 514 515 // Rtc Creates a new rtc element 516 func Rtc(options ...interface{}) nodes.Element { 517 return nodes.NewElement("rtc", options...) 518 } 519 520 // Ruby Creates a new ruby element 521 func Ruby(options ...interface{}) nodes.Element { 522 return nodes.NewElement("ruby", options...) 523 } 524 525 // S Creates a new s element 526 func S(options ...interface{}) nodes.Element { 527 return nodes.NewElement("s", options...) 528 } 529 530 // Samp Creates a new samp element 531 func Samp(options ...interface{}) nodes.Element { 532 return nodes.NewElement("samp", options...) 533 } 534 535 // Script Creates a new script element 536 func Script(options ...interface{}) nodes.Element { 537 return nodes.NewElement("script", options...) 538 } 539 540 // Section Creates a new section element 541 func Section(options ...interface{}) nodes.Element { 542 return nodes.NewElement("section", options...) 543 } 544 545 // Select Creates a new select element 546 func Select(options ...interface{}) nodes.Element { 547 return nodes.NewElement("select", options...) 548 } 549 550 // Shadow Creates a new shadow element 551 func Shadow(options ...interface{}) nodes.Element { 552 return nodes.NewElement("shadow", options...) 553 } 554 555 // Slot Creates a new slot element 556 func Slot(options ...interface{}) nodes.Element { 557 return nodes.NewElement("slot", options...) 558 } 559 560 // Small Creates a new small element 561 func Small(options ...interface{}) nodes.Element { 562 return nodes.NewElement("small", options...) 563 } 564 565 // Source Creates a new source element 566 func Source(options ...interface{}) nodes.Element { 567 return nodes.NewElement("source", options...) 568 } 569 570 // Spacer Creates a new spacer element 571 func Spacer(options ...interface{}) nodes.Element { 572 return nodes.NewElement("spacer", options...) 573 } 574 575 // Span Creates a new span element 576 func Span(options ...interface{}) nodes.Element { 577 return nodes.NewElement("span", options...) 578 } 579 580 // Strike Creates a new strike element 581 func Strike(options ...interface{}) nodes.Element { 582 return nodes.NewElement("strike", options...) 583 } 584 585 // Strong Creates a new strong element 586 func Strong(options ...interface{}) nodes.Element { 587 return nodes.NewElement("strong", options...) 588 } 589 590 // Style Creates a new style element 591 func Style(options ...interface{}) nodes.Element { 592 return nodes.NewElement("style", options...) 593 } 594 595 // Sub Creates a new sub element 596 func Sub(options ...interface{}) nodes.Element { 597 return nodes.NewElement("sub", options...) 598 } 599 600 // Summary Creates a new summary element 601 func Summary(options ...interface{}) nodes.Element { 602 return nodes.NewElement("summary", options...) 603 } 604 605 // Sup Creates a new sup element 606 func Sup(options ...interface{}) nodes.Element { 607 return nodes.NewElement("sup", options...) 608 } 609 610 // Table Creates a new table element 611 func Table(options ...interface{}) nodes.Element { 612 return nodes.NewElement("table", options...) 613 } 614 615 // Tbody Creates a new tbody element 616 func Tbody(options ...interface{}) nodes.Element { 617 return nodes.NewElement("tbody", options...) 618 } 619 620 // Td Creates a new td element 621 func Td(options ...interface{}) nodes.Element { 622 return nodes.NewElement("td", options...) 623 } 624 625 // Template Creates a new template element 626 func Template(options ...interface{}) nodes.Element { 627 return nodes.NewElement("template", options...) 628 } 629 630 // Textarea Creates a new textarea element 631 func Textarea(options ...interface{}) nodes.Element { 632 return nodes.NewElement("textarea", options...) 633 } 634 635 // Tfoot Creates a new tfoot element 636 func Tfoot(options ...interface{}) nodes.Element { 637 return nodes.NewElement("tfoot", options...) 638 } 639 640 // Th Creates a new th element 641 func Th(options ...interface{}) nodes.Element { 642 return nodes.NewElement("th", options...) 643 } 644 645 // Thead Creates a new thead element 646 func Thead(options ...interface{}) nodes.Element { 647 return nodes.NewElement("thead", options...) 648 } 649 650 // Time Creates a new time element 651 func Time(options ...interface{}) nodes.Element { 652 return nodes.NewElement("time", options...) 653 } 654 655 // Title Creates a new title element 656 func Title(options ...interface{}) nodes.Element { 657 return nodes.NewElement("title", options...) 658 } 659 660 // Tr Creates a new tr element 661 func Tr(options ...interface{}) nodes.Element { 662 return nodes.NewElement("tr", options...) 663 } 664 665 // Track Creates a new track element 666 func Track(options ...interface{}) nodes.Element { 667 return nodes.NewElement("track", options...) 668 } 669 670 // Tt Creates a new tt element 671 func Tt(options ...interface{}) nodes.Element { 672 return nodes.NewElement("tt", options...) 673 } 674 675 // U Creates a new u element 676 func U(options ...interface{}) nodes.Element { 677 return nodes.NewElement("u", options...) 678 } 679 680 // Ul Creates a new ul element 681 func Ul(options ...interface{}) nodes.Element { 682 return nodes.NewElement("ul", options...) 683 } 684 685 // Var Creates a new var element 686 func Var(options ...interface{}) nodes.Element { 687 return nodes.NewElement("var", options...) 688 } 689 690 // Video Creates a new video element 691 func Video(options ...interface{}) nodes.Element { 692 return nodes.NewElement("video", options...) 693 } 694 695 // Wbr Creates a new wbr element 696 func Wbr(options ...interface{}) nodes.Element { 697 return nodes.NewElement("wbr", options...) 698 } 699 700 // Wbra Creates a new wbra element 701 func Wbra(options ...interface{}) nodes.Element { 702 return nodes.NewElement("wbra", options...) 703 } 704 705 // Xmp Creates a new xmp element 706 func Xmp(options ...interface{}) nodes.Element { 707 return nodes.NewElement("xmp", options...) 708 }