Now am I need to download css file which contains all properties and in which form should I save it html or css? Please help me | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Now am I need to download css file which contains all properties and in which form should I save it html or css? Please help me

7th Feb 2021, 7:01 AM
Pulasani Aswini
Pulasani Aswini - avatar
7 Answers
+ 4
Pulasani Aswini CSS should be save in CSS file only. If there is inline CSS then you can put in HTML.
7th Feb 2021, 7:07 AM
A͢J
A͢J - avatar
+ 1
css files are usually saved as plain text '.css' file type extension... but you could name it as you want: the (mime) type of file is served by browers requests ;)
7th Feb 2021, 7:12 AM
visph
visph - avatar
+ 1
example.css is the css file name, wich should be available in same directory as the html file... (you could target a specific directory by prepending it to the name plus a slash) the css file should be saved as plain text (as html), and contains only css rules ;)
7th Feb 2021, 8:18 AM
visph
visph - avatar
0
If I am using external css what to do
7th Feb 2021, 8:12 AM
Pulasani Aswini
Pulasani Aswini - avatar
0
<head> <link rel="stylesheet" href="example.css"> </head> <body> <p>This is my first paragraph.</p> <p>This is my second paragraph. </p> <p>This is my third paragraph. </p> </body>
7th Feb 2021, 8:13 AM
Pulasani Aswini
Pulasani Aswini - avatar
0
In above program they used example.css file I am not having anthing in my device
7th Feb 2021, 8:14 AM
Pulasani Aswini
Pulasani Aswini - avatar
0
I have nothing in my folder for using external css which one I should include at link 😕
7th Feb 2021, 8:20 AM
Pulasani Aswini
Pulasani Aswini - avatar