The body element contains document's content.
Content can be any type of information served to user agents (browsers); i.e. content can be text, images and even audio based material.
Presentational attributes, i.e. colors, background graphic etc, and some elements have been deprecated as style sheets became suggested way of presenting material.
Syntax:
<body></body>
Attributes:
- id, class (document-wide identifiers)
- lang (language information), dir (text direction)
- title (element title)
- style (inline style information)
- onload, onunload, onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup (intrinsic events)
Example
HTML body element:
Comments
No comments have been made yet.
Please login to leave a comment. Login now