Skip to content

Commit 01bf59b

Browse files
authored
Update html.md
1 parent 90e6c56 commit 01bf59b

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

HTML/html.md

+13-13
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
- [Reduce markup](#reduce-markup)
2525
- [Whitespacing and formatting](#whitespacing-and-formatting)
2626
- [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)
2827
- [Attributes order](#attributes-order)
28+
- [Always use double quotes in HTML files](#always-use-double-quotes-in-html-files)
2929
- [Styles (CSS/SCSS)](../Styles/styles.md#styles-cssscss)
3030
- [JavaScript/TypeScript](../Scripts/javascript.md#javascripttypescript)
3131
- [General best practices](../Generals/generals.md#general-best-practices)
@@ -331,18 +331,6 @@ For the sake or readability
331331

332332

333333

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-
346334
#### ATTRIBUTES ORDER
347335

348336
HTML attributes should come in this particular order for easier reading the code:
@@ -369,3 +357,15 @@ Examples:
369357
```
370358

371359
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+
```

0 commit comments

Comments
 (0)