h2

I. Description

The HTML h2 element is the second highest of the six header elements. If a webpage has an h2 element present then it should have an h1 element because header elements should not be skipped.

Multiple h2 elements are permitted.

II. Examples

<!DOCTYPE html>
<html>
    <head>
        <title>Example Page</title>
    </head>
    <body>
        <h1>3 Day Weather Forcast</h1>
        <article>
            <h2>Monday, March 17th 2025</h2>
            <section>
                <h3>Morning</h3>
                <p>
                    Sunny with clear skies, wind NNE at 1-2mph
                    with gusts up to 5mph.
                </p>
                <p>
                    6:00AM Temperature is 45 degrees Fahrenheit,
                    rising to 58 degrees Fahrenheit by 12:00PM.
                </p>
            </section>
            <section>
                <h3>Afternoon</h3>
                <p>
                    Clouds forming in the afternoon. The temperature
                    is expected to reach 61 degrees Fahrenheit by
                    6:00PM.
                </p>
            </section>
            <section>
                <h3>Evening/Night</h3>
                <p>
                    Cool in the evening, clear skies with wind blowing
                    N at 3-4mph. Overnight low is expected to be 41
                    degrees Fahrenheit.
                </p>
            </section>
        </article>
        <article>
            <h2>Tuesday, March 18th 2025</h2>
            <section>
                <h3>Morning</h3>
                <p>
                    Cloudy with a chance of rain between 10:00AM and
                    12:00PM.
                </p>
                <p>
                    6:00AM temperature is expected to be 42 degrees
                    Fahrenheit rising to 62 degrees by 12:00PM.
                </p>
            </section>
            <section>
                <h3>Afternoon</h3>
                <p>
                    Clear skies in the afternoon, high around 75 degrees
                    Fahrenheit.
                </p>
            </section>
            <section>
                <h3>Evening/Night</h3>
                <p>
                    Clear and cold night, low around 46 degrees Fahrenheit.
                </p>
            </section>
        </article>
        <article>
            <h2>Wednesday, March 19th 2025</h2>
            <section>
                <h3>Morning</h3>
                <p>
                    Rain, mainly after 10:00AM. High near 52 degrees
                    Fahrenheit. Calm wind SSW 5 to 6 mph.
                </p>
            </section>
            <section>
                <h3>Afternoon</h3>
                <p>
                    100% chance of rain after 12:00PM. High near 55 degrees
                    Fahrenheit. Wind SW 6 to 7 mph.
                </p>
            </section>
            <section>
                <h3>Evening/Night</h3>
                <p>
                    Rain in the evening and through the night, low near 41
                    degrees Fahrenheit.
                </p>
            </section>
        </article>
    </body>
</html>