Which is better: ./style.css or just style.css?

I've been using
./script.js
or
./style.css
in my HTML files, but I see developers/designers better than me who do not include
./
and just use
script.js
or
images/photo.jpg
instead. I know that they both point to the file in the current directory, but is one preferred over the other, or does it not matter?
Was this page helpful?