Body

Updated: 06/22/2024 by Computer Hope

A body may refer to any of the following:

Six examples of quoted words surrounded by a circle, square, or hexagon

1. In HTML (HyperText Markup Language), the body describes a web page's primary content or body text. See our <body> tag definition for further information.

2. In CSS (Cascading Style Sheets), the body selects the body tag in an HTML document. In the CSS code, it's called the "body selector." For example, to give the body a grey background color, the following CSS code could be used.

<style type="text/css">
 body {
  background-color:#CCCCCC;
 }
</style>
Tip

With HTML5, you no longer need the type="type/css" attribute.

3. In an e-mail, the body is the main portion of an e-mail containing the message.

4. A body is the chassis of a computer.

E-mail terms, Tag, Web page