Use app×
QUIZARD
QUIZARD
JEE MAIN 2026 Crash Course
NEET 2026 Crash Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
73 views
in Information Technology by (50.2k points)
closed by

Define TH or TD element.

1 Answer

+1 vote
by (46.8k points)
selected by
 
Best answer

The TH element or <TH> tag helps in identifying a table header. The text inserted using the TH element is in boldface and centred by default.

TD element or <TD> tag identifies the table data cell. TD element or the <td> tag is aligned to the left and the text is in regular font.

The attributes used with <TD> or <TH> tag are : Align, Colspan, No wrap, Rowspan, Valign.

The align attribute is similar to that of table, except that it align the text inside the cell rather than the table. Valign takes the value top, middle, bottom to vertically align the text inside a cell.

The Nowrap attribute does not allow the text to flow to the next line in the cell. If the sentence is wider than the width of the cell, nowrap will show the sentence in one straight line.

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...