View Single Post
Old 2012-06-15, 10:22 AM   #10
cd34
a.k.a. Sparky
 
cd34's Avatar
 
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
Quote:
Originally Posted by ecchi View Post
My answer would be "none of the above". I use:
Code:
<body bgcolor="#ffff00">
bgcolor was deprecated in HTML 4.01 and you're supposed to use CSS syntax now. While it works now, once HTML5 is finalized (and I don't think you can use bgcolor on HTML 4.01 strict), sites that depend on that will start to break.

In reality, it should be done through CSS, not a style parameter to the body tag, but, either way is permissible.
__________________
SnapReplay.com a different way to share photos - iPhone & Android
cd34 is offline   Reply With Quote