p background « Tags « HTML / CSS






1.p background-image: url(initcap-o.gif);
2.p background-repeat: no-repeat;
3.This paragraph has a 180-pixel width and 20 pixels of padding, and yet the backgrounds of both paragraphs are lined up together
4.p background: lightsteelblue;
5.p background-color:#ffffff;
6.p background: rgb(234, 234, 234);
7.p background: rgb(202, 222, 245);