+ 1

How do i put a background color...-

I'm new with Html. #1.Can someone tell me how to put in the background color? #2.How do i put in colored text Thank You... It would really help!

1st Feb 2017, 3:24 PM
Muhammed Muratovic
Muhammed Muratovic - avatar
6 odpowiedzi
+ 3
<html> <head> <title>Title Here..</title> </head> <body bgcolor="green"> </body> </html>
1st Feb 2017, 3:56 PM
Avnish Tomar (CCS University)
Avnish Tomar (CCS University) - avatar
+ 2
<html> <head> <title>Title Here</title> <style> body{ background-color:#123456; color:#654321; } </style> </head> <body> This is inside body. </body> </html>
1st Feb 2017, 3:59 PM
Avnish Tomar (CCS University)
Avnish Tomar (CCS University) - avatar
+ 1
background-color: #000000; color: red;
1st Feb 2017, 3:50 PM
Andre van Rensburg
Andre van Rensburg - avatar
+ 1
after background-color: #, does it always have to be #000000 color:red
1st Feb 2017, 4:27 PM
Muhammed Muratovic
Muhammed Muratovic - avatar
+ 1
for colored text: <!--Can be any color you want--> <p color=red> </p>
1st Feb 2017, 4:31 PM
Dawzy
Dawzy - avatar
0
no it is only an example of background and font color selectors in CSS
2nd Feb 2017, 7:14 PM
Andre van Rensburg
Andre van Rensburg - avatar