Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the point of ./ in ./images?

Tags:

url

uri

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?

like image 413
KatieK Avatar asked Nov 08 '12 22:11

KatieK


1 Answers

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!

like image 153
Kelvin Avatar answered Oct 23 '22 06:10

Kelvin