File tree 2 files changed +18
-2
lines changed
2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ course of your current work. Do not change code *only* to fix style.
26
26
This repository includes written guides & relevant linter configuration for the
27
27
following languages:
28
28
29
- - [ Ruby] ( ruby/README.md )
30
- - [ JavaScript] ( javascript/README.md )
31
29
- [ Haskell] ( haskell/README.md )
30
+ - [ HTML] ( markup/README.md )
31
+ - [ JavaScript] ( javascript/README.md )
32
+ - [ Ruby] ( ruby/README.md )
Original file line number Diff line number Diff line change
1
+ # HTML
2
+
3
+ - Always use quotes when specifying attribute values.
4
+
5
+ ``` html
6
+ <!-- Good -->
7
+ <td class =" foo" ></td >
8
+ <td class =" foo bar" ></td >
9
+
10
+ <!-- Bad -->
11
+ <td class =foo ></td >
12
+ ```
13
+
14
+ Reasoning: since quotes are required in some situations, quote consistently
15
+ to minimize thought points + diffs.
You can’t perform that action at this time.
0 commit comments