ITPEC IP October 2019 Question 8

Source exam: ITPEC IP October 2019Topic: Algorithm and Programming

ITPEC IP October 2019 — Question 8 of 100

The underlined child text is red and emphasized. It lies inside color2, whose red setting overrides the inherited blue setting from its color1 parent. It also remains inside the surrounding strong element, so the emphasis applies throughout.

Answer (b)

Why not others:
- blue loses to the child's explicit red color

- the child color element changes only color and does not cancel the enclosing emphasis

- therefore neither blue-emphasized nor either non-emphasized choice matches

Key rule: A child-specific value overrides the same inherited attribute, while unrelated inherited formatting continues to apply.

AI-generated — may contain errors

The original exam layout is preserved in the image so diagrams, formulas, tables, and code remain accurate.

This question comes from an official ITPEC past paper. ITPEC Practice is an independent study tool and is not affiliated with ITPEC. See the official IP past-paper collection or Report an issue.