DEV Community

Ameen Akbar
Ameen Akbar

Posted on

Can You Spot The Error In This HTML ?

Image description

Top comments (8)

Collapse
 
auroratide profile image
Timothy Foster
  1. There is no error. This renders just fine.
  2. Although not an error, it's bad for accessibility to skip heading levels.
  3. If you really need an h7, you can use aria-level to specify it.
  4. Some feedback: instead of a big image with "Image Description" as its alt text, it's better to present a problem like this as a code block.
  5. I'm not sure why this is tagged with #react.
Collapse
 
barbareshet profile image
Ido Barnea

No h7

Collapse
 
curiousdev profile image
CuriousDev

Maybe skipping certain numbers or not all do exist for HTML.

Collapse
 
dannyengelman profile image
Danny Engelman

No error, H7 is valid UnknownElement

Collapse
 
agiksetiawan profile image
Agik Setiawan

Nothing h7 tag in HTML

Collapse
 
hacker4world profile image
hacker4world

There is no h7 tag in html

Collapse
 
inzagio profile image
Trym • Edited

h7 is an invalid element

Collapse
 
metak47 profile image
metak47

Html de h7 etiketi yok h(1,2,3,4,5,6) var