The area behind an element's content is the background. You can style it with colors, images, and gradients.
1Background Image vs IMG Tag
Unlike the <img> tag, background images are decorative. They are styled via CSS and don't provide semantic meaning to search engines. Use backgrounds for textures, hero patterns, or UI icons.
2Layering and Tints
You can apply multiple backgrounds by separating them with commas. The first one is on top. This is commonly used to put a semi-transparent color overlay (tint) over an image to ensure text readability.
