When the img tag refers to the src path, what is the difference between'. / 'and'.. / 'and' /'

when a point is referenced, there is no difference between a point and no point


Thank you for the invitation

. / is the current directory

.. / is the parent directory

/ is the root directory

on the front page . / is the same as not writing, can be omitted, both are the current directory

in the backend NODE should not be omitted, because not writing . / means referencing the module

in node-moudels .

. / is the current directory

.. / is the parent directory

/ is the root directory


/ represents the root directory
. / represents the current directory
.. / represents the upper level directory
.. /.. / represents the upper two level directory
/. Represents the subordinate directory
/.. /.. There are many answers on behalf of the lower two-level directories


. Sorry for being late.


. / current sibling
.. / parent
/ indicates the root

the starting position of the path is different


. / current directory,.. / parent directory, / root directory (also pay attention to typos, ha)


  1. . / is the current directory
  2. .. / is the parent directory
  3. / is the root directory
Root directory explanation:
Root directory refers to the top-level directory of the logical drive, which is relative to the subdirectory. Open my computer, double-click disk C to enter the root directory of disk C, double-click disk D to enter the root directory of disk D. Other analogies. The root directory is created when the file system is established, and its purpose is to store directory entries for subdirectories (also known as folders) or files.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e4ba2f-44e61.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e4ba2f-44e61.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?