Where will I style for html with css? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Where will I style for html with css?

I cannot' know.

2nd Mar 2019, 6:53 AM
Ismail
Ismail - avatar
12 Answers
+ 2
Nowhere more than in your webpage.
2nd Mar 2019, 6:56 AM
Sarthak Pokhrel
Sarthak Pokhrel - avatar
+ 2
To style a HTML doc. You have several options. You can put style content in a style tag. You can do inline styling using style attribute on a element. You can also put style content in a external document with extension .CSS and link to your document using <link> tag.
2nd Mar 2019, 7:02 AM
Sarthak Pokhrel
Sarthak Pokhrel - avatar
2nd Mar 2019, 7:03 AM
Sarthak Pokhrel
Sarthak Pokhrel - avatar
+ 2
https://code.sololearn.com/Wqv3cw7mnHGx/?ref=app
2nd Mar 2019, 7:04 AM
Sarthak Pokhrel
Sarthak Pokhrel - avatar
2nd Mar 2019, 7:05 AM
Sarthak Pokhrel
Sarthak Pokhrel - avatar
+ 2
Welcome
2nd Mar 2019, 7:06 AM
Sarthak Pokhrel
Sarthak Pokhrel - avatar
+ 2
In sololearn there is no need to use link for external CSS. But in your PC while coding. First create a styling document with name "style.css" or else. Then in your head tag of your HTML code put the following;: <link rel="stylesheet" type ="text/css" href="style.css" /> Above in the value of HREF attribute, you need to insert the name of your CSS file.
2nd Mar 2019, 7:09 AM
Sarthak Pokhrel
Sarthak Pokhrel - avatar
+ 2
If any confusion then ask without hesitation.
2nd Mar 2019, 7:10 AM
Sarthak Pokhrel
Sarthak Pokhrel - avatar
+ 1
Please help me.
2nd Mar 2019, 6:53 AM
Ismail
Ismail - avatar
+ 1
So where can I do?
2nd Mar 2019, 6:58 AM
Ismail
Ismail - avatar
+ 1
Thanks bro
2nd Mar 2019, 7:05 AM
Ismail
Ismail - avatar
+ 1
Ok, Dear Friend. Many many thanks to know me.
2nd Mar 2019, 7:11 AM
Ismail
Ismail - avatar