(w) smolweb

body: The Document Body element

The <body> HTML element represents the content of an HTML document. There can be only one element in a document.

Attributes

role="generic" is the implicit value

Global attributes

role="[semantic-role]"

accesskey="[key]"

autofocus

class="[classname]"

dir="[auto/ltr/rtl]"

hidden

id="[identifier]"

itemid="[global-identifier]"

itemprop="[property-name]"

itemscope itemtype="[url of the vocabulary]"

lang="[language-code]"

tabindex="[num index]"

title="[Title]"

Example

<!DOCTYPE html>
<html lang="en">
    <head>
        <title>The title of my page</title>
    </head>
    <body>
        <h1>Hello</h1>
    </body>
</html>