Why i can't create section by <div class="section">... </div> | Sololearn: Learn to code for FREE!

-1

Why i can't create section by <div class="section">... </div>

6/29/2020 2:08:24 PM

Purab Bhuyan

4 Answers

New Answer

+4

did you add any CSS for that? Let us see the code you tried for better understanding of your question.

0

Do i have to

0

You can't have a div with a class name of section because there is already a tag for <section> See https://www.w3schools.com/tags/tag_section.asp If you want to create a section use the <section> tag.

0

Thanks for helping