Class Html


  • @NoTests
    public abstract class Html
    extends Object
    HTML element constructors. Using methods of this class is preferable to instantiating element classes directly.
    • Constructor Detail

      • Html

        public Html()
    • Method Detail

      • a

        public static DomElement a()
        Creates new <a> element.
        Returns:
        new <a> element
      • abbr

        public static DomElement abbr()
        Creates new <abbr> element.
        Returns:
        new <abbr> element
      • address

        public static DomElement address()
        Creates new <address> element.
        Returns:
        new <address> element
      • area

        public static DomElement area()
        Creates new <area> element.
        Returns:
        new <area> element
      • article

        public static DomElement article()
        Creates new <article> element.
        Returns:
        new <article> element
      • aside

        public static DomElement aside()
        Creates new <aside> element.
        Returns:
        new <aside> element
      • audio

        public static DomElement audio()
        Creates new <audio> element.
        Returns:
        new <audio> element
      • b

        public static DomElement b()
        Creates new <b> element.
        Returns:
        new <b> element
      • base

        public static DomElement base()
        Creates new <base> element.
        Returns:
        new <base> element
      • bdi

        public static DomElement bdi()
        Creates new <bdi> element.
        Returns:
        new <bdi> element
      • bdo

        public static DomElement bdo()
        Creates new <bdo> element.
        Returns:
        new <bdo> element
      • blockquote

        public static DomElement blockquote()
        Creates new <blockquote> element.
        Returns:
        new <blockquote> element
      • body

        public static DomElement body()
        Creates new <body> element.
        Returns:
        new <body> element
      • br

        public static DomElement br()
        Creates new <br> element.
        Returns:
        new <br> element
      • button

        public static DomElement button()
        Creates new <button> element.
        Returns:
        new <button> element
      • canvas

        public static DomElement canvas()
        Creates new <canvas> element.
        Returns:
        new <canvas> element
      • caption

        public static DomElement caption()
        Creates new <caption> element.
        Returns:
        new <caption> element
      • cite

        public static DomElement cite()
        Creates new <cite> element.
        Returns:
        new <cite> element
      • code

        public static DomElement code()
        Creates new <code> element.
        Returns:
        new <code> element
      • col

        public static DomElement col()
        Creates new <col> element.
        Returns:
        new <col> element
      • colgroup

        public static DomElement colgroup()
        Creates new <colgroup> element.
        Returns:
        new <colgroup> element
      • data

        public static DomElement data()
        Creates new <data> element.
        Returns:
        new <data> element
      • datalist

        public static DomElement datalist()
        Creates new <datalist> element.
        Returns:
        new <datalist> element
      • dd

        public static DomElement dd()
        Creates new <dd> element.
        Returns:
        new <dd> element
      • del

        public static DomElement del()
        Creates new <del> element.
        Returns:
        new <del> element
      • details

        public static DomElement details()
        Creates new <details> element.
        Returns:
        new <details> element
      • dfn

        public static DomElement dfn()
        Creates new <dfn> element.
        Returns:
        new <dfn> element
      • div

        public static DomElement div()
        Creates new <div> element.
        Returns:
        new <div> element
      • dl

        public static DomElement dl()
        Creates new <dl> element.
        Returns:
        new <dl> element
      • dt

        public static DomElement dt()
        Creates new <dt> element.
        Returns:
        new <dt> element
      • em

        public static DomElement em()
        Creates new <em> element.
        Returns:
        new <em> element
      • embed

        public static DomElement embed()
        Creates new <embed> element.
        Returns:
        new <embed> element
      • fieldset

        public static DomElement fieldset()
        Creates new <fieldset> element.
        Returns:
        new <fieldset> element
      • figcaption

        public static DomElement figcaption()
        Creates new <figcaption> element.
        Returns:
        new <figcaption> element
      • figure

        public static DomElement figure()
        Creates new <figure> element.
        Returns:
        new <figure> element
      • footer

        public static DomElement footer()
        Creates new <footer> element.
        Returns:
        new <footer> element
      • form

        public static DomElement form()
        Creates new <form> element.
        Returns:
        new <form> element
      • h1

        public static DomElement h1()
        Creates new <h1> element.
        Returns:
        new <h1> element
      • h2

        public static DomElement h2()
        Creates new <h2> element.
        Returns:
        new <h2> element
      • h3

        public static DomElement h3()
        Creates new <h3> element.
        Returns:
        new <h3> element
      • h4

        public static DomElement h4()
        Creates new <h4> element.
        Returns:
        new <h4> element
      • h5

        public static DomElement h5()
        Creates new <h5> element.
        Returns:
        new <h5> element
      • h6

        public static DomElement h6()
        Creates new <h6> element.
        Returns:
        new <h6> element
      • head

        public static DomElement head()
        Creates new <head> element.
        Returns:
        new <head> element
      • header

        public static DomElement header()
        Creates new <header> element.
        Returns:
        new <header> element
      • hr

        public static DomElement hr()
        Creates new <hr> element.
        Returns:
        new <hr> element
      • html

        public static DomElement html()
        Creates new <html> element.
        Returns:
        new <html> element
      • i

        public static DomElement i()
        Creates new <i> element.
        Returns:
        new <i> element
      • iframe

        public static DomElement iframe()
        Creates new <iframe> element.
        Returns:
        new <iframe> element
      • img

        public static DomElement img()
        Creates new <img> element.
        Returns:
        new <img> element
      • input

        public static DomElement input()
        Creates new <input> element.
        Returns:
        new <input> element
      • ins

        public static DomElement ins()
        Creates new <ins> element.
        Returns:
        new <ins> element
      • kbd

        public static DomElement kbd()
        Creates new <kbd> element.
        Returns:
        new <kbd> element
      • label

        public static DomElement label()
        Creates new <label> element.
        Returns:
        new <label> element
      • legend

        public static DomElement legend()
        Creates new <legend> element.
        Returns:
        new <legend> element
      • li

        public static DomElement li()
        Creates new <li> element.
        Returns:
        new <li> element
      • link

        public static DomElement link()
        Creates new <link> element.
        Returns:
        new <link> element
      • main

        public static DomElement main()
        Creates new <main> element.
        Returns:
        new <main> element
      • map

        public static DomElement map()
        Creates new <map> element.
        Returns:
        new <map> element
      • mark

        public static DomElement mark()
        Creates new <mark> element.
        Returns:
        new <mark> element
      • meta

        public static DomElement meta()
        Creates new <meta> element.
        Returns:
        new <meta> element
      • meter

        public static DomElement meter()
        Creates new <meter> element.
        Returns:
        new <meter> element
      • nav

        public static DomElement nav()
        Creates new <nav> element.
        Returns:
        new <nav> element
      • noscript

        public static DomElement noscript()
        Creates new <noscript> element.
        Returns:
        new <noscript> element
      • object

        public static DomElement object()
        Creates new <object> element.
        Returns:
        new <object> element
      • ol

        public static DomElement ol()
        Creates new <ol> element.
        Returns:
        new <ol> element
      • optgroup

        public static DomElement optgroup()
        Creates new <optgroup> element.
        Returns:
        new <optgroup> element
      • option

        public static DomElement option()
        Creates new <option> element.
        Returns:
        new <option> element
      • output

        public static DomElement output()
        Creates new <output> element.
        Returns:
        new <output> element
      • p

        public static DomElement p()
        Creates new <p> element.
        Returns:
        new <p> element
      • param

        public static DomElement param()
        Creates new <param> element.
        Returns:
        new <param> element
      • picture

        public static DomElement picture()
        Creates new <picture> element.
        Returns:
        new <picture> element
      • pre

        public static DomElement pre()
        Creates new <pre> element.
        Returns:
        new <pre> element
      • progress

        public static DomElement progress()
        Creates new <progress> element.
        Returns:
        new <progress> element
      • q

        public static DomElement q()
        Creates new <q> element.
        Returns:
        new <q> element
      • rp

        public static DomElement rp()
        Creates new <rp> element.
        Returns:
        new <rp> element
      • rt

        public static DomElement rt()
        Creates new <rt> element.
        Returns:
        new <rt> element
      • rtc

        public static DomElement rtc()
        Creates new <rtc> element.
        Returns:
        new <rtc> element
      • ruby

        public static DomElement ruby()
        Creates new <ruby> element.
        Returns:
        new <ruby> element
      • s

        public static DomElement s()
        Creates new <s> element.
        Returns:
        new <s> element
      • samp

        public static DomElement samp()
        Creates new <samp> element.
        Returns:
        new <samp> element
      • script

        public static DomElement script()
        Creates new <script> element.
        Returns:
        new <script> element
      • section

        public static DomElement section()
        Creates new <section> element.
        Returns:
        new <section> element
      • select

        public static DomElement select()
        Creates new <select> element.
        Returns:
        new <select> element
      • slot

        public static DomElement slot()
        Creates new <slot> element.
        Returns:
        new <slot> element
      • small

        public static DomElement small()
        Creates new <small> element.
        Returns:
        new <small> element
      • source

        public static DomElement source()
        Creates new <source> element.
        Returns:
        new <source> element
      • span

        public static DomElement span()
        Creates new <span> element.
        Returns:
        new <span> element
      • strong

        public static DomElement strong()
        Creates new <strong> element.
        Returns:
        new <strong> element
      • style

        public static DomElement style()
        Creates new <style> element.
        Returns:
        new <style> element
      • sub

        public static DomElement sub()
        Creates new <sub> element.
        Returns:
        new <sub> element
      • summary

        public static DomElement summary()
        Creates new <summary> element.
        Returns:
        new <summary> element
      • sup

        public static DomElement sup()
        Creates new <sup> element.
        Returns:
        new <sup> element
      • table

        public static DomElement table()
        Creates new <table> element.
        Returns:
        new <table> element
      • tbody

        public static DomElement tbody()
        Creates new <tbody> element.
        Returns:
        new <tbody> element
      • td

        public static DomElement td()
        Creates new <td> element.
        Returns:
        new <td> element
      • template

        public static DomElement template()
        Creates new <template> element.
        Returns:
        new <template> element
      • textarea

        public static DomElement textarea()
        Creates new <textarea> element.
        Returns:
        new <textarea> element
      • tfoot

        public static DomElement tfoot()
        Creates new <tfoot> element.
        Returns:
        new <tfoot> element
      • th

        public static DomElement th()
        Creates new <th> element.
        Returns:
        new <th> element
      • thead

        public static DomElement thead()
        Creates new <thead> element.
        Returns:
        new <thead> element
      • time

        public static DomElement time()
        Creates new <time> element.
        Returns:
        new <time> element
      • title

        public static DomElement title()
        Creates new <title> element.
        Returns:
        new <title> element
      • tr

        public static DomElement tr()
        Creates new <tr> element.
        Returns:
        new <tr> element
      • track

        public static DomElement track()
        Creates new <track> element.
        Returns:
        new <track> element
      • u

        public static DomElement u()
        Creates new <u> element.
        Returns:
        new <u> element
      • ul

        public static DomElement ul()
        Creates new <ul> element.
        Returns:
        new <ul> element
      • var

        public static DomElement var()
        Creates new <var> element.
        Returns:
        new <var> element
      • video

        public static DomElement video()
        Creates new <video> element.
        Returns:
        new <video> element
      • wbr

        public static DomElement wbr()
        Creates new <wbr> element.
        Returns:
        new <wbr> element