Home >Web Front-end >Front-end Q&A >What is the full path in the front end
The full path in the front end refers to the absolute path, which is the absolute location under the directory; the absolute path is the path starting from the root directory and directly reaching the target location. It consists of a series of consecutive directories with slashes in the middle. Separated until the directory or file you want to specify, the last name in the path is the directory or file you want to point to.
The operating environment of this tutorial: Windows 10 system, Dell G3 computer.
The full path refers to the path starting from the root directory, that is, the absolute path
Full path
As long as the path starts with /, it is called the full path, which is the process starting from the project root directory (WebContent) to other resources.
Absolute path refers to the absolute location in the directory, directly reaching the target location, usually the path starting from the drive letter.
The path that completely describes the file location is the absolute path, which is the directory path based on the root directory of the web site. The absolute path name is specified from the root directory at the top of the tree directory structure to a directory or file. It consists of a series of consecutive directories separated by slashes until the directory or file to be specified. The last name is the directory or file to point to. The reason why it is called absolute means that when all web pages reference the same file, the path used is the same.
Full path, also called absolute path, is a term corresponding to "relative path", which refers to the logical location of a file or folder on the hard disk, such as: E: \Program Files\VistaMaster\VistaMaster.exe
The relative path refers to the path of a file or folder relative to a folder, for example, the absolute path is E:\Program Files\VistaMaster\VistaMaster.exe The relative path relative to the folder E:\Program Files is \VistaMaster\VistaMaster.exe
[Related recommendations: javascript video tutorial, web front-end]
The above is the detailed content of What is the full path in the front end. For more information, please follow other related articles on the PHP Chinese website!