+ 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?
6 Réponses
+ 11
<style>
body{color:red}
</style>
+ 5
yes use this in CSS :
body {
color:dodgerblue;
font-size:16pt;
font-family:Times;
font-style:italic;
font-weight:bolder;
}
+ 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
+ 1
change body attributes
+ 1
Thank you all
+ 1
Google mate