I want to know that is html and css files created seperately or is it created in a file. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

I want to know that is html and css files created seperately or is it created in a file.

if created in a file, I want to know why am I not being able to use "Id" and can't link it to any #

10th Feb 2017, 12:49 PM
Yash Agarwal
Yash Agarwal - avatar
2 Answers
+ 2
You can do both... Include <style></style> tags with embeded css rules, and/or link an external file with the <link> tag... Show your code to get more help: if only 'id's don't be targeted, probably you have mistakes in it... Sames css rules not working about 'id's are they working in html file, but not by linking an external file?
10th Feb 2017, 2:00 PM
visph
visph - avatar
0
ok thanks
10th Feb 2017, 3:17 PM
Yash Agarwal
Yash Agarwal - avatar