D
D
Denis Karakchiev2019-03-15 14:13:54
HTML
Denis Karakchiev, 2019-03-15 14:13:54

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

3 answer(s)
E
Eugene, 2019-03-15
@iamd503

You can use auto-formatting and not worry. Do what is comfortable for you

S
Stalker_RED, 2019-03-15
@Stalker_RED

Almost everywhere there are two spaces, rarely four.
But sometimes there is exotic, like three o_O

A
Alex, 2019-03-15
@Kozack

Tabulation only! Only Tabs! :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question