Home  >  Article  >  Web Front-end  >  What is the full path in the front end

What is the full path in the front end

WBOY
WBOYOriginal
2022-08-25 16:35:352254browse

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.

What is the full path in the front end

The operating environment of this tutorial: Windows 10 system, Dell G3 computer.

What is the full path in the front end

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.

What is the full path in the front end

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn