I
I
Igor Rodichev2018-06-01 23:09:48
HTML
Igor Rodichev, 2018-06-01 23:09:48

Is the markup on the web page correct?

Hello dear experts! Since I am a beginner, I want to hear feedback on the form of criticism. I would be grateful for any comment.
My code https://codepen.io/Bubunt/pen/jKbVKm
Layout main page picture https://www.dropbox.com/s/uqq178egdtgot6b/nerds-in...

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrej Sharapov, 2018-06-01
@Bubunt

1. Don't train yourself to divide modules into sections. Better use divs.
2. You can use it for the lane <main class="main">
3. Don't forget to write title="" in links
4. Forgot to write the closing </section>before

<hr>
      <!--Промо: Верхний-левый блок-->

5. etc. Use https://validator.w3.org/ - 3rd tab. Paste your code there and edit.

L
La1serg, 2018-06-01
@La1serg

Hello. I'm not an expert, but https://validator.w3.org tells me that:

  1. There should be only one H1 heading per page. You have several of them (lines 44, 88, 176);
  2. The section tag should have an H2-H6 heading. You don't have it on line 150;
  3. On line 42, the section with the main class is open, but it is not closed anywhere;
  4. Lines 52-57: you have labels, but no input id. for in the label must match the id of the input. Also, all inputs have the same name;
  5. Indentation issues. Use some plugin for your reindent code editor.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question