Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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
231,268 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.