Pls whats are the codes for background color and font style | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
14th May 2023, 8:52 PM
Abdulrazaq Ya'u
Abdulrazaq Ya'u - avatar
3 Answers
+ 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
14th May 2023, 11:30 PM
Hasnain [ACTIVE CHALLENGER]
Hasnain [ACTIVE CHALLENGER] - avatar
+ 1
Ok thnx
14th May 2023, 11:40 PM
Abdulrazaq Ya'u
Abdulrazaq Ya'u - avatar
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
15th May 2023, 2:18 PM
Danish Zubair
Danish Zubair - avatar