Why can't I see my background color behind inline text?
Inline elements only cover the area behind the text, so background color fills just that small area. If you want a bigger colored area, use a block element or add padding.
💡 Background color fills the element's box; inline elements have tight boxes around text.
Why does my background color not fill the entire page?
Background color applies only to the element's box. If the element is small or has no height, the color area is small. To color the whole page, apply background color to the <body> or <html> element.
💡 Background color fills the element's box size only.