About Subheadings, Subtitles, Alternative Titles, and Taglines

It's semantically incorrect to mark subtitles with <h1> - <h6> elements, because they don't bring an additional hierarchy level. To have it well formatted use this:

1
2
3
4
<header>
    <h1>{{ object.headline }}</h1>
    <p class="tagline">{{ object.subhead }}</p>
</header>

Tips and Tricks Search Engine Optimization Django 5.x Django 4.2 Django 3.2 HTML5