The difference between HTML imported files and whether they are underlined

WBOY
Release: 2016-07-28 08:25:43
Original
1508 people have browsed it
<span><</span><span>link </span><span>rel=</span><span>"stylesheet" </span><span>href=</span><span>"public/bootstrap-3.3.5-dist/css/bootstrap.min.css"</span><span>></span>
Copy after login
does not have the underscore '/', and the link directly introduces the directory under this folder. With an underscore, the link directly introduces the directory under the site.
<span><</span><span>link </span><span>rel=</span><span>"stylesheet" </span><span>href=</span><span>"/public/bootstrap-3.3.5-dist/css/bootstrap.min.css"</span><span>></span>
Copy after login
These two URLs are different, and the imported URLs are also different.

The file introduced above is: http://localhost:63342/Sphinx/blog/public/bootstrap-3.3.5-dist/css/bootstrap.min.css

The file introduced below is http://localhost:63342/ public/bootstrap-3.3.5-dist/css/bootstrap.min.css

The difference lies in whether it is a file starting from the root directory. Pay attention to the 404 error caused by the underscore /

The above introduces the difference between HTML imported files with and without underscores, including relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template