PDA

View Full Version : What DOCTYPE to use if using HTML and making tables?



forteber
04 Sep 2010, 01:41 PM
Hi

I am making a website on simple HTML and CSS.

I wanted to make tables so I use a code like:


<table>
<tr>
<td>
HI FOLKS! THIS IS A WEBSITE!
</td>
<td>
This is my SUPER WEBSITE!
</td>
</tr>
</table>

I want to validate its HTML but HTML Validator says that it's not allowed to use the <td> tags with the DOCTYPE I am using; the DOCTYPE I'm using is <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/strict.dtd">