Mr. Smee
Mr. Smee

Reputation: 960

Is it semantically correct to have multiple h2 tags in one HTML document?

Is it semantically correct to have multiple h2 or any header tags in one HTML document?

Upvotes: 1

Views: 867

Answers (2)

Joe
Joe

Reputation: 57169

Yes semantically that is correct.

Edit It does not look like the w3 has any restriction on the max occurrences of header entities.

http://www.w3.org/TR/html40/struct/global.html#edef-H1

http://www.w3.org/TR/html40/sgml/dtd.html#heading

Upvotes: 5

Stefan Kendall
Stefan Kendall

Reputation: 67802

Yes. Note that you can also group headers in header groups.

Upvotes: 1

Related Questions