+ 1
How to link an external css with html
3 Antworten
+ 5
<link rel='stylesheet' href='style.css' /> inside your <head>
or
<style>
@import url(style.css);
</style>
0
Not use @import,this is worst way for speed loading page, just do this with link and better for page, if you will use a CDN links.
0
<head>
...
<link href="(path/filename.css) or (filename.css)" rel="stylesheet"/>
</head>
if your css file is in the same html file directory then just name your file. If your css file is in another directory use the path and finally name your css file.