How to connect css file | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to connect css file

Ans

15th Jul 2022, 5:14 PM
Razu Ahmed
Razu Ahmed - avatar
7 Answers
+ 5
15th Jul 2022, 5:16 PM
A͢J
A͢J - avatar
+ 3
Razu Ahmed Already given in CSS course. See lesson 2.1
15th Jul 2022, 5:23 PM
A͢J
A͢J - avatar
+ 1
Please add CSS and HTML in your post tags https://code.sololearn.com/W3uiji9X28C1/?ref=app
15th Jul 2022, 11:46 PM
Ipang
0
No I mean how to connect HTML with css file
15th Jul 2022, 5:17 PM
Razu Ahmed
Razu Ahmed - avatar
0
<link ref="stylesheet" href="path/filename.css">
15th Jul 2022, 5:23 PM
Felix Alcor
Felix Alcor - avatar
0
Hi Razu Ahmed were the answers provided helpful?
16th Jul 2022, 1:13 AM
Chris Coder
Chris Coder - avatar
0
Use following code in <head> tags. When css file and html file in same directory. <link ref="stylesheet" href="flilename.css"> When css file and html file in different directories. <link ref="stylesheet" href="directory/flilename.css">
16th Jul 2022, 8:03 AM
Pubudu Ishan Wickrama Arachchi
Pubudu Ishan Wickrama Arachchi - avatar