+ 1
Link Css
Hello, I try to attach the css to my html by putting "<Link rel...." but it doesnât work :(
13 Answers
+ 11
Marie Capelle for working of external css linking in PC you must know two thing
1) if the css file is in same folder in which your html file is present.
Then to link css you just need to include the css file name and extension in href like this
<link rel="stylesheet" href="file name.css>
2) if file is in other folder then in href include the path of that file like if it is Folder d where it is in new folder where an folder named project where it is located then you should give path like this
href="D:/new folder/project/file.css
+ 14
Marie Capelle then simply use this for connecting the css file
<link rel="stylesheet" href="file name.css>
+ 3
Please provide the code. It will be helpful for us to answer
https://www.sololearn.com/discuss/1316935/?ref=app
+ 3
Satnam Singh I have seen many codes using link tag đ
+ 3
Marie Capelle make sure you have a file called css.css in your working directory.
The file that you provided to the link doesn't work anyway. Those effects came from the stylesheet in CSS tab
+ 2
im so sorry, im new and not good english ^^
+ 1
I've cupy my code of sublime text (i've save like that "css.css") but in sololearn its always attach no? (sry for ly english)
+ 1
Gawen steasy, they are on same folder..
0
Link or link its the same ^^
0
thanks for your answer :)
0
Well... in sololearn its ok, https://code.sololearn.com/Wsb85gRdk5O3/#
but in my text edit (sublime text) it doesnt work