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

11y 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


Where do you find the header row check box in PowerPoint?

In PowerPoint, the header row checkbox is typically found when you are working with a table. To access it, first select the table, then go to the &quot;Table Design&quot; tab on the Ribbon. In the &quot;Table Styles&quot; group, look for the &quot;Header Row&quot; checkbox, which you can check or uncheck to display or hide the header row. If you're using an older version of PowerPoint, the option may be found under the &quot;Layout&quot; tab instead.


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.


The shaded row in the table is called a -?

The shaded row in the table is called a header row or a title row. It typically contains labels or titles that describe the data in the columns below. This row helps to provide context and clarity, making it easier for readers to understand the information presented in the table.


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 the header row called?

Each row below the header row is called a &quot;data row&quot; or simply a &quot;record.&quot; These rows contain specific information or entries that correspond to the categories defined in the header row.


What is each row below a header row?

follower row