WGU D276 WEB DEVELOPMENT
FOUNDATIONS FINAL PAPER 2026 320
QUESTIONS AND DETAILED ANSWERS
GRADED A+
⩥ Class Selector.
Answer: A CSS selector, specified with a period (.) followed by the class
name, that matches HTML elements that have the specified class name.
⩥ ID Selector.
Answer: A CSS selector, specified with a hash character (#) followed by
the ID name, that matches the HTML element that has the specified ID.
⩥ Decendant Selector.
Answer: A CSS selector, specified with a selector followed by a space
and another selector, that matches HTML elements that are contained in
other elements.
⩥ Pseudo-class selector.
Answer: A CSS selector, specified with a colon character (:) following
by a pseudo-class name, that matches HTML elements based on user
behavior or element metainformation.
,⩥ Universal Selector.
Answer: A CSS selector, specified using an asterisk (*), that matches
ALL HTML elements in a web page.
⩥ Multiple selector.
Answer: A CSS selector, specified using a comma (,) to separate
selectors, that matches all listed HTML elements to apply a style rule.
⩥ Child Selector.
Answer: A CSS selector, specified using a greater-than character (>)
between two selectors, that matches any HTML elements where the
second element is a direct child of the first element.
⩥ general sibling selector.
Answer: A CSS selector, specified using a tilde character (~) between
two selectors, that matches the second HTML element if the second
element occurs after the first element and both elements are siblings.
⩥ Adjacent Sibling Selector.
Answer: A CSS selector, specified using a plus character (+) between
two selectors, that matches an HTML element that immediately follows
another element, where both elements have the same parent.
⩥ Combinators.
, Answer: CSS selectors that match specific relationships between two
selectors. (ex. descendant, child, adjacent sibling, and general sibling
selectors)
⩥ Attribute Selector.
Answer: A CSS selector, specified with an attribute name and optional
value comparison enclosed in square brackets ([ and ]), that matches
HTML elements with the specified attribute or the specified attribute and
value.
⩥ Pseudo-element selector.
Answer: A CSS selector, specified with two colon characters (::)
followed by a pseudo-element, that matches parts of HTML elements.
⩥ Color Property.
Answer: A CSS property that changes the text color to a specified color
value.
⩥ RGB color Value.
Answer: Specifies a color using the rgb(red, green, blue) function by
indicating the red, green, and blue intensities.
⩥ Hexadecimal Color.
FOUNDATIONS FINAL PAPER 2026 320
QUESTIONS AND DETAILED ANSWERS
GRADED A+
⩥ Class Selector.
Answer: A CSS selector, specified with a period (.) followed by the class
name, that matches HTML elements that have the specified class name.
⩥ ID Selector.
Answer: A CSS selector, specified with a hash character (#) followed by
the ID name, that matches the HTML element that has the specified ID.
⩥ Decendant Selector.
Answer: A CSS selector, specified with a selector followed by a space
and another selector, that matches HTML elements that are contained in
other elements.
⩥ Pseudo-class selector.
Answer: A CSS selector, specified with a colon character (:) following
by a pseudo-class name, that matches HTML elements based on user
behavior or element metainformation.
,⩥ Universal Selector.
Answer: A CSS selector, specified using an asterisk (*), that matches
ALL HTML elements in a web page.
⩥ Multiple selector.
Answer: A CSS selector, specified using a comma (,) to separate
selectors, that matches all listed HTML elements to apply a style rule.
⩥ Child Selector.
Answer: A CSS selector, specified using a greater-than character (>)
between two selectors, that matches any HTML elements where the
second element is a direct child of the first element.
⩥ general sibling selector.
Answer: A CSS selector, specified using a tilde character (~) between
two selectors, that matches the second HTML element if the second
element occurs after the first element and both elements are siblings.
⩥ Adjacent Sibling Selector.
Answer: A CSS selector, specified using a plus character (+) between
two selectors, that matches an HTML element that immediately follows
another element, where both elements have the same parent.
⩥ Combinators.
, Answer: CSS selectors that match specific relationships between two
selectors. (ex. descendant, child, adjacent sibling, and general sibling
selectors)
⩥ Attribute Selector.
Answer: A CSS selector, specified with an attribute name and optional
value comparison enclosed in square brackets ([ and ]), that matches
HTML elements with the specified attribute or the specified attribute and
value.
⩥ Pseudo-element selector.
Answer: A CSS selector, specified with two colon characters (::)
followed by a pseudo-element, that matches parts of HTML elements.
⩥ Color Property.
Answer: A CSS property that changes the text color to a specified color
value.
⩥ RGB color Value.
Answer: Specifies a color using the rgb(red, green, blue) function by
indicating the red, green, and blue intensities.
⩥ Hexadecimal Color.