I have encountered multiple CSS specifications where the images are referred to like this:
./images/bg.jpg
I understand that ./
means "this directory", so what is the difference between ./images/bg.jpg
and images/bg.jpg
? Why would a developer use ./
in a URL?
You're correct - there's no difference between the two, so really it's just the individual developer's preference. There's not much more to say about the subject!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With