What are the recommended HTML attributes to use for aligning content within PHP-generated tables for cross-browser compatibility?

When aligning content within PHP-generated tables for cross-browser compatibility, it is recommended to use the "style" attribute with CSS properties such as "text-align" or "vertical-align" instead of using HTML attributes like "align" or "valign". This ensures consistent alignment across different browsers and devices.

echo '<table>';
echo '<tr>';
echo '<td style="text-align: center; vertical-align: middle;">Content</td>';
echo '</tr>';
echo '</table>';