/

HTML / CSS / JavaScript Tutorial

HTML Standard attribute: bgcolor

[this page | pdf | back links]

The HTML bgcolor attribute indicates the background colour of an element. It is no longer supported in HTML 5 (instead use CSS, e.g. <div style="background-color:yellow">…</div>).

 


NAVIGATION LINKS
Contents | Prev | Next | HTML Attributes


Desktop view | Switch to Mobile