HTML Headings | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

HTML Headings

How do you chenge color of headings?

16th Dec 2016, 11:23 PM
MysticMM
MysticMM - avatar
4 Answers
+ 2
Simple : <h1 style="color:red;"> TITLE </h1> if, on the other hand you want to change the color of all h1(for instance), do it in the style tags or in an external css file : <style> h1{ color:red; } </style>
16th Dec 2016, 11:27 PM
CHMD
CHMD - avatar
0
Oh, okay thank you, I was putting = instead of :
16th Dec 2016, 11:29 PM
MysticMM
MysticMM - avatar
0
MysticMM don't focus on problems or make any think till you'l learn html and css because know you have just to learn the basics first after you learn another language like CSS and JavaScript you can move to make website or apps or any think you want and start to apply you knowledge
16th Dec 2016, 11:54 PM
Ayoub Bani
Ayoub Bani - avatar
21st Feb 2022, 2:45 PM
Ansh Gupta
Ansh Gupta - avatar