+ 11
Where does CSS code need to be placed in order for it to work?
Suppose you want to use CSS code to style your page: p {color:blue;} .
4 odpowiedzi
+ 10
You can use by 3 ways. Internal css external css and inline css. https://www.sololearn.com/learn/CSS/1079/
+ 9
For eg:-
In the HTML part you wrote -
<p> I am HTML </p>
--------------------------------------------
CSS/you can also access the CSS code in your HTML inside the <style> </style> tag
body{
}
p{
color : blue ;
}
So this will colour your text I am HTML to blue
//I really can't understand your question to properly but this is what according to me I can do.
Sololearn courses https://www.sololearn.com/learn/CSS/1079/
+ 8
<style>
p {color:blue;}
</style>
+ 2
Best way external write your css code save file.Css in html write in head tag <link rel="stylesheet" type="text/css" href="your file.css">