Basic Components
HTML markup
div {
span("A simple text")
span("A text with custom CSS styling") {
fontFamily = "Times New Roman"
fontSize = 32.px
textDecoration = TextDecoration(TextDecorationLine.UNDERLINE, TextDecorationStyle.DOTTED, Color.name(Col.RED))
}
tag(TAG.CODE, "Some text written in <code></code> HTML tag.")
}<div>
<span>A simple text</span>
<span style="font-family: Times New Roman; font-size: 32px; text-decroration: underline dotted red">
A test with custom CSS styling
</span>
<code>Some text written in <code></code> HTML tag.</code>
</div>Lists
Tables
Links
Dynamic content
Rich text
XSS Protection
Custom attributes
Last updated