Learn Mode

Table Formatting and Cell Manipulation Quiz

#1

How can you specify the width of a table border in CSS?

border-width
Explanation

Sets the width of the table border

#2

Which attribute is used to specify a header cell in an HTML table?

th
Explanation

Defines a header cell

#3

What is the purpose of the CSS property 'border-collapse' when applied to a table?

To collapse the space between table cells
Explanation

Specifies border model

#4

In HTML, which attribute is used to define the alignment of content within a table cell?

valign
Explanation

Defines vertical alignment

#5

What is the purpose of rowspan and colspan attributes in HTML table cells?

To merge multiple cells into one
Explanation

Merges cells vertically or horizontally

#6

In Microsoft Excel, which function can be used to find the highest value in a range of cells?

MAX()
Explanation

Returns the largest value

#7

In Microsoft Excel, what function can be used to count the number of cells containing numerical values within a range?

COUNTNUMS()
Explanation

Counts numeric cells

#8

How can you vertically align content within a table cell using CSS?

vertical-align
Explanation

Sets vertical alignment

#9

What does the CSS property 'vertical-align' do when applied to table cells?

It sets the vertical alignment of text within the cell
Explanation

Specifies vertical alignment of content

#10

What is the purpose of the 'border-spacing' property in CSS when applied to a table?

To specify the space between table cells
Explanation

Controls space between cells

#11

What does the 'table-layout' property control in CSS when applied to a table?

The layout algorithm used for the table cells
Explanation

Defines table layout

#12

What does the 'empty-cells' property control in CSS when applied to a table?

The visibility of empty cells
Explanation

Controls empty cell visibility

Test Your Knowledge

Craft your ideal quiz experience by specifying the number of questions and the difficulty level you desire. Dive in and test your knowledge - we have the perfect quiz waiting for you!