Skip to content
Open
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions coding-standard/html-css.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@ text1, text2
```

###Không sử dụng inline style attributes
Hạn chế sử dụng nó càng ít càng tốt, điều này có những lợi thế sau:
- Có thể dễ dàng chỉnh sửa giao diện cho mã HTML
Hạn chế sử dụng nó càng ít càng tốt, điều này có những lợi thế sau:
- Có thể dễ dàng chỉnh sửa giao diện cho mã HTML
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

file này markdown hình như đang bị lỗi

- Có thể kế thừa CSS nếu bạn muốn sử dụng lại nó ở 1 nơi khác.

```
<!-- INSTEAD OF -->
<div style="width:100px;align:center;">
Expand Down
8 changes: 5 additions & 3 deletions html-css/convention.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@
* Không dùng ID làm selector

### Không tốt
#some-body {
// ...
}
```
#some-body {
// ...
}
```

### Tốt
.some-body {
Expand Down
1 change: 1 addition & 0 deletions html-css/html.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ text1, text2
Hạn chế sử dụng nó càng ít càng tốt, điều này có những lợi thế sau:
- Có thể dễ dàng chỉnh sửa giao diện cho mã HTML
- Có thể kế thừa CSS nếu bạn muốn sử dụng lại nó ở 1 nơi khác.

```
<!-- INSTEAD OF -->
<div style="width:100px;align:center;">
Expand Down
5 changes: 3 additions & 2 deletions html.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,12 @@ text1, text2
Hạn chế sử dụng nó càng ít càng tốt, điều này có những lợi thế sau:
- Có thể dễ dàng chỉnh sửa giao diện cho mã HTML
- Có thể kế thừa CSS nếu bạn muốn sử dụng lại nó ở 1 nơi khác.

```
<!-- INSTEAD OF -->
<-- INSTEAD OF -->
<div style="width:100px;align:center;">

<!-- USE -->
<-- USE -->
<div class="message">
```

Expand Down