The example below specifies the color of the borders, and the text and background color of elements: Example table, td, th { border: 1px solid green; } th { background-color: green; color: white; }