Exam 5: Tables and Css Layout

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Describe the elements that the following CSS pseudo-class selector matches: li:nth-of-type(1)

Free
(Short Answer)
4.9/5
(22)
Correct Answer:
Verified

Every first li element within each group of li elements

Provide a CSS rule that creates a thick dotted border around all the data cells in a table.

Free
(Short Answer)
4.8/5
(41)
Correct Answer:
Verified

td {border: thick dotted;}

If two CSS rules refer to the same property, the rule that appears first overrides the prior rule's property value.

Free
(True/False)
4.9/5
(38)
Correct Answer:
Verified

False

Which of the following should you include within a tbody container?

(Multiple Choice)
4.7/5
(48)

To create gaps between the table's cells in tables created with the display property, you should apply the border-spacing property to:

(Multiple Choice)
4.8/5
(29)

To implement an element within a table row that holds data, use the ______ element.

(Short Answer)
4.9/5
(41)

If you would like a table's caption to display below the table, you should position the table's caption element at the bottom of the table container.

(True/False)
4.8/5
(37)

If you want an element to be interpreted as a table caption, you should apply a CSS rule with a <code>display</code> property. Which value should you use for the <code>display</code> property?

(Multiple Choice)
4.9/5
(39)

With normal flow, block elements are laid out from top to bottom, one block element per row, and phrasing elements are laid out from _______________ in the available space.

(Short Answer)
4.9/5
(38)

In rendering a table element, the browser engine will normally determine the width of each column by using the width of that column's widest-content cell.

(True/False)
4.7/5
(41)

Why should you normally avoid using a span element as the type for a type selector CSS rule?

(Essay)
4.8/5
(31)

To add a title to a <code>table</code> element, you should do which of the following?

(Multiple Choice)
4.7/5
(30)

For a table, use a(n) ______ element for a cell that is a description for other cells' content.

(Short Answer)
5.0/5
(42)

All pseudo-classes start with a colon.

(True/False)
4.7/5
(26)

With relative positioning, the left property moves an element to the right by a specified amount.

(True/False)
4.8/5
(33)

How do the purposes of a data table differ from a layout table?

(Essay)
4.9/5
(41)

By default, tables created with the display property are displayed with large gaps between their cells.

(True/False)
4.9/5
(42)

For an element with a lot of text that uses absolute positioning, if you use the left property, you should also use the width property.

(True/False)
4.8/5
(39)

Provide code for a table heading cell that spans three columns.

(Short Answer)
4.9/5
(32)

If you have a <code>table</code> element being used for layout purposes, you should add a <code>role="presentation"</code> attribute to the <code>table</code> element's start tag.

(True/False)
4.8/5
(38)
Showing 1 - 20 of 30
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)