<grumble grumble> HTML validator telling me my code has an error when it doesn't...

mikeymikec

Lifer
May 19, 2011
21,575
16,827
136
HTML validator said:
[ Error ] The heading h3 (with computed level 3) follows the heading h1 (with computed level 1), skipping 1 heading level.

From line 41, column 35; to line 41, column 38

ces.html"><h3>IT Ser

I don't see why this is an error. It shouldn't bother me. It does. It's like a variation of the "someone is wrong on the Internet!" meme :)

My business website uses h2 on other pages to give the subject matter a heading, but the front page doesn't have a particular subject hence it has no such heading, just a few subheadings!

images
 

Red Squirrel

No Lifer
May 24, 2003
71,260
14,061
126
www.anyf.ca
That is odd, apparently it goes up to h6 and is part of standard. TBH I rarely use anything past h1 myself.


Did you forget to close a a tag somewhere else maybe and it's triggering a warning there?

Also if you don't have a h2 maybe it doesn't like that?
 

mikeymikec

Lifer
May 19, 2011
21,575
16,827
136
Also if you don't have a h2 maybe it doesn't like that?

It's purely because of the lack of h2 tag on that page. I just double-checked that I closed all the tags preceding that (except obviously body).

If their system got any weirder, it would be like, "you're using italics on a page *and* bold? That's a paddling!".
 
  • Haha
Reactions: Red Squirrel

mikeymikec

Lifer
May 19, 2011
21,575
16,827
136
I still have pages using tables for layout. The validator would probably send macular degenerates to smash my my computer.

I got div'y with web design many years ago when I wanted to rip off this guy's design:
AFAIK with responsive design these days it's pretty much a necessity to move on from tables.

I won't ask what macular degenerates are :)
 

IronWing

No Lifer
Jul 20, 2001
73,652
35,460
136
I got div'y with web design many years ago when I wanted to rip off this guy's design:
AFAIK with responsive design these days it's pretty much a necessity to move on from tables.

I won't ask what macular degenerates are :)
I have Eric Meyer's CSS book and read it cover to cover. For new pages, I use CSS for layout but I can't be assed to update the old pages.