donotturnoff

body

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

SDTPBrowser support

Date Note Commit
Make body layout configurable via SDSS. 21e3cbe84456ddb0544f6a9faed5f3880b444deb git GitHub
Give body padding of 5px on all sides. ed5bb02f0597a8837145d7edcb43d52a5a59c409 git GitHub
Make body always use vbox layout (not configurable via SDSS). d35faff9c5d581a1932da2e23a49b0c7655ee590 git GitHub
Allow styling of body. d1646bf16b35e3a4a696681d3aab117248732f16 git GitHub
Added to SDTPBrowser. 8b7ffcb22f98c774fa8de9066f7fbdd08fbf5f96 git GitHub

Related elements