html background color

Table of Contents

By default, your webpage background is white in color. You may not like it, but no worries. The bgcolor attribute is used to control the background of an HTML element, specifically page body and table backgrounds.

Note: bgcolor attribute is not supported in HTML5. Use CSS instead.

Live Example

Leave a Comment

Your email address will not be published. Required fields are marked *

No data found.