0

Are this code are correct..

<!DOCTYPE html> <html> <head> <title>Tables</title> <style> </style> </head> <body> <table borders= "2" > <tr> <td>LMFAO</td> <td>LMAO</td> <td>SHSHSH</td> </tr> <tr> <td><br /></td> <td colspan="2"><br /></td> </tr> </table> </body> </html>

17th Jun 2021, 8:42 AM
Terminator 2.0
Terminator 2.0 - avatar
6 Answers
+ 3
Terminator 2.0 There is "border" not "borders"
17th Jun 2021, 8:50 AM
AÍąJ
AÍąJ - avatar
0
Oo tq
17th Jun 2021, 9:13 AM
Terminator 2.0
Terminator 2.0 - avatar
0
Terminator 2.0 even 'border' correctly spelled does not really make your code 'correct', as 'border' attribute was part of numerous style related attribute depecated in html5 (and your doctype is htm5)... https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table#deprecated_attributes anyway, indenting your code would improve the readability ^^
17th Jun 2021, 1:46 PM
visph
visph - avatar
0
Oo tq for remind me
17th Jun 2021, 2:06 PM
Terminator 2.0
Terminator 2.0 - avatar
0
Terminator 2.0 sorry: forgot to add the mdn link... now my last post is edited ;)
17th Jun 2021, 2:08 PM
visph
visph - avatar
0
Ook tq for the link
17th Jun 2021, 2:09 PM
Terminator 2.0
Terminator 2.0 - avatar