Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 415 Bytes

html.md

File metadata and controls

11 lines (8 loc) · 415 Bytes

HTML coding standards

Follow the rules in the HTMLHint configuration.

Formatting

  1. Always use lowercase for tag and attribute names
  2. Always use double quotes for attributes
  3. id: value should be camel-case
    1. should be used sparingly, primarily for obtaining a reference to a node in JS
  4. class: value should be dasherized