+ 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
7 Réponses
+ 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