Hướng dẫn thử thách
1 / 8
CSS Foundations Lesson A
A type selector (or element selector) will select all elements of the given element type, and the syntax is just the name of the element:
```html
<!-- index.html -->
<div>Hello, World!</div>
<div>Hello again!</div>
<p>Hi...</p>
<div>Okay, bye.</div>
```
```css
/* styles.css */
div {
color: white;
}
```
Here, all three `<div>` elements would be selected, while the `<p>` element wouldn’t be.
Vượt qua bài kiểm tra hiện tại để mở khóa bài tiếp theo.
main.html
UTF-8 • Tab Size: 2Kiểm tra bài:⌘↵