How can I modify the font color of the whole <body> in HTML? Also is there a way to modify font styles/families for the whole? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula gr√°tis
+ 1

How can I modify the font color of the whole <body> in HTML? Also is there a way to modify font styles/families for the whole?

7th Dec 2017, 9:48 AM
Mark Pozsar
Mark Pozsar - avatar
6 Respostas
+ 11
<style> body{color:red} </style>
7th Dec 2017, 11:30 AM
K√§z√ģ Mr√ģd√Ļl H√łss√§√ģn
K√§z√ģ Mr√ģd√Ļl H√łss√§√ģn - avatar
+ 5
yes use this in CSS : body { color:dodgerblue; font-size:16pt; font-family:Times; font-style:italic; font-weight:bolder; }
7th Dec 2017, 10:05 AM
RZK 022
RZK 022 - avatar
+ 2
To modify font color of whole body: <body style="color:blue"> It's possible to modify font styles that way too. Learn more about it in the CSS course. https://www.sololearn.com/Course/CSS/?ref=app
7th Dec 2017, 9:54 AM
DAB
DAB - avatar
+ 1
change body attributes
7th Dec 2017, 9:53 AM
Amir Galanty
Amir Galanty - avatar
+ 1
Thank you all
7th Dec 2017, 10:40 AM
Mark Pozsar
Mark Pozsar - avatar
+ 1
Google mate
7th Dec 2017, 10:45 AM
Dextozz
Dextozz - avatar