1. Home
  2. Computer Science MCQs
  3. HTML
  4. Which HTML tag is used to define a table row?

Added 20 Jan 2024

Which HTML tag is used to define a table row?

  1. <tr> Correct answer
  2. <td>
  3. <table-row>
  4. <row>

Correct answer

A. <tr>

15 views

MCQSEXAM

Explanation

<tr> defines a table row. Inside each row, <td> creates a data cell and <th> a header cell, and all rows are wrapped in <table>.

An easy way to remember: tr = table row, td = table data, th = table header. <row> and <table-row> do not exist in HTML.

Keep preparing with more Computer Science MCQs on MCQsExam.com.

Doubts & discussion

Not sure why the answer is A? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More HTML MCQs

Practise all HTML MCQs

Similar MCQs