At EasyTechJunkie, we're committed to delivering accurate, trustworthy information. Our expert-authored content is rigorously fact-checked and sourced from credible authorities. Discover how we uphold the highest standards in providing you with reliable knowledge.

Learn more...

What is a Table Row?

A table row is a horizontal grouping of related data cells in a table, akin to a line in a spreadsheet. It organizes information side by side, allowing for easy comparison and analysis of different data points. Think of it as a story's sentence, each cell a word contributing to the narrative. Curious about how rows interact within the table's structure? Let's delve deeper.
Jessica Reed
Jessica Reed

A table row runs horizontally in a line across a table and is normally made up of several boxes with information inside. When you draw a table on a piece of paper, you are creating columns and rows. Each horizontal line of boxes is a different table row. Often, the row at the top of the table is used to create headers, which tell the reader what information can be found in the boxes below it, also known as the column. For example, the first three boxes in the first row of a table in a teacher’s attendance book might read "Student's Name," "Present," and "Absent."

Table rows are commonly used in HTML to create tables and to format a web page. The HTML tag for a table row is <tr>. Within each row, the tag <td> must be added for each new box the user wants to create in that row. A new table row must be created to move down to the next line and start a set of boxes below the first. This example shows a table with three table rows and three table columns.

Student Attendance
Student’s Name Present Absent
Lily X O
Mark X O
Bill O X
Woman doing a handstand with a computer
Woman doing a handstand with a computer

In the past, many web designers used hidden tables to layout their website. They could make the table invisible and put everything from the text to the images in its own separate part of the table. This kept things from moving around or overlapping. While it's still possible to use tables to design a web page, it is quickly being replaced by the use of CSS to format a page's layout.

Table rows can contain boxes of different lengths than the row before or after it. One table row might only have two boxes, one large and one small, while the row below it has three small boxes. The rows should still be the same length total, but the boxes may not match.

Programs like Microsoft Excel use rows and columns to create spreadsheets. Often, the user will alter the length of the boxes in a row to give himself room to type in the necessary headings. When changing the length of a box, it changes the length of the entire column below it to keep it aligned. Users also have the option to merge rows vertically, causing one box to take up more than one line and giving more room for information. This does not alter any other boxes on the screen.

You might also Like

Discussion Comments


I had to use tables sometimes when I worked as a graphic designer for a newspaper. Sometimes, car dealers would want to run ads that showed price lists on some of their cheaper vehicles. I had to use several table rows to get all the information entered.

The first column would contain the year and make of the vehicle. The next would show the stock number, then would come the MSRP, and finally, the dealer's price. Each vehicle had its own row of information.

Luckily, the computer program I was using let me designate tabs for each row and column, so if some needed to be bigger than others, they could. Sometimes, the name of a vehicle was so long that it had to continue down to the next row.


@Perdido – That is an awesome way to keep this straight. I probably could have benefited from that information as a child.

I learned how to distinguish rows from columns by using an atlas in 4th grade. The teacher gave each of us one, and then she would give us quizzes based on the use of rows and columns. She would tell us to write down what city was located on Row A, Column 4.

The first time, I got my rows and columns backward, and I flunked the quiz. However, after this incident, I always remembered which was which.


In school, I was always getting table rows confused with table columns. In my mind, I could not relate one to horizontal and one to vertical.

Finally, my teacher told me a good way to remember which was which. She said that when I thought of columns, I should envision the tall columns on ancient buildings. This helped me relate columns to being vertical instead of horizontal.

She also said that when I thought of rows, I should picture a farmer dragging a hoe across the soil. He would be going across rather than up and down, so I could relate the row with something horizontal.

Post your comments
Forgot password?
    • Woman doing a handstand with a computer
      Woman doing a handstand with a computer