html缩进标准,制表符还是两个空格? [英] html indenting standard, tab or two spaces?
本文介绍了html缩进标准,制表符还是两个空格?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
我不认为有W3C指定的标准。由于HTML无论如何都会去掉多余的空白,所以你应该随心所欲地去做任何事情。
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?
解决方案
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缩进标准,制表符还是两个空格?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文