Border code html, unable to get a background colour inside the border?

beanie89

New member
Hi, This is the code I got from a book I've been reading it has nothing about being able to add a background colour to it. I've done it before but i can't remember, i'm knew to this so don't really know everything about html, here is the code i used: <div style="width:885px;height:150px;border:5px solid purple;"> <FONT COLOR="WHITE"> I put in the font colour myself, and was doing the same with the bg colour, but didn't work, could someone tell me what i need to do?

Thanks,
@mygraine Code didn't work! thanks
 
Back
Top