Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS Bootstrap Basics Responsive Layouts With the Bootstrap Grid Styling Content

Leonardo Motta
Leonardo Motta
11,284 Points

Shouldn't there be only one <h1> tag per each page? he used more than one in this video T.T

    <!-- speakers -->
    <h1 class="display-4">Speakers</h1>
    [Speaker bios go here]
    <!-- /speakers -->

    <!-- schedule -->
    <h1>Schedule</h1>
    [Conference schedule does here]
    <!-- /schedule -->  

1 Answer

Steven Parker
Steven Parker
210,935 Points

There's no limit to the number of heading tags (any type) that can occur on a page, though it is considered a "best practice" to limit the use of h1 to one per page.

See the MDN page on headings for more details.