+ 1

Where should we type CSS?

In HTML SoloLearn said you can type HTML in notepad but while opening CSS there is no description about it.

15th Jul 2020, 6:17 PM
Deepak Sanjaykumar More
Deepak Sanjaykumar More - avatar
11 Answers
+ 1
<link rel="stylesheet" href="example.css> and you must save your css file with .css extension
16th Jul 2020, 8:19 PM
Alsafy Hassan
Alsafy Hassan - avatar
0
Deepak Sanjaykumar More you can do css in notepad itself but save the file with .css extension. If u want to link css file with html add link of css file in head <link rel="stylesheet" href="filename.css">
15th Jul 2020, 6:23 PM
Varun N
Varun N - avatar
0
as varun said, you can seperate .css file or you can do internal styling in your .html notepad. for internal nested the style inside head element tag. <head> <style> ... ... </style> </head>
15th Jul 2020, 7:02 PM
sobadrdb
0
Varun N the answer you given is not working.
16th Jul 2020, 6:19 PM
Deepak Sanjaykumar More
Deepak Sanjaykumar More - avatar
0
Deepak Sanjaykumar More follow these steps 1.Create a folder where u will store ur html and css files 2.In the same folder create both html and css files.
16th Jul 2020, 6:21 PM
Varun N
Varun N - avatar
0
I added both in same folder but Working
16th Jul 2020, 6:23 PM
Deepak Sanjaykumar More
Deepak Sanjaykumar More - avatar
0
Varun N my messages are not reaching to you in private discussion. This always sayings resend with red exlametory mark.
16th Jul 2020, 6:26 PM
Deepak Sanjaykumar More
Deepak Sanjaykumar More - avatar
0
Ohh
16th Jul 2020, 6:27 PM
Varun N
Varun N - avatar
0
Tell me here itself
16th Jul 2020, 6:27 PM
Varun N
Varun N - avatar
0
I created a folder in my laptop. I added both files in that folder. I used code from basic 2 lessons external CSS for linking. Then i used 1st font family lesson from working with text but my font doesn't changed.
16th Jul 2020, 6:31 PM
Deepak Sanjaykumar More
Deepak Sanjaykumar More - avatar
0
Varun N I saved file as example.css & Linked as <link rel="stylesheet" href="example.css">
16th Jul 2020, 6:34 PM
Deepak Sanjaykumar More
Deepak Sanjaykumar More - avatar