Duplo v0.1.1 Duplo View Source
HTML module that defines all common HTML tags as function for convenience usage
## Example
iex> Duplo.div([], [
Duplo.h1([], "Title"),
Duplo.p([], [
Duplo.ul([], [
Duplo.li([], "Item 1"),
Duplo.li([], "Item 2"),
])
]),
])
Link to this section Summary
Functions
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns available tags as an atom list
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
Link to this section Functions
a(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
abbr(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
address(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
article(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
aside(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
audio(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
b(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
bdi(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
bdo(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
blockquote(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
br(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
button(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
canvas(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
caption(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
cite(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
code(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
col(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
colgroup(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
datalist(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
dd(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
del(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
details(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
dfn(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
div(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
dl(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
dt(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
em(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
embed(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
fieldset(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
figcaption(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
figure(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
form(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
h1(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
h2(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
h3(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
h4(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
h5(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
h6(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
header(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
hr(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
i(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
iframe(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
img(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
input(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
ins(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
kbd(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
label(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
legend(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
li(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
main_(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
map(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
mark(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
math(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
meter(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
node(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
object(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
ol(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
optgroup(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
option(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
output(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
p(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
param(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
pre(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
progress(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
q(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
rp(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
rt(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
ruby(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
s(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
samp(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
section(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
select(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
small(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
source(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
span(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
strong(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
sub(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
summary(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
sup(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
table(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
tags() View Source
Returns available tags as an atom list
## Example
iex> #{MODULE}.tags() [:#{Enum.join(unquote(tags), ", :")}]
tbody(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
td(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
text(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
textarea(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
tfoot(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
th(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
thead(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
time(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
tr(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
track(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
u(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
ul(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
var(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
video(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"
wbr(attrs \\ [], children \\ []) View Source
Returns a <#{unquote(tag)} tag with given attributes and childrens. Both mush be arrays
## Example
iex> #{MODULE}.#{unquote(tag)}() "<#{unquote(tag)} ></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn") "<#{unquote(tag)} class=\"btn\"></#{unquote(tag)}>"
iex> #{MODULE}.#{unquote(tag)}(class: "btn", ["Hello"]) "<#{unquote(tag)} class=\"btn\">Hello</#{unquote(tag)}>"