What does tr align="center" mean?

    2 answers 2

     <tr align="center"><td>по центру</td></tr> 

    This means that the contents of the tr tag must be centered (horizontally). For vertical alignment, use the valign attribute.

      But it is better to write using CSS:

       <style type="text/css"> .center td { text-align: center; } </style> ... <table> <tr class="center"><td>Center</td><td>Zentrum</td></tr> <tr><td>Usual cells</td><td>without centering</td></tr> </table> 

      The align attribute in HTML 4 was declared undesirable (deprecated).