I
I
Islam Ibakaev2017-02-21 21:05:02
HTML
Islam Ibakaev, 2017-02-21 21:05:02

Is the following html code structure valid?

<!doctype html>
<html>
<head>
  <title>title</title>
</head>
<body>
  <header>
    <h1>a<h1>
  </header>
  <section>
    <h1>b</h1>
  </section>
  <section>
    <h1>c</h1>
  </section>
  <section>
    <h1>d</h1>
  </section>
  <section>
    <h1>e</h1>
  </section>
</body>

</html>

Answer the question

In order to leave comments, you need to log in

3 answer(s)
X
Xtray, 2017-02-22
@devellopah

- You checkers or go? :)

What is meant by the word "valid" - what will work or what will pass the test?
The browser will draw as intended, but the validator... what's the point of whether it likes it or not?

D
Dmitry Polyakov, 2017-02-21
@James_Raynor

It is believed that h1 on the page should be one

I
Islam Ibakaev, 2017-02-22
@devellopah

Estimate, if you remove h1 from the header or replace it with h2, then the validator says that, they say, everything is ok, otherwise it issues a warning.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question