SDML body element documentation
Description
The body element is used to contain all the actual content on a page. This is in contrast to the head element, which is used to contain metadata about the page.
Example code
doc(version="SDML/1.0", charset="UTF-8") {
head {
title { "My page" }
}
body {
h1 { "Welcome to my site" }
}
}
Attributes
All elements have the global attributes.
Additional attributes
None.
Default style
layout="vbox"padding_bottom="5"padding_top="5"padding_right="5"padding_left="5"
SDTPBrowser support
| Date | Note | Commit |
|---|---|---|
Make body layout configurable via SDSS. |
21e3cbe8 git GitHub |
|
Give body padding of 5px on all sides. |
ed5bb02f git GitHub |
|
Make body always use vbox layout (not configurable via SDSS). |
d35faff9 git GitHub |
|
Allow styling of body. |
d1646bf1 git GitHub |
|
| Added to SDTPBrowser. | 8b7ffcb2 git GitHub |