DEV Community

[Comment from a deleted post]
Collapse
 
perpetual_education profile image
perpetual . education • Edited

These are really great points!

What do you think about the redundancy of
<main class='main-content'>? That could probably be more meaningful - or left off completely - if no meaning. Also, sometimes those things in your heading examples ARE headings / and should be written like that.

Very happy to see someone fighting the evil:
<i class="fal fa-quidditch"></i>

Collapse
 
melnik909 profile image
Stas Melnikov • Edited

Thank you.

"What do you think about the redundancy of <main class='main-content'>? "

That's just example. The "content" is a good class name also.

"Also, sometimes those things in your heading examples ARE headings / and should be written like that."

That is problem that developers use headings where they don't exist. If you read text in my example you hardly what section is. But if this text was heading you could do it. You would understand content that is related with the heading.