+ 2
How can we change color of different like h1 H2 h3
4 Respuestas
+ 3
First method: <h1 style="color: ghostwhite";
Second method: use Css for designs like
h1{
color: ghostwhite;
background-color: Blue;
}
+ 4
Jyoti Sahu There are three ways to use CSS in which you can change the color of your heading.
1. In-line css: you have to put css code in the opening html code.
2. Internal css: you have to add <style></style> tag in the <head> tag.
3. External css: where you have to create another file for css. You can link that file via the <link> tag in the <head> section.
+ 3
You can use CSS to change the color, e.g.
<h1 style="color: red;">Heading</h1>
The CSS course can teach you more convenient ways to do it.
+ 1
thanks