CSS heading appearance

2025-hsc-se-q07 · Multiple Choice · 1 mark

Source: NESA 2025 HSC Software Engineering HSC Q7

Question

Consider the following cascading style sheet (CSS) code fragment for a website.

body {
    font-size: 100%;
    font-style: italic;
    line-height: 1.8;
    font-weight: normal;
}

h1 {
    text-align: center;
    font-style: normal;
    font-size: 250%;
    letter-spacing: 5px;
    background-color: rgb(0, 0, 100);
    color: white;
    font-weight: 900;
    border: 3px solid green;
}

Which of the following best describes the appearance of the heading on the website?

Options

Select one answer
Reveal answer

C. Blue background, white text, border around the heading

Marking rubric

MarksDescription
1Identifies the correct answer.

Explanation

The h1 rule sets a dark blue background, white text and a green border. It also uses normal rather than italic font style.

Metadata

Submitter
Seed data
Created
2026-05-02
Status
published
Syllabus
y12-web-css-design-impact
Tags
CSS web design typography styling