Having developed websites for well over 10 years now, I am astounded at how often coding examples show CSS image properties without quotes. For example:

background-image: url(~/path/to/image.jpg);

In practice, this is fine for most static websites, but for dynamic websites that allow content authors to dynamically insert and change specified images, you definitely want to be using quotes like so:

background-image: url("~/path/to/image.jpg");

One main reason for this is because if the image name or file path has spaces in it, your code will break. This may seem like a trivial detail, but it’s details such as this that add up to deliver a bug free (is there such a thing?) product.

Good luck out there,

Marcel