kibana/style_guides/html_style_guide.md
CJ Cenizal 9d8776b199 Add style_guides dir, extracted sections from STYLEGUIDE.md.
- css_style_guidee.md
- js_style_guide.md
- html_style_guide.md
- api_style_guide.md
2016-06-09 08:13:35 -07:00

490 B

Html Style Guide

Multiple attribute values

When a node has multiple attributes that would cause it to exceed the line character limit, each attribute including the first should be on its own line with a single indent. Also, when a node that is styled in this way has child nodes, there should be a blank line between the opening parent tag and the first child tag.

<ul
  attribute1="value1"
  attribute2="value2"
  attribute3="value3">

  <li></li>
  <li></li>
  ...
</ul>