2019-06-13
html indenting standard, tab or two spaces? [closed]
stackoverflow
Question

Many websites, for example html5 boilerplate use two spaces. Visual studio default projects such as ASP.NET MVC 3 use a tab. Will one become the standard way of indenting html?

Answer
1

I don't think there's a W3C specified standard. Since HTML strips out excess whitespace anyway, you should go with whatever you're most comfortable with.

html indenting standard, tab or two spaces? [closed]
See more ...