SOFTWARE ENGINEERING

SOFTWARE TESTING

TESTING PRINCIPLES AND CONCEPTS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
How do you define a row data in an HTML table? (Unit 10)
A
Using <tr>
B
Using <td>
C
Using <th>
D
Using <table>
Explanation: 

Detailed explanation-1: -Definition and Usage The <td> tag defines a standard data cell in an HTML table. An HTML table has two kinds of cells: Header cells-contains header information (created with the <th> element) Data cells-contains data (created with the <td> element)

Detailed explanation-2: -Find out how many rows there are in a table: getElementById("myTable"). [index] Alert the innerHTML of the first <tr> element (index 0) in the table: item(index) Alert the innerHTML of the first <tr> element (index 0) in the table: namedItem(id) Change the content of the first table cell:

There is 1 question to complete.