Primary 3 Exam  >  Primary 3 Tests  >  Test: HTML Tables - Primary 3 MCQ

Test: HTML Tables - Primary 3 MCQ


Test Description

15 Questions MCQ Test - Test: HTML Tables

Test: HTML Tables for Primary 3 2024 is part of Primary 3 preparation. The Test: HTML Tables questions and answers have been prepared according to the Primary 3 exam syllabus.The Test: HTML Tables MCQs are made for Primary 3 2024 Exam. Find important definitions, questions, notes, meanings, examples, exercises, MCQs and online tests for Test: HTML Tables below.
Solutions of Test: HTML Tables questions in English are available as part of our course for Primary 3 & Test: HTML Tables solutions in Hindi for Primary 3 course. Download more important topics, notes, lectures and mock test series for Primary 3 Exam by signing up for free. Attempt Test: HTML Tables | 15 questions in 15 minutes | Mock test for Primary 3 preparation | Free important questions MCQ to study for Primary 3 Exam | Download free PDF with solutions
Test: HTML Tables - Question 1

For heading we can use ____________

Detailed Solution for Test: HTML Tables - Question 1

<th> element is used for representing heading of column or a row. It works same as <td> element. If shell has no content we can use <th> element also there. We can use scope attribute for specifying the heading is for row or column. Usually content of <th> is represented in bold. <thead> tag contains the group of header. <tr> is used to indicate start of every row i.e. it stands for table row.

Test: HTML Tables - Question 2

Which of the following is not the element associated with HTML table layout?

Detailed Solution for Test: HTML Tables - Question 2

There are three elements in HTML table layout i.e. size, spanning and alignment. Layout type can be achieved by setting Rows elements layout attribute to Fixed or Auto. Auto attribute relies on browser compatibility whereas fixed layout relies on developer specification.

1 Crore+ students have signed up on EduRev. Have you? Download the App
Test: HTML Tables - Question 3

For adding caption to the table we use ____________

Detailed Solution for Test: HTML Tables - Question 3

For adding caption to the table we use <caption> tag. It should be used just below the <table> tag.

Syntax is 
<table> 
<caption> Savings </caption> 
<tr> <th> saving </th><th>loss</th> </tr> 
<tr><td>$12</td>$45<td></td> </tr> 
</table>.

<thead> tag contains the group of header. <tr> is used to indicate start of every row i.e. it stands for table row. The header information is present in <th> tag.

Test: HTML Tables - Question 4

Borders can’t be applied on ________________

Detailed Solution for Test: HTML Tables - Question 4

Borders can’t be applied on <tr> elements. It can’t be applied on table structural elements. For setting borders with <tr> element, border-collapse property should be set to collapse.

Syntax is 
table {border-collapse: collapse;} 
th, td{border-bottom: 2px dotted red; } 
tfoot tr:last-child td{border-bottom: 9 px;}

Test: HTML Tables - Question 5

Which of the following does not specify a column width?

Detailed Solution for Test: HTML Tables - Question 5

We can specify column width in three ways i.e. Percentage, Fixed, Proportional. Fixed width is given in pixels. Percentage specification is the percentage of horizontal space availability in the table. The proportional specification is the portions of fixed horizontal space required for the table.

Test: HTML Tables - Question 6

Which of the following is not the value for frame attribute?

Detailed Solution for Test: HTML Tables - Question 6

Frame attribute gives information about which sides of the frame surrounding that table will be visible. The values that this attribute can take are lhs, rhs, box, border, vsides, hsides, below, above, void.

Test: HTML Tables - Question 7

Which of the following is not the value for align attribute?

Detailed Solution for Test: HTML Tables - Question 7

align attribute is the alignment of data and for justification of text in the cell. It can take the values left, right, justify, center, char. Justify is for double justifying the text, char is for aligning text around a particular character.

Test: HTML Tables - Question 8

Each cell of the table can be represented by using __________

Detailed Solution for Test: HTML Tables - Question 8

td stands for table data, we can represent each cell of the table by using <td>, at the end we used </td> tag. But some browsers by default draw the lines around table. <tr> is used to indicate start of every row i.e. it stands for table row. The header information is present in <th> tag. <thead> tag contains the group of header.

Test: HTML Tables - Question 9

Headings of table lies inside ___________

Detailed Solution for Test: HTML Tables - Question 9

Headings of the table lies inside <thead> element. Footer lies inside the <tfoot> element. The body of the table lies inside <tbody> element. <th> is used for giving heading to a row or a column. Every element must have closing tag also i.e. </thead>, </tfoot>, </tbody>

Test: HTML Tables - Question 10

Which of the following element is not associated with a class attribute?

Detailed Solution for Test: HTML Tables - Question 10

Column cell, Row, and Rows are the container elements. They have a class attribute with the help of this we can apply special styling. Table alignment is also controlled style sheet classes. Text-align and vertical-align are the style attributes that align the content of the table.

Test: HTML Tables - Question 11

Border-spacing is given in _____________

Detailed Solution for Test: HTML Tables - Question 11

border-spacing and border-collapse are the two properties by which one can set the border and its styling in a table. We give its value in pixels.

Test: HTML Tables - Question 12

Which attribute defines numbers of columns in a group?

Detailed Solution for Test: HTML Tables - Question 12

Span=number[CN] attribute’s value must be an integer and greater than 0. It specifies the number of columns in a group. When span attribute is not in use, colgroup defines a single column group containing one column. width=multi-length[CN] specifies default width of for every column. scope=scope-name[CN] specifies set of data cells for which going header cell gives header information. The headers=idrefs[CN] provides list of header cells that gives header information.

Test: HTML Tables - Question 13

Scope attribute can’t have the value __________

Detailed Solution for Test: HTML Tables - Question 13

Scope attribute defines a set of data cell. It is used in place of headers. This attribute can have one of the value among rowgroup, row, colgroup, col, rowgroup, and colgroup provides information of header cell of the corresponding row and column groups.

Test: HTML Tables - Question 14

Which of the following is not the value for rules attribute?

Detailed Solution for Test: HTML Tables - Question 14

The rules which will appear between cells of the table is specified by this attribute. It can take the values groups, none, rows, all and cols. None is the default value, rows are for appearance between rows only and cols is for columns only.

Test: HTML Tables - Question 15

Valign attribute does not take the value __________________

Detailed Solution for Test: HTML Tables - Question 15

Valign attribute is for specifying the vertical position of the data in a cell. It can take the values middle, top, baseline, bottom, Top is for the top of the cell’s data, middle is for the centered data, bottom is for the bottom of the cell, first text line occurs on the baseline which is common to all the cells.

Information about Test: HTML Tables Page
In this test you can find the Exam questions for Test: HTML Tables solved & explained in the simplest way possible. Besides giving Questions and answers for Test: HTML Tables, EduRev gives you an ample number of Online tests for practice

Top Courses for Primary 3

Download as PDF

Top Courses for Primary 3