#!/bin/sh # heresy: aliases for html elements with hell # usage: source heresy (this file sources hell) # by Case Duckworth # License: MIT # # The elements in this file come directly from the W3C: # https://developer.mozilla.org/en-US/docs/Web/HTML/Element # # To avoid collisions with shell commands or other possibly useful functions, # all element names are of the format 'ELEMENT.' (note the period). . ./hell # since we're generating HTML, let's include the DOCTYPE. echo '' # 4 The elements of HTML # 4.1 The document element _document()(el document "$@") # 4.1.1 The html element _html()(el html "$@") # 4.2 Document metadata # 4.2.1 The head element _head()(el head "$@") # 4.2.2 The title element _title()(el title "$@") # 4.2.3 The base element _base()(el base "$@") # 4.2.4 The link element _link()(el link "$@") # 4.2.5 The meta element _meta()(el meta "$@") # 4.2.6 The style element _style()(el style "$@") # 4.3 Sections # 4.3.1 The body element _body()(el body "$@") # 4.3.2 The article element _article()(el article "$@") # 4.3.3 The section element _section()(el section "$@") # 4.3.4 The nav element _nav()(el nav "$@") # 4.3.5 The aside element _aside()(el aside "$@") # 4.3.6 The h1, h2, h3, h4, h5, and h6 elements _h1()(el h1 "$@") _h2()(el h2 "$@") _h3()(el h3 "$@") _h4()(el h4 "$@") _h5()(el h5 "$@") _h6()(el h6 "$@") # 4.3.7 The hgroup element _hgroup()(el hgroup "$@") # 4.3.8 The header element _header()(el header "$@") # 4.3.9 The footer element _footer()(el footer "$@") # 4.3.10 The address element _address()(el address "$@") # 4.4 Grouping content # 4.4.1 The p element _p()(el p "$@") # 4.4.2 The hr element _hr()(el hr "$@") # 4.4.3 The pre element _pre()(el pre "$@") # 4.4.4 The blockquote element _blockquote()(el blockquote "$@") # 4.4.5 The ol element _ol()(el ol "$@") # 4.4.6 The ul element _ul()(el ul "$@") # 4.4.7 The menu element _menu()(el menu "$@") # 4.4.8 The li element _li()(el li "$@") # 4.4.9 The dl element _dl()(el dl "$@") # 4.4.10 The dt element _dt()(el dt "$@") # 4.4.11 The dd element _dd()(el dd "$@") # 4.4.12 The figure element _figure()(el figure "$@") # 4.4.13 The figcaption element _figcaption()(el figcaption "$@") # 4.4.14 The main element _main()(el main "$@") # 4.4.15 The div element _div()(el div "$@") # 4.5 Text-level semantics # 4.5.1 The a element _a()(el a "$@") # 4.5.2 The em element _em()(el em "$@") # 4.5.3 The strong element _strong()(el strong "$@") # 4.5.4 The small element _small()(el small "$@") # 4.5.5 The s element _s()(el s "$@") # 4.5.6 The cite element _cite()(el cite "$@") # 4.5.7 The q element _q()(el q "$@") # 4.5.8 The dfn element _dfn()(el dfn "$@") # 4.5.9 The abbr element _abbr()(el abbr "$@") # 4.5.10 The ruby element _ruby()(el ruby "$@") # 4.5.11 The rt element _rt()(el rt "$@") # 4.5.12 The rp element _rp()(el rp "$@") # 4.5.13 The data element _data()(el data "$@") # 4.5.14 The time element _time()(el time "$@") # 4.5.15 The code element _code()(el code "$@") # 4.5.16 The var element _var()(el var "$@") # 4.5.17 The samp element _samp()(el samp "$@") # 4.5.18 The kbd element _kbd()(el kbd "$@") # 4.5.19 The sub and sup elements _sup()(el sup "$@") _sub()(el sub "$@") # 4.5.20 The i element _i()(el i "$@") # 4.5.21 The b element _b()(el b "$@") # 4.5.22 The u element _u()(el u "$@") # 4.5.23 The mark element _mark()(el mark "$@") # 4.5.24 The bdi element _bdi()(el bdi "$@") # 4.5.25 The bdo element _bdo()(el bdo "$@") # 4.5.26 The span element _span()(el span "$@") # 4.5.27 The br element _br()(el br "$@") # 4.5.28 The wbr element _wbr()(el wbr "$@") # 4.7 Edits # 4.7.1 The ins element _ins()(el ins "$@") # 4.7.2 The del element _del()(el del "$@") # 4.8 Embedded content # 4.8.1 The picture element _picture()(el picture "$@") # 4.8.2 The source element _source()(el source "$@") # 4.8.3 The img element _img()(el img "$@") # 4.8.5 The iframe element _iframe()(el iframe "$@") # 4.8.6 The embed element _embed()(el embed "$@") # 4.8.7 The object element _object()(el object "$@") # 4.8.8 The param element _param()(el param "$@") # 4.8.9 The video element _video()(el video "$@") # 4.8.10 The audio element _audio()(el audio "$@") # 4.8.11 The track element _track()(el track "$@") # 4.8.13 The map element _map()(el map "$@") # 4.8.14 The area element _area()(el area "$@") # 4.9 Tabular data # 4.9.1 The table element _table()(el table "$@") # 4.9.2 The caption element _caption()(el caption "$@") # 4.9.3 The colgroup element _colgroup()(el colgroup "$@") # 4.9.4 The col element _col()(el col "$@") # 4.9.5 The tbody element _tbody()(el tbody "$@") # 4.9.6 The thead element _thead()(el thead "$@") # 4.9.7 The tfoot element _tfoot()(el tfoot "$@") # 4.9.8 The tr element _tr()(el tr "$@") # 4.9.9 The td element _td()(el td "$@") # 4.9.10 The th element _th()(el th "$@") # 4.10 Forms # 4.10.3 The form element _form()(el form "$@") # 4.10.4 The label element _label()(el label "$@") # 4.10.5 The input element _input()(el input "$@") # 4.10.6 The button element _button()(el button "$@") # 4.10.7 The select element _select()(el select "$@") # 4.10.8 The datalist element _datalist()(el datalist "$@") # 4.10.9 The optgroup element _optgroup()(el optgroup "$@") # 4.10.10 The option element _option()(el option "$@") # 4.10.11 The textarea element _textarea()(el textarea "$@") # 4.10.12 The output element _output()(el output "$@") # 4.10.13 The progress element _progress()(el progress "$@") # 4.10.14 The meter element _meter()(el meter "$@") # 4.10.15 The fieldset element _fieldset()(el fieldset "$@") # 4.10.16 The legend element _legend()(el legend "$@") # 4.11 Interactive elements # 4.11.1 The details element _details()(el details "$@") # 4.11.2 The summary element _summary()(el summary "$@") # 4.11.4 The dialog element _dialog()(el dialog "$@") # 4.12 Scripting # 4.12.1 The script element _script()(el script "$@") # 4.12.2 The noscript element _noscript()(el noscript "$@") # 4.12.3 The template element _template()(el template "$@") # 4.12.4 The slot element _slot()(el slot "$@") # 4.12.5 The canvas element _canvas()(el canvas "$@")