Exam 4: Organizing a Pages Content With Lists, Figures, and Various Organizational Elements

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

If a web page has a footer element, it must be the last element within the web page's body container.

Free
(True/False)
4.8/5
(43)
Correct Answer:
Verified

False

Describe a parent-child element relationship. Specifically, when is an element considered to be a parent of another element?

Free
(Essay)
4.8/5
(29)
Correct Answer:
Verified

An element is a parent of another element when its start tag and end tag surround the child element and there are no other container elements inside the parent element that surround the child element.

For a list item, it is legal to include the end tag <code></li></code>, but proper style suggests that you omit it.

Free
(True/False)
4.8/5
(39)
Correct Answer:
Verified

False

Provide a CSS rule that applies a margin of 5 pixels to section elements in a web page. Use a child selector to match section elements such that the section is a child of an article element.

(Short Answer)
4.8/5
(34)

The header element implements a heading that is guaranteed to be larger than any of the standard heading elements (<code>h1-h6</code>) on the current web page.

(True/False)
4.8/5
(39)

What is a nested list?

(Short Answer)
4.9/5
(39)

How should you modify the following code so it passes the W3C's HTML validation service? Wild, Cheryl Strayed <ul> <li>Chapter 1: The Ten Thousand Things</li> <ul> <li>Mayo Clinic</li> <li>Dreams</li> </ul> <li>Chapter 2: Splitting</li> ... </ul>

(Essay)
4.8/5
(30)

If a parent element and its child element have two different CSS rules with the same property specified, then the child element's property-value pair (and not the parent element's property-value pair) gets applied to the child element. Which of the following is the best descriptions for this behavior?

(Multiple Choice)
4.8/5
(37)

If you have a CSS rule with a display: inline property-value pair, it causes matching elements to display their text:

(Multiple Choice)
4.7/5
(35)

The ______ element is a container that normally contains links to other web pages or to other parts of the current web page.

(Short Answer)
4.9/5
(51)

The <code>a</code> element's <code>href</code> attribute uses the # character to indicate that the target is within the current web page.

(True/False)
4.9/5
(40)

To specify uppercase letters for a list, which value should you use with the <code>list-style-type</code> CSS property?

(Multiple Choice)
4.8/5
(36)

The __________ element groups together one or more heading elements (<code>h1-h6</code>) to form a unified header for nearby content.

(Short Answer)
4.9/5
(37)

In a child selector, the > symbol is known as a:

(Multiple Choice)
4.8/5
(26)

Which of the following CSS selectors matches li elements that are nested within another li element?

(Multiple Choice)
4.8/5
(31)

Which of the following is the element used to implement an unordered list?

(Multiple Choice)
4.8/5
(40)

The section element is for grouping together one or more articles.

(True/False)
4.9/5
(29)

If an element x is a descendant of an element y, then a y > x child selector CSS rule will match element x.

(True/False)
4.8/5
(44)

All CSS properties are inheritable.

(True/False)
4.7/5
(32)

Organizational elements (e.g., section, article) are particularly important for smaller web pages.

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

Filters

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