Deprecated in HTML5. Do not use.

<body text="">

Disclosure: Your support helps keep the site running! We earn a referral fee for some of the services we recommend on this page. Learn more
Attribute of
HTML Body Tag: Master The Most Important HTML Element Now
What does <body text=""> do?
Was used to style the text inside the body of the document. Deprecated. Use CSS.


Font styling and color should be controlled with CSS.

body {
 font-family: Sabon, "Adobe Garamond Premier Pro", "Linux Libertine", Georgia, serif;
 font-size: 16px;
 font-weight: normal;
 color: #111111;
Adam is a technical writer who specializes in developer documentation and tutorials.