+ 1

What's the difference between using <link rel=" " > and script src=" "?

1st Mar 2018, 10:46 PM
Haziq Hairil
Haziq Hairil - avatar
4 Réponses
+ 6
link is for css files, fonts and probably other things. script is for script files, js, or any other, coffee script, ruby on rails I think, that kind of stuff
1st Mar 2018, 10:53 PM
voidneo
+ 1
2nd Mar 2018, 9:59 PM
voidneo
0
But sometimes I see people using <link rel="jquery... " >
2nd Mar 2018, 6:00 AM
Haziq Hairil
Haziq Hairil - avatar
0
Oh, thanks noname
3rd Mar 2018, 3:59 AM
Haziq Hairil
Haziq Hairil - avatar