Menu
pushmode.dom

Class Html

PushMode » API Reference » pushmode.dom



  • 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 AElement a()
        Creates new <a> element. No attributes are set by default.
        Returns:
        New <a> element.
      • abbr

        public static AbbrElement abbr()
        Creates new <abbr> element. No attributes are set by default.
        Returns:
        New <abbr> element.
      • address

        public static AddressElement address()
        Creates new <address> element. No attributes are set by default.
        Returns:
        New <address> element.
      • area

        public static AreaElement area()
        Creates new <area> element. No attributes are set by default.
        Returns:
        New <area> element.
      • article

        public static ArticleElement article()
        Creates new <article> element. No attributes are set by default.
        Returns:
        New <article> element.
      • aside

        public static AsideElement aside()
        Creates new <aside> element. No attributes are set by default.
        Returns:
        New <aside> element.
      • audio

        public static AudioElement audio()
        Creates new <audio> element. No attributes are set by default.
        Returns:
        New <audio> element.
      • b

        public static BElement b()
        Creates new <b> element. No attributes are set by default.
        Returns:
        New <b> element.
      • base

        public static BaseElement base()
        Creates new <base> element. No attributes are set by default.
        Returns:
        New <base> element.
      • bdi

        public static BDIElement bdi()
        Creates new <bdi> element. No attributes are set by default.
        Returns:
        New <bdi> element.
      • bdo

        public static BDOElement bdo()
        Creates new <bdo> element. No attributes are set by default.
        Returns:
        New <bdo> element.
      • blockquote

        public static BlockQuoteElement blockquote()
        Creates new <blockquote> element. No attributes are set by default.
        Returns:
        New <blockquote> element.
      • body

        public static BodyElement body()
        Creates new <body> element. No attributes are set by default.
        Returns:
        New <body> element.
      • br

        public static BrElement br()
        Creates new <br> element. No attributes are set by default.
        Returns:
        New <br> element.
      • button

        public static ButtonElement button()
        Creates new <button> element. No attributes are set by default.
        Returns:
        New <button> element.
      • canvas

        public static CanvasElement canvas()
        Creates new <canvas> element. No attributes are set by default.
        Returns:
        New <canvas> element.
      • caption

        public static CaptionElement caption()
        Creates new <caption> element. No attributes are set by default.
        Returns:
        New <caption> element.
      • cite

        public static CiteElement cite()
        Creates new <cite> element. No attributes are set by default.
        Returns:
        New <cite> element.
      • code

        public static CodeElement code()
        Creates new <code> element. No attributes are set by default.
        Returns:
        New <code> element.
      • col

        public static ColElement col()
        Creates new <col> element. No attributes are set by default.
        Returns:
        New <col> element.
      • colgroup

        public static ColGroupElement colgroup()
        Creates new <colgroup> element. No attributes are set by default.
        Returns:
        New <colgroup> element.
      • datalist

        public static DataListElement datalist()
        Creates new <datalist> element. No attributes are set by default.
        Returns:
        New <datalist> element.
      • dd

        public static DDElement dd()
        Creates new <dd> element. No attributes are set by default.
        Returns:
        New <dd> element.
      • del

        public static DelElement del()
        Creates new <del> element. No attributes are set by default.
        Returns:
        New <del> element.
      • details

        public static DetailsElement details()
        Creates new <details> element. No attributes are set by default.
        Returns:
        New <details> element.
      • dfn

        public static DfnElement dfn()
        Creates new <dfn> element. No attributes are set by default.
        Returns:
        New <dfn> element.
      • div

        public static DivElement div()
        Creates new <div> element. No attributes are set by default.
        Returns:
        New <div> element.
      • dl

        public static DLElement dl()
        Creates new <dl> element. No attributes are set by default.
        Returns:
        New <dl> element.
      • dt

        public static DTElement dt()
        Creates new <dt> element. No attributes are set by default.
        Returns:
        New <dt> element.
      • em

        public static EmElement em()
        Creates new <em> element. No attributes are set by default.
        Returns:
        New <em> element.
      • embed

        public static EmbedElement embed()
        Creates new <embed> element. No attributes are set by default.
        Returns:
        New <embed> element.
      • fieldset

        public static FieldSetElement fieldset()
        Creates new <fieldset> element. No attributes are set by default.
        Returns:
        New <fieldset> element.
      • figcaption

        public static FigCaptionElement figcaption()
        Creates new <figcaption> element. No attributes are set by default.
        Returns:
        New <figcaption> element.
      • figure

        public static FigureElement figure()
        Creates new <figure> element. No attributes are set by default.
        Returns:
        New <figure> element.
      • footer

        public static FooterElement footer()
        Creates new <footer> element. No attributes are set by default.
        Returns:
        New <footer> element.
      • form

        public static FormElement form()
        Creates new <form> element. No attributes are set by default.
        Returns:
        New <form> element.
      • h1

        public static H1Element h1()
        Creates new <h1> element. No attributes are set by default.
        Returns:
        New <h1> element.
      • h2

        public static H2Element h2()
        Creates new <h2> element. No attributes are set by default.
        Returns:
        New <h2> element.
      • h3

        public static H3Element h3()
        Creates new <h3> element. No attributes are set by default.
        Returns:
        New <h3> element.
      • h4

        public static H4Element h4()
        Creates new <h4> element. No attributes are set by default.
        Returns:
        New <h4> element.
      • h5

        public static H5Element h5()
        Creates new <h5> element. No attributes are set by default.
        Returns:
        New <h5> element.
      • h6

        public static H6Element h6()
        Creates new <h6> element. No attributes are set by default.
        Returns:
        New <h6> element.
      • head

        public static HeadElement head()
        Creates new <head> element. No attributes are set by default.
        Returns:
        New <head> element.
      • header

        public static HeaderElement header()
        Creates new <header> element. No attributes are set by default.
        Returns:
        New <header> element.
      • hgroup

        public static HGroupElement hgroup()
        Creates new <hgroup> element. No attributes are set by default.
        Returns:
        New <hgroup> element.
      • hr

        public static HRElement hr()
        Creates new <hr> element. No attributes are set by default.
        Returns:
        New <hr> element.
      • html

        public static HtmlDocumentElement html()
        Creates new <html> element. No attributes are set by default.
        Returns:
        New <html> element.
      • i

        public static IElement i()
        Creates new <i> element. No attributes are set by default.
        Returns:
        New <i> element.
      • iframe

        public static IFrameElement iframe()
        Creates new <iframe> element. No attributes are set by default.
        Returns:
        New <iframe> element.
      • img

        public static ImgElement img()
        Creates new <img> element. No attributes are set by default.
        Returns:
        New <img> element.
      • input

        public static InputElement input()
        Creates new <input> element. No attributes are set by default.
        Returns:
        New <input> element.
      • ins

        public static InsElement ins()
        Creates new <ins> element. No attributes are set by default.
        Returns:
        New <ins> element.
      • kbd

        public static KbdElement kbd()
        Creates new <kbd> element. No attributes are set by default.
        Returns:
        New <kbd> element.
      • label

        public static LabelElement label()
        Creates new <label> element. No attributes are set by default.
        Returns:
        New <label> element.
      • legend

        public static LegendElement legend()
        Creates new <legend> element. No attributes are set by default.
        Returns:
        New <legend> element.
      • li

        public static LIElement li()
        Creates new <li> element. No attributes are set by default.
        Returns:
        New <li> element.
      • link

        public static LinkElement link()
        Creates new <link> element. No attributes are set by default.
        Returns:
        New <link> element.
      • main

        public static MainElement main()
        Creates new <main> element. No attributes are set by default.
        Returns:
        New <main> element.
      • map

        public static MapElement map()
        Creates new <map> element. No attributes are set by default.
        Returns:
        New <map> element.
      • mark

        public static MarkElement mark()
        Creates new <mark> element. No attributes are set by default.
        Returns:
        New <mark> element.
      • meta

        public static MetaElement meta()
        Creates new <meta> element. No attributes are set by default.
        Returns:
        New <meta> element.
      • meter

        public static MeterElement meter()
        Creates new <meter> element. No attributes are set by default.
        Returns:
        New <meter> element.
      • nav

        public static NavElement nav()
        Creates new <nav> element. No attributes are set by default.
        Returns:
        New <nav> element.
      • noscript

        public static NoScriptElement noscript()
        Creates new <noscript> element. No attributes are set by default.
        Returns:
        New <noscript> element.
      • object

        public static ObjectElement object()
        Creates new <object> element. No attributes are set by default.
        Returns:
        New <object> element.
      • ol

        public static OLElement ol()
        Creates new <ol> element. No attributes are set by default.
        Returns:
        New <ol> element.
      • optgroup

        public static OptGroupElement optgroup()
        Creates new <optgroup> element. No attributes are set by default.
        Returns:
        New <optgroup> element.
      • option

        public static OptionElement option()
        Creates new <option> element. No attributes are set by default.
        Returns:
        New <option> element.
      • output

        public static OutputElement output()
        Creates new <output> element. No attributes are set by default.
        Returns:
        New <output> element.
      • p

        public static PElement p()
        Creates new <p> element. No attributes are set by default.
        Returns:
        New <p> element.
      • param

        public static ParamElement param()
        Creates new <param> element. No attributes are set by default.
        Returns:
        New <param> element.
      • pre

        public static PreElement pre()
        Creates new <pre> element. No attributes are set by default.
        Returns:
        New <pre> element.
      • progress

        public static ProgressElement progress()
        Creates new <progress> element. No attributes are set by default.
        Returns:
        New <progress> element.
      • q

        public static QElement q()
        Creates new <q> element. No attributes are set by default.
        Returns:
        New <q> element.
      • rp

        public static RPElement rp()
        Creates new <rp> element. No attributes are set by default.
        Returns:
        New <rp> element.
      • rt

        public static RTElement rt()
        Creates new <rt> element. No attributes are set by default.
        Returns:
        New <rt> element.
      • ruby

        public static RubyElement ruby()
        Creates new <ruby> element. No attributes are set by default.
        Returns:
        New <ruby> element.
      • s

        public static SElement s()
        Creates new <s> element. No attributes are set by default.
        Returns:
        New <s> element.
      • samp

        public static SampElement samp()
        Creates new <samp> element. No attributes are set by default.
        Returns:
        New <samp> element.
      • script

        public static ScriptElement script()
        Creates new <script> element. No attributes are set by default.
        Returns:
        New <script> element.
      • section

        public static SectionElement section()
        Creates new <section> element. No attributes are set by default.
        Returns:
        New <section> element.
      • select

        public static SelectElement select()
        Creates new <select> element. No attributes are set by default.
        Returns:
        New <select> element.
      • small

        public static SmallElement small()
        Creates new <small> element. No attributes are set by default.
        Returns:
        New <small> element.
      • source

        public static SourceElement source()
        Creates new <source> element. No attributes are set by default.
        Returns:
        New <source> element.
      • span

        public static SpanElement span()
        Creates new <span> element. No attributes are set by default.
        Returns:
        New <span> element.
      • strong

        public static StrongElement strong()
        Creates new <strong> element. No attributes are set by default.
        Returns:
        New <strong> element.
      • style

        public static StyleElement style()
        Creates new <style> element. No attributes are set by default.
        Returns:
        New <style> element.
      • sub

        public static SubElement sub()
        Creates new <sub> element. No attributes are set by default.
        Returns:
        New <sub> element.
      • summary

        public static SummaryElement summary()
        Creates new <summary> element. No attributes are set by default.
        Returns:
        New <summary> element.
      • sup

        public static SupElement sup()
        Creates new <sup> element. No attributes are set by default.
        Returns:
        New <sup> element.
      • table

        public static TableElement table()
        Creates new <table> element. No attributes are set by default.
        Returns:
        New <table> element.
      • tbody

        public static TBodyElement tbody()
        Creates new <tbody> element. No attributes are set by default.
        Returns:
        New <tbody> element.
      • td

        public static TDElement td()
        Creates new <td> element. No attributes are set by default.
        Returns:
        New <td> element.
      • template

        public static TemplateElement template()
        Creates new <template> element. No attributes are set by default.
        Returns:
        New <template> element.
      • textarea

        public static TextAreaElement textarea()
        Creates new <textarea> element. No attributes are set by default.
        Returns:
        New <textarea> element.
      • tfoot

        public static TFootElement tfoot()
        Creates new <tfoot> element. No attributes are set by default.
        Returns:
        New <tfoot> element.
      • th

        public static THElement th()
        Creates new <th> element. No attributes are set by default.
        Returns:
        New <th> element.
      • thead

        public static THeadElement thead()
        Creates new <thead> element. No attributes are set by default.
        Returns:
        New <thead> element.
      • time

        public static TimeElement time()
        Creates new <time> element. No attributes are set by default.
        Returns:
        New <time> element.
      • title

        public static TitleElement title()
        Creates new <title> element. No attributes are set by default.
        Returns:
        New <title> element.
      • tr

        public static TRElement tr()
        Creates new <tr> element. No attributes are set by default.
        Returns:
        New <tr> element.
      • track

        public static TrackElement track()
        Creates new <track> element. No attributes are set by default.
        Returns:
        New <track> element.
      • u

        public static UElement u()
        Creates new <u> element. No attributes are set by default.
        Returns:
        New <u> element.
      • ul

        public static ULElement ul()
        Creates new <ul> element. No attributes are set by default.
        Returns:
        New <ul> element.
      • var

        public static VarElement var()
        Creates new <var> element. No attributes are set by default.
        Returns:
        New <var> element.
      • video

        public static VideoElement video()
        Creates new <video> element. No attributes are set by default.
        Returns:
        New <video> element.
      • wbr

        public static WBrElement wbr()
        Creates new <wbr> element. No attributes are set by default.
        Returns:
        New <wbr> element.