View Single Post
Old 03-15-2014, 09:06 AM   #2
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Quote:
Originally Posted by Bertrand View Post
Nothing really serious, just some curious behaviors.

1. I create a table like this, before entering data, with empty cells :

Before :
Code:
<table>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
and click Beautify

After :
Code:
<table>

    <tr>
      <td/>
      <td/>
      <td/>
      <td/>
    </tr>

  </table>
See TD tags ? This is not valid HTML.
(No big deal, putting a temporary space inside empty cells solved the problem.)
Yes it IS valid XHTML (although a bit unusual). The trailing /> means that no closing tag is needed.
itimpi is offline   Reply With Quote