File tree 1 file changed +13
-13
lines changed
1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change 24
24
- [ Reduce markup] ( #reduce-markup )
25
25
- [ Whitespacing and formatting] ( #whitespacing-and-formatting )
26
26
- [ Indent tags that are very long] ( #indent-tags-that-are-very-long )
27
- - [ Always use double quotes in HTML files] ( #always-use-double-quotes-in-html-files )
28
27
- [ Attributes order] ( #attributes-order )
28
+ - [ Always use double quotes in HTML files] ( #always-use-double-quotes-in-html-files )
29
29
- [ Styles (CSS/SCSS)] ( ../Styles/styles.md#styles-cssscss )
30
30
- [ JavaScript/TypeScript] ( ../Scripts/javascript.md#javascripttypescript )
31
31
- [ General best practices] ( ../Generals/generals.md#general-best-practices )
@@ -331,18 +331,6 @@ For the sake or readability
331
331
332
332
333
333
334
- #### ALWAYS USE DOUBLE QUOTES IN HTML FILES
335
-
336
- ``` HTML
337
- <!-- Don't do this -->
338
- <input type =' text' name =' inputName' class =' input-class' >
339
-
340
- <!-- Do this instead -->
341
- <input type =" text" name =" inputName" class =" input-class" >
342
- ```
343
-
344
-
345
-
346
334
#### ATTRIBUTES ORDER
347
335
348
336
HTML attributes should come in this particular order for easier reading the code:
@@ -369,3 +357,15 @@ Examples:
369
357
```
370
358
371
359
As far as Identifiable information is concerned, classes make for great reusable components, so they come before ` id ` s.
360
+
361
+
362
+
363
+ #### ALWAYS USE DOUBLE QUOTES IN HTML FILES
364
+
365
+ ``` HTML
366
+ <!-- Don't do this -->
367
+ <input type =' text' name =' inputName' class =' input-class' >
368
+
369
+ <!-- Do this instead -->
370
+ <input type =" text" name =" inputName" class =" input-class" >
371
+ ```
You can’t perform that action at this time.
0 commit comments