Two methods for HTML to load external css files Method 1:
Method 2: rel="stylesheet" type="text/css" href="../test.css"> rel="stylesheet " it's necessary. href="../css/test.css" In, ../ and / both refer to the root directory of the site. /css refers to the css folder in the root directory of the site.
The above is the detailed content of Two ways for HTML to load external css files. For more information, please follow other related articles on the PHP Chinese 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