Computer Science, asked by saiyamBedilucknow, 6 months ago

By default, the content written between <th> and </th> are placed at center. How can it be put at left side of the cell of the table? *​

Answers

Answered by shona2143
4

Answer:

it can be vhanged by the attribute <align=left>after the <th> attribute

Answered by Jasleen0599
0

It is not possible.

By default, the content written between <th> and </th> are placed at center. It is not possible put at left side of the cell of the table.

  • Table cells are created using the TH and TD elements. Table header cells are designated as TH, and table data cells are designated as TD. By utilizing a larger or heavier font for header cells, for example, user agents can render such cells clearly thanks to this differentiation. Additionally, it is required for voice rendering.
  • To specify a header cell or table header within a table, use the HTML th tag.
  • A cell is designated as the header of a set of table cells using the HTML element "th". The scope and headers attributes specify the precise nature of this group.
  • The header cell of a table is set using the HTML th tag. HTML table has two different types of cells.
  1. Header Cell: This is where the header data is kept.
  2. The main body of the data is stored in the standard cell.

#SPJ2

Similar questions