why the <table> Attributes its not working | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

why the <table> Attributes its not working

i use it in notepad and no lines shown in browsers after reading the answer : i feel im dumb

25th Apr 2020, 10:42 PM
Pouria
Pouria - avatar
4 Answers
+ 1
It's not <tb> with B It's <td> with D
25th Apr 2020, 11:36 PM
yochanan sheinberger
yochanan sheinberger - avatar
+ 4
Post your code so we don't have to guess ,I will say you didn't added border or as Bad Coder said values
25th Apr 2020, 10:55 PM
Abhay
Abhay - avatar
+ 2
You have to insert values in table after that browser will show you table . *Try below example* Example : <table style="width:100%">   <tr>     <th>Firstname</th>     <th>Lastname</th>     <th>Age</th>   </tr>   <tr>     <td>Jill</td>     <td>Smith</td>     <td>50</td>   </tr>   <tr>     <td>Eve</td>     <td>Jackson</td>     <td>94</td>   </tr> </table>
25th Apr 2020, 10:48 PM
! Bad Coder
! Bad Coder - avatar
0
this is it <html> <head> <title> such a good day </title> </head> <body> <p> <table border="2"> <tr> <tb> such </tb> <tb> a </tb> </tr> <tr> <tb> good </tb> <tb> day </tb> </tr> </table> </p> </body> </html>
25th Apr 2020, 11:27 PM
Pouria
Pouria - avatar