Currently I'm working on the HTML of a ministry site, and I encountered one persistent problem that I don't know the "right" answer to: subtitles. Which tag do we use for them? A header, or not? I don't really know, and I'd like to ask your opinion.
In many instances, a regular
<h3> is followed by a subtitle that gives a little more information about the subject being discussed in the normal text below the header(s). The most obvious example is a subtitle for an entire page.
A subtitled page looks as follows right now:
The subtitle always occurs directly below the regular header. The question is whether this subtitle should be an
<h3> or a
<p>; or maybe even an
Right now I've opted for a
<p> element, because:
<p>, in other words. But maybe this is a matter of writing style, and not of semantics.
<h3>, logic dictates that the headers in the text should become
<h4>s. That's possible, but at this rate we go through the header hierarchy rather quickly. On some pages we need sub-headers and sub-sub-headers, which then would become
<h6>s, respectively. If we need a sub-sub-sub-header, we have a problem.
So the questions for today are:
<h3>, should the normal headers in the text become
I’ll be around at the following conferences:
Comments are closed.