+ 1

How to link an external css with html

17th Oct 2016, 7:23 PM
Tarang Mittal
Tarang Mittal - avatar
3 Antworten
+ 5
<link rel='stylesheet' href='style.css' /> inside your <head> or <style> @import url(style.css); </style>
17th Oct 2016, 7:25 PM
Schindlabua
Schindlabua - avatar
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.
18th Oct 2016, 6:21 PM
Adrian Kuriata
Adrian Kuriata - avatar
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.
5th Nov 2016, 5:21 AM
Jorge Escamilla
Jorge Escamilla - avatar