Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

Can CSS be used with other than HTML documents?

user-image
Question ajoutée par Utilisateur supprimé
Date de publication: 2013/04/18
Faizan Ahmad
par Faizan Ahmad , Software Engineer , cardekho.com

Yes you can use it with XML

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

CSS can be used with XML, SVG and XUL.

hemant Gupta
par 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
par 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