YouTip LogoYouTip

Att Body Text

## HTML <body> text Attribute ### Definition and Usage The `text` attribute specifies the color of all text in a document. **Note:** The `text` attribute of the `` tag is not recommended. Use CSS instead. CSS syntax: `body {color: }` ### Browser Support All major browsers support the `text` attribute. ### Syntax ### Attribute Values | Value | Description | | :----- | :----------------------------------------------------------- | | color_name | Color name (e.g. "red"). | | hex_number | Hexadecimal color value (e.g. "#ff0000"). | | rgb_number | RGB color value (e.g. "rgb(255,0,0)"). | ### Example HTML body text Attribute

This is a heading

This is a paragraph.

### More Examples **Using hexadecimal value:** HTML body text Attribute

This is a heading

This is a paragraph.

**Using RGB value:** HTML body text Attribute

This is a heading

This is a paragraph.

### Related Pages HTML Tutorial: (#) HTML Reference Manual: [HTML <body> Tag](#)
← Att Body VlinkBootstrap V2 Carousel Plugin β†’