#### 標簽與屬性的定義
- 標簽與屬性必須使用小寫;
- 屬性名稱使用中劃線進行分割;
> <span class="do">正確實踐:</span>
```html
<div class="demo" custom-data="someData" custom-value="someValue" ></div>
```
> <span class="dont">錯誤實踐:</span>
```html
<DIV class="demo" customData="someData" customValue="someValue"></DIV>
```
- 屬性值必須使用雙引號,多個屬性之間使用1個空格進行分割, 屬性數量多時使用換行進行格式化;
> <span class="do">正確實踐:</span>
```html
<div class="demo"
custom-data="someData"
text-context-menu="{{ menu }}"
right-click-button="button"
custom-value="someValue" >
</div>
```
> <span class="dont">錯誤實踐:</span>
```html
<div class="demo" custom-data="someData" text-context-menu="{{ menu }}" right-click-button="button" custom-value="someValue" >
</div>
```
- 不要在自動閉合標簽后使用標簽進行閉合;
> <span class="do">正確實踐:</span>
```html
<input type="text" value="abc" />
<img src="//google.com/abc.png />
```
> <span class="dont">錯誤實踐:</span>
```html
<input type="text" value="abc"></input>
<img src="//google.com/abc.png" ></img>
```