+ 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.
11 Respostas
+ 1
<link rel="stylesheet" href="example.css>
and you must save your css file with .css extension
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">
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>
0
Varun N the answer you given is not working.
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.
0
I added both in same folder but Working
0
Varun N my messages are not reaching to you in private discussion. This always sayings resend with red exlametory mark.
0
Ohh
0
Tell me here itself
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.
0
Varun N
I saved file as example.css &
Linked as <link rel="stylesheet" href="example.css">