0
Pls whats are the codes for background color and font style
https://code.sololearn.com/cxt3B96b6xT4/?ref=app https://code.sololearn.com/WUxyU6jImL31/?ref=app
3 Antworten
+ 3
-> You will learn about background-color and font style in html so learn this code first.
https://www.sololearn.com/learn/courses/html-introduction
-> Do not tag the codes of other people
+ 1
Ok thnx
0
First of all that is not HTML, it is CSS. To change the background color of a heading, for instance, then you should write the following style:
.h1{
font-color: black;
}
If you want to change the color of the full webpage, then you should write the following styling rules:
body{
background-color: white;
}
To change the font style of a paragraph, write this styling rule:
p{
font-style: serif, sans-serif, monospace;
}
For changing the font-style in the whole webpage, you can write the following styling rule:
body{
font-style: serif, sans-serif, monospace
}
You should start doing some web related courses on Sololearn, such as HTML introduction:
https://www.sololearn.com/learn/courses/html-introduction
For styling related course on Sololearn, learn this course:
https://www.sololearn.com/learn/courses/css-introduction