0

I want to assign background color to my code but it is not working plz examine and find error

<!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <table border="4"> <form action="" method=""> <tr> <td bg color="red"> <input type="text" value="" placeholder="name"> </td> <td> name </td> </tr> <tr bg color="red"> <td> <input type="password" value="" placeholder="password"> </td> <td> password </td> </tr> <tr> <td> <input type ="radio" value="gender" name=maleorfemale> male </td> </tr> <tr> <td> <input type="radio" value=gender name="maleorfemale"> female </td> </tr> </table> </body> </html>

23rd Apr 2020, 10:04 AM
Sameer Kulkarni
Sameer Kulkarni - avatar
4 Antworten
23rd Apr 2020, 1:54 PM
🇮🇳Vivek🇮🇳
🇮🇳Vivek🇮🇳 - avatar
+ 2
Try <tr style="background-color: red" >
23rd Apr 2020, 10:12 AM
🇮🇳Vivek🇮🇳
🇮🇳Vivek🇮🇳 - avatar
0
It isn't working
23rd Apr 2020, 1:45 PM
Sameer Kulkarni
Sameer Kulkarni - avatar
0
Thanks bro
23rd Apr 2020, 4:05 PM
Sameer Kulkarni
Sameer Kulkarni - avatar