How to Set the background color?

The background-color property specifies the background color of an element. The following code sets the background color for the paragraph to lightgray.

        HyperText Markup Language (HTML)