Bootstrap HTML Coding Standards
Syntax
- Use two spaces instead of tabs -- this is the only way to guarantee consistent rendering in all environments.
- Nested elements should be indented once (i.e., two spaces).
- For attribute definitions, always use double quotes; never use single quotes.
- Do not add a slash at the end of self-closing elements -- the HTML5 specificationexplicitly states this is optional.
- Do not omit optional closing tags (e.g.,