marker v2.0.0 Marker.HTML

All HTML elements are generated in this module. To use the element macros outside of components and templates, use use Marker.HTML instead of import Marker.HTML to import them in to the current scope. The use macro automatically handles any ambiguities between html elements and the funcions from Kernel. Kernel.div/2 for example is unimported to allow the use of the div element. If you still need to use Kernel.div/2, just call it as Kernel.div(20, 2)

Summary

Macros

Macros

a(content_or_attrs \\ nil, maybe_content \\ nil)
abbr(content_or_attrs \\ nil, maybe_content \\ nil)
address(content_or_attrs \\ nil, maybe_content \\ nil)
area(content_or_attrs \\ nil, maybe_content \\ nil)
article(content_or_attrs \\ nil, maybe_content \\ nil)
aside(content_or_attrs \\ nil, maybe_content \\ nil)
audio(content_or_attrs \\ nil, maybe_content \\ nil)
b(content_or_attrs \\ nil, maybe_content \\ nil)
base(content_or_attrs \\ nil, maybe_content \\ nil)
bdi(content_or_attrs \\ nil, maybe_content \\ nil)
bdo(content_or_attrs \\ nil, maybe_content \\ nil)
blockquote(content_or_attrs \\ nil, maybe_content \\ nil)
body(content_or_attrs \\ nil, maybe_content \\ nil)
br(content_or_attrs \\ nil, maybe_content \\ nil)
button(content_or_attrs \\ nil, maybe_content \\ nil)
canvas(content_or_attrs \\ nil, maybe_content \\ nil)
caption(content_or_attrs \\ nil, maybe_content \\ nil)
cite(content_or_attrs \\ nil, maybe_content \\ nil)
code(content_or_attrs \\ nil, maybe_content \\ nil)
col(content_or_attrs \\ nil, maybe_content \\ nil)
colgroup(content_or_attrs \\ nil, maybe_content \\ nil)
content(content_or_attrs \\ nil, maybe_content \\ nil)
data(content_or_attrs \\ nil, maybe_content \\ nil)
datalist(content_or_attrs \\ nil, maybe_content \\ nil)
dd(content_or_attrs \\ nil, maybe_content \\ nil)
del(content_or_attrs \\ nil, maybe_content \\ nil)
details(content_or_attrs \\ nil, maybe_content \\ nil)
dfn(content_or_attrs \\ nil, maybe_content \\ nil)
div(content_or_attrs \\ nil, maybe_content \\ nil)
dl(content_or_attrs \\ nil, maybe_content \\ nil)
dt(content_or_attrs \\ nil, maybe_content \\ nil)
em(content_or_attrs \\ nil, maybe_content \\ nil)
embed(content_or_attrs \\ nil, maybe_content \\ nil)
fieldset(content_or_attrs \\ nil, maybe_content \\ nil)
figcaption(content_or_attrs \\ nil, maybe_content \\ nil)
figure(content_or_attrs \\ nil, maybe_content \\ nil)
footer(content_or_attrs \\ nil, maybe_content \\ nil)
form(content_or_attrs \\ nil, maybe_content \\ nil)
h1(content_or_attrs \\ nil, maybe_content \\ nil)
h2(content_or_attrs \\ nil, maybe_content \\ nil)
h3(content_or_attrs \\ nil, maybe_content \\ nil)
h4(content_or_attrs \\ nil, maybe_content \\ nil)
h5(content_or_attrs \\ nil, maybe_content \\ nil)
h6(content_or_attrs \\ nil, maybe_content \\ nil)
head(content_or_attrs \\ nil, maybe_content \\ nil)
header(content_or_attrs \\ nil, maybe_content \\ nil)
hr(content_or_attrs \\ nil, maybe_content \\ nil)
html(content_or_attrs \\ nil, maybe_content \\ nil)
i(content_or_attrs \\ nil, maybe_content \\ nil)
iframe(content_or_attrs \\ nil, maybe_content \\ nil)
img(content_or_attrs \\ nil, maybe_content \\ nil)
input(content_or_attrs \\ nil, maybe_content \\ nil)
ins(content_or_attrs \\ nil, maybe_content \\ nil)
kbd(content_or_attrs \\ nil, maybe_content \\ nil)
keygen(content_or_attrs \\ nil, maybe_content \\ nil)
label(content_or_attrs \\ nil, maybe_content \\ nil)
legend(content_or_attrs \\ nil, maybe_content \\ nil)
li(content_or_attrs \\ nil, maybe_content \\ nil)
link(content_or_attrs \\ nil, maybe_content \\ nil)
main(content_or_attrs \\ nil, maybe_content \\ nil)
map(content_or_attrs \\ nil, maybe_content \\ nil)
mark(content_or_attrs \\ nil, maybe_content \\ nil)
meta(content_or_attrs \\ nil, maybe_content \\ nil)
meter(content_or_attrs \\ nil, maybe_content \\ nil)
noscript(content_or_attrs \\ nil, maybe_content \\ nil)
object(content_or_attrs \\ nil, maybe_content \\ nil)
ol(content_or_attrs \\ nil, maybe_content \\ nil)
optgroup(content_or_attrs \\ nil, maybe_content \\ nil)
option(content_or_attrs \\ nil, maybe_content \\ nil)
output(content_or_attrs \\ nil, maybe_content \\ nil)
p(content_or_attrs \\ nil, maybe_content \\ nil)
param(content_or_attrs \\ nil, maybe_content \\ nil)
pre(content_or_attrs \\ nil, maybe_content \\ nil)
progress(content_or_attrs \\ nil, maybe_content \\ nil)
q(content_or_attrs \\ nil, maybe_content \\ nil)
rp(content_or_attrs \\ nil, maybe_content \\ nil)
rt(content_or_attrs \\ nil, maybe_content \\ nil)
ruby(content_or_attrs \\ nil, maybe_content \\ nil)
s(content_or_attrs \\ nil, maybe_content \\ nil)
samp(content_or_attrs \\ nil, maybe_content \\ nil)
script(content_or_attrs \\ nil, maybe_content \\ nil)
section(content_or_attrs \\ nil, maybe_content \\ nil)
select(content_or_attrs \\ nil, maybe_content \\ nil)
shadow(content_or_attrs \\ nil, maybe_content \\ nil)
small(content_or_attrs \\ nil, maybe_content \\ nil)
source(content_or_attrs \\ nil, maybe_content \\ nil)
span(content_or_attrs \\ nil, maybe_content \\ nil)
string(content_or_attrs \\ nil, maybe_content \\ nil)
style(content_or_attrs \\ nil, maybe_content \\ nil)
sub(content_or_attrs \\ nil, maybe_content \\ nil)
summary(content_or_attrs \\ nil, maybe_content \\ nil)
sup(content_or_attrs \\ nil, maybe_content \\ nil)
table(content_or_attrs \\ nil, maybe_content \\ nil)
tbody(content_or_attrs \\ nil, maybe_content \\ nil)
td(content_or_attrs \\ nil, maybe_content \\ nil)
template(content_or_attrs \\ nil, maybe_content \\ nil)
textarea(content_or_attrs \\ nil, maybe_content \\ nil)
tfoot(content_or_attrs \\ nil, maybe_content \\ nil)
th(content_or_attrs \\ nil, maybe_content \\ nil)
thead(content_or_attrs \\ nil, maybe_content \\ nil)
time(content_or_attrs \\ nil, maybe_content \\ nil)
title(content_or_attrs \\ nil, maybe_content \\ nil)
tr(content_or_attrs \\ nil, maybe_content \\ nil)
track(content_or_attrs \\ nil, maybe_content \\ nil)
u(content_or_attrs \\ nil, maybe_content \\ nil)
ul(content_or_attrs \\ nil, maybe_content \\ nil)
var(content_or_attrs \\ nil, maybe_content \\ nil)
video(content_or_attrs \\ nil, maybe_content \\ nil)
wbr(content_or_attrs \\ nil, maybe_content \\ nil)
xmp(content_or_attrs \\ nil, maybe_content \\ nil)