0
Can anyone tell me how can I put separated .css file in my .html code?
3 Answers
+ 3
using link tag inside head tag, like
<head>
<link rel="stylesheet" href="samplecss.css"
>
</head>
if both html and css are in same directory
0
<link href=".../CSS/file.css" type= "text/css" rel="stylesheet" >
0
write it before the head section close </head>
<link rel="stylesheet" style="text/css" href="(css file name).css>