answersLogoWhite

0

A table header, used in HTML is used to differentiate between a regular table row and a special table row.

It has 2 different implementations.

One by wrapping <thead> and </thead> around the table row tags (<tr></tr>) you are going to be using as the 'heading' row. Similar to this example.

<thead>

<tr><td colspan="3" style="font-size: 2em;">Big Table Title</td></tr>

<tr><td>Column 1</td><td>Column 2</td><td>Column 3</td></tr>

</thead>

Browsers treat rows inside of <thead> slightly differently then normal table rows. For example if the table spans multiple pages when the table is printed, then the rows inside of <thead> will show up at the top of each page that contains parts of the table. In addition, it presents a suitable target for stylesheets, if you use contextual selectors like this one

thead td,thead th { background-color: #cccccc; }

Another implementation of table headings is by using the <th></th> tags inside of a <tr></tr> bracket. (e.g.: <tr><th>Column 1</th><th>Column 2</th><th>Column 3</th></tr>). The <th> tag behaves very much like <td>, however text inside of <th> is bold and centered by default. Of course, you can always use stylesheets to change the way that TH is styled.

User Avatar

Wiki User

10y ago

What else can I help you with?

Related Questions

What is The top row of a table is called?

header row


What is a top row of a table is called the?

The top row of a table is called the header row. It typically contains column labels or headings that describe the data in each column below it.


What row does Word usually not include when it sorts the table?

header row


What three elements indicate an Excel table is created in a worksheet?

Header Row, Banded Row and Calculated Columns make up an Excel Table.


What is the first row of a table in excel?

It is sometimes referred to as the header row.It is sometimes referred to as the header row.It is sometimes referred to as the header row.It is sometimes referred to as the header row.It is sometimes referred to as the header row.It is sometimes referred to as the header row.It is sometimes referred to as the header row.It is sometimes referred to as the header row.It is sometimes referred to as the header row.It is sometimes referred to as the header row.It is sometimes referred to as the header row.


What are the six table style options you can turn on and off?

Header Row, Total Row, Banded Row, First Column, Last Column, and Banded Columns


In what ways can you modify this Excel 2007 table using options on the Design tab of the Ribbon?

You can insert column H in the table by selecting the Resize Table button You can insert a total row from which you can access common Excel functions You can remove row 3 from the table by clearing the Header Row checkbox


What is a th?

In the context of web development, the HTML element is used to define a header cell in a table. It typically represents a heading for a row or a column in the table. It stands for &quot;table header&quot;.


What is each row below a header row?

follower row


What is a small box or bar that is used to select an entire row?

It is often referred to as the row header or row heading or row number.


How do you delete rows and columns from am Microsoft Excel table?

many a time you may require to add a row of data or a coloumn of data which you forgot to enter earlier .excel proveides you the facility to insert rows or columns onto the sxisting worksheet very easily .it is that inserting a row of data will shift the rest of the rows down and cause the ladt row of the worksheet ,the rest of the columns shift right ,if there is any data in the last row or column of the worksheet that will be lost .


Do you select an entire row by clicking the row header?

Yes, that would work.