Add Empty Row In HTML

How do you add an empty row in HTML? To add an empty row in HTML for your table use the code <tr><td colspan="X">&nbsp;</td></tr> otherwise if you want to add an empty row without using a table use the <hr> tag. Here are some examples demonstrating how adding an empty row looks in your HTML code. Add Empty Row In HTML Table To add an empty row in a HTML table insert a table row with a table cell and use the colspan property to span the width of the number of columns in the table. Within the table cell insert an space character so that the browser doesn’t collapse the row. ...

4 min · 793 words · Ryan Sheehy