Cobweb.CSSType
CSS(content::String)

Wrapper to identify content as CSS. Will be displayed appropriately in text/css and text/html mime types.

Cobweb.CommentType
Comment(x)

Inserts into HTML as <!-- $(string(x)) ->.

Cobweb.IFrameType
IFrame(content; attrs...)

Create an <iframe srcdoc=$content $(attrs...)>.

Cobweb.JavascriptType
Javascript(content::String)

String wrapper to identify content as Javascript. Will be displayed appropriately in text/javascript and text/html mime types.

Cobweb.NodeType
Node(tag::Symbol, attrs::OrderedDict{Symbol,String}, children::Vector)

Should not often be used directly. See ?Cobweb.h.

Cobweb.hMethod
h(tag, children...; kw...)
h.tag(children...; kw...)

Create an html node with the given tag, children, and kw attributes.

Examples

h.div("child", class="myclass", id="myid")
# <div class="myclass" id="myid">child</div>

h.div."myclass"("content")
# <div class="myclass">content</div>