You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: translations/pt_BR/README.md
+27-2Lines changed: 27 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,9 @@
17
17
* 2.3 [Status](#status)
18
18
* 2.4 [Message convention](#message-convention)
19
19
*3.[HTML](#html)
20
-
* 3.1 [Comentários](#comments)
20
+
* 3.1 [HTML Syntax](#html-comments)
21
+
* 3.2 [HTML Comments](#html-syntax)
22
+
* 3.3 [HTML Character Encoding](#html-character-encoding)
21
23
*4.[CSS / SCSS](#css--scss)
22
24
*5.[JavaScript](#javascript)
23
25
@@ -93,7 +95,30 @@ git commit -m "my first commit"
93
95
94
96
### HTML
95
97
96
-
#### 1. Comentários
98
+
#### HTML Syntax
99
+
100
+
Use aspas duplas
101
+
102
+
```html
103
+
<!-- Good -->
104
+
<divclass="section">
105
+
106
+
<!-- Bad-->
107
+
<divclass='section'>
108
+
```
109
+
110
+
Não use o caractere `/`, para elementos que não tem tem tag de fechamento
111
+
112
+
```html
113
+
<!-- Good -->
114
+
<imgsrc="..."alt="...">
115
+
116
+
<!-- Bad-->
117
+
<imgsrc="..."alt="..." />
118
+
```
119
+
120
+
121
+
#### HTML Comments
97
122
98
123
O uso mais frequente de comentários no HTMl, é para sinalizar o fechamento de uma tag. O caractere `/` seria o mesmo que escrever `end`. A preferência na identificação da tag, é por sua classe.
0 commit comments