Home › Forums › CSS › html or body for background › Reply To: html or body for background
December 4, 2016 at 1:17 pm
#248658
I.m.learning
Participant
You can add a background to <html>. It will create a border. I used it in my site, and it is not inherited by the body at all. I think the main recommendation is due to inheritance.
I also use DOM to create a preference to change between colors and an image.