Answer the question
In order to leave comments, you need to log in
Is it correct to use the tag name in class naming?
As far as I understand, in BEM all elements must have classes. So the question is: is it semantically correct to use tag naming in class naming? And is such a construction correct according to the BEM methodology?
Example:
<header class="header">
</header>
<div class="main">
<aside class="aside">
</aside>
<article class="article">
</article>
<nav class="nav">
</nav>
</div>
<footer class="footer">
</footer>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question