+ 1
For html you would use tags and for css would it be <style> element to get the text you want?
6 Réponses
+ 2
style is for writing css. make texts as done in html. whrrever in this example there will be class red it will have color red applied
+ 1
Oh so you change the color in style... can you also change the font of the text?
+ 1
I get it thank you!!
+ 1
yes font is also changed use
class is font here
.font{
font-family: Aerial;
}
+ 1
<div class=red>the text you want styled</div><style>
.red{
color: red;
}</style>
0
http://www.w3schools.com/ describes this in detail - without frightening any newbie! If you want to develop websites, then you'd better have a good reference by your side (as everyone does have, no matter level of skills), and that website is actually a gold-mine (? I lost the word, I'm no native English speaker, as you can see).
Happy developing, or something, yeah.