The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] " xyz" vs 'xyz' Reply To: " xyz" vs 'xyz'


In css, you can both use quote (‘) or double-quote (“) there is no real difference.
The only difference is if you wish to escape, if for some reason the value have a quote in it, and you use quote you will have to escape it (ex: font-family: ‘quo\’ted font’) but if you use double quote, you won’t have to escape it (font-family: “quo’ted font”)