0

What is the wrong in this code? It doesn't comes with table and border at center.

<table> <table border="2"> <tr> <table align="center"> <td bgcolor="red">Red</td> <td>Blue</td> <td>Green</td> </tr> <tr> <td>Yellow</td> <td colspan="2">Orange</td> </tr> </table>

4th Jan 2019, 8:08 AM
V Chandu
V Chandu - avatar
6 odpowiedzi
0
<table border="2"> <tr> <td bgcolor="red">Red</td> <td>Blue</td> <td>Green</td> </tr> <tr> <td>Yellow</td> <td colspan="2">Orange</td> </tr> </table> I've gone through your code this is what I ended up with - for mw its working
4th Jan 2019, 8:24 AM
CloudWay
CloudWay - avatar
0
How to get the table at center
4th Jan 2019, 8:31 AM
V Chandu
V Chandu - avatar
0
I think you just have to put align="center" behind the border="2"
4th Jan 2019, 8:32 AM
CloudWay
CloudWay - avatar
0
Or surround the <table> element with a <center> element
4th Jan 2019, 8:32 AM
CloudWay
CloudWay - avatar
0
Got it! Tan q
4th Jan 2019, 8:32 AM
V Chandu
V Chandu - avatar
0
<h4>An Ordered List:</ > <li>Coffee</li> <li>Tea</li> <li>Milk </ >
4th Jan 2019, 8:47 AM
Lobna Nouri