+ 1
how to use background for various colour...
i want use different colours in background , so how to use html for this...
3 Answers
+ 5
ok keshav
In HTML
<p style="background-color:red">...........................</p>
use this statement with the elements; style"background-color:red"
the color names can be names, hex values or rgb values
names: red, green, darkblue, orange, cyan, lightyellow,etc.
hex values are the any six letters or numbers from 0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f: #000000(black), #ffffff(white)
rgb values means proportion of red green and blue in the color: rgb(100,100,100)
0
Hello,differents colours but which way?
Are they changing through time or by scrolling down?Are they differents area of the background or are they superposed...I guess it could lead to different way to handle it.