+ 1

How to change bg colour

27th Aug 2019, 5:13 PM
Rishav Dipankar
Rishav Dipankar - avatar
3 Respuestas
+ 2
<style> body { background-color:red; } </style>
27th Aug 2019, 10:00 PM
NightFox
NightFox - avatar
0
<body bgcolor = “hex code color”> eg <body bgcolor = “#ff0000”> check this because haven’t done html for 21 years :)
27th Aug 2019, 5:13 PM
Brave Tea
Brave Tea - avatar
0
By “bg”, I’m assuming you mean background color. Here’s an example of how to change the background color of a div: div { background-color: #000000; }
27th Aug 2019, 7:01 PM
Tulo
Tulo - avatar