user1554264
user1554264

Reputation: 1224

HTML headings - absence of number in tag - bad pratice?

I have encountered an example of HTML5 that has an absence of a number in the heading tag unlike the normal <h1> to <h6> tags.

Is this an incorrect use of HTML? I believe that this use of the heading tag is incorrect, I did want to verify though.

 <article>
    <h>Subheading</h>
    This is some content
 </article>

Upvotes: 1

Views: 112

Answers (2)

Enzo
Enzo

Reputation: 1

He can "create" new tags in HTML and then put as selector in CSS. But this is not a header though.

Upvotes: -1

Quentin
Quentin

Reputation: 943209

There is no <h> element in HTML. There was one proposed for XHTML 2, but that never took off.

Upvotes: 11

Related Questions