/* The selector "p" indicates that all paragraphs in the document will be affected by that rule */
p {
/* The "color" property defines the text color, in this case yellow. */
color: yellow;
/* The "background-color" property defines the background color, in this case black. */
background-color: black;
}CSS / notebook
CSS
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.