V
V
vivery2017-03-19 19:52:15
HTML
vivery, 2017-03-19 19:52:15

How to properly use the article tag and BEM rules?

What type of BEM web page component can be assigned to the article tag? article in the spec is a standalone tag that can be used multiple times on pages without dependencies. Do I understand correctly that under no circumstances can it be an element according to BEM?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
ivan1kazantsev, 2017-03-19
@vivery

There are semantics. There is BEM. The same article could be inside an article, where it would already be an element. Do not become a slave to BEM, it was invented to simplify life, and not vice versa;)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question