Answer the question
In order to leave comments, you need to log in
Html good practices - 2 spaces or 4?
I didn’t manage to find information very well, like 2 spaces are used in google html / css styleguide, but as for template engines (symfony / twig, laravel / blade) - is it worth using these 2 spaces there?
PS I know that in each team you can set your own rules, I'm still interested in what is used more often.
Answer the question
In order to leave comments, you need to log in
You can use auto-formatting and not worry. Do what is comfortable for you
Almost everywhere there are two spaces, rarely four.
But sometimes there is exotic, like three o_O
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question