CSS-VALIDATOR(1)

πŸ“¦ version 0~20250226, in ubuntu resolute, ubuntu stonking

πŸ’… CSS-VALIDATOR(1) β€” like, the manual, but make it make sense

okay bestie so this is the page for css-validator, a lil User Command that lives in your terminal and will absolutely tell you if your CSS is a mess or a masterpiece. no gatekeeping here, we're gonna walk through every single flag together 🫢


✨ NAME ✨

css-validator β€” validate CSS style sheets πŸ’–


🌸 SYNOPSIS 🌸

css-validator [OPTIONS] [URL]*

πŸ¦‹ DESCRIPTION πŸ¦‹

You hand it a CSS style sheet, or an html file, or a url, and it checks whether that thing is valid. That's the whole vibe. It's giving quality control but make it fashion. ✨


πŸ‘‘ OPTIONS πŸ‘‘

  • -p, --printCSS β€” prints the validated CSS. heads up though: this only actually works with text output, because with the other output formats the CSS gets printed anyway. iykyk πŸ’…
  • -profile PROFILE, --profile=PROFILE β€” checks the style sheet against PROFILE. the possible values are: css1, css2, css21, css3, css3svg (this one's the default), svg, svgbasic, svgtiny, atsc-tv, mobile, tv.
  • -medium MEDIUM, --medium=MEDIUM β€” checks the style sheet using the medium MEDIUM. possible values: all (default), aural, braille, embossed, handheld, print, projection, screen, tty, tv, presentation.
  • -output OUTPUT, --output=OUTPUT β€” prints the result in whatever format you picked. possible values: gnu, json, soap12, text (default, obvs), ucn, xhtml, xml.
  • -lang LANG, --lang=LANG β€” prints the result in the language you asked for. possible values: bg, cs, de, el, en (default), es, fa, fr, hi, hu, it, ja, ko, nl, pl-PL, pt-BR, ro, ru, sv, uk, zh-cn. multilingual icon behavior 🌈
  • -warning WARN, --warning=WARN β€” how loud do you want the warnings, bestie. possible values: -1 (no warning at all), 0, 1, 2 (default β€” all the warnings, we're spilling everything).
  • -vextwarning true, --vextwarning=true β€” treats Vendor Extensions as warnings. the possible values for vextwarning are true or false (which is the default).
  • URL β€” a URL can be either a distant web resource (https://) or a local file (file:/). For a relative path use file:relative/path/to/my_style_sheet.css. For an absolute path use file:/absolute/path/to/my_style_sheet.css.

πŸ’€ EXIT STATUS πŸ’€

  • returns 0 on success πŸŽ‰
  • returns 1 for fatal errors 😭
  • returns 10 to 110 for the number of errors in the checked Style Sheet πŸ’€

so yeah, the exit code is literally a report card. read it and weep (or slay).


πŸŽ€ SEE ALSO πŸŽ€

ngl there isn't a SEE ALSO section in this one β€” this page is a solo main character. periodt. πŸ‘‘


k that's the whole thing, bestie β€” go forth and validate. this lil manual is from css-validator, dated July 2025 🌸 catch you in the group chat 🫢✨

πŸ“¦ where this page comes from