Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

Can CSS be used with other than HTML documents?

user-image
Question added by Deleted user
Date Posted: 2013/04/18
Faizan Ahmad
by Faizan Ahmad , Software Engineer , cardekho.com

Yes you can use it with XML

Muhammad Majid Saleem
by Muhammad Majid Saleem , Senior PHP Developer / Project Manager , SwaamTech

CSS can be used with XML, SVG and XUL.

hemant Gupta
by hemant Gupta , Internship of Android application development , Adaptive Business Affairs Pvt. Ltd.

CSS can be used anywhere you want in order to style your sheets with XUL,SVG,XML,JQUERY etc.

Ashraf Sabry
by Ashraf Sabry , Freelancer developer , N/A

As Muhammad Majid Saleem answered, it's important to take into account that some SVG elements can be styled using CSS.
CSS is not just for styling HTML.
Moreover, CSS selectors are used by selector engines like Sizzle (used by jQuery), and the native DOM methods querySelector and querySelectorAll.
So, they are very important to be learned by developers and designers.

More Questions Like This