Home  >  Article  >  Web Front-end  >  Path problem in html

Path problem in html

巴扎黑
巴扎黑Original
2017-04-01 15:02:451447browse

1

Add nothing and default the current directory

2

./ Current directory

3

../ Parent directory

4

/ Root directory

5. Servers and browsers interpret URLs starting with a slash differently. , the server always interprets them relative to the current web application, and the browser always interprets them relative to the server's root directory.

(src in img tag; page attribute in jsp:include)

The above is the detailed content of Path problem in html. 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
Previous article:Some tips for using HTMLNext article:Some tips for using HTML