CSS HTML Validator - The All-In-One HTML, XHTML, CSS, Link, SEO, and Accessibility Checker
Home Help: "background-image" CSS property

The "background-image" CSS Property

Values for "background-image"
CSS LevelValue
CSS 2.1an image URL or "none"
CSS3<bg-image>#, where <bg-image> is <image> or "none"


  • Images are drawn with the first specified one on top (closest to the user) and each subsequent image behind the previous one. Note: URLs must be in the form url("<url>") (with double quotes), url('<url>') (with single quotes), or url(<url>) (with no quotes), where <url> is the URL itself.

Recommended Links

Accessibility Information & Tips

  • Use CSS to include decorative images wherever possible. The CSS "background", "background-image", "content", and "list-style-image" properties can be used. This avoids additional markup in the content. Visit https://www.w3.org/TR/WCAG20-TECHS/C9 for more information.

Search Engine Links (for more information)

Help us improve this page: Suggest a link or noteReport a problem