DOMF8

DOMF8

Professional Development

30 Qs

quiz-placeholder

Similar activities

Web Development

Web Development

Professional Development

25 Qs

react-additional-class

react-additional-class

Professional Development

26 Qs

Quiz Sprint 2

Quiz Sprint 2

Professional Development

25 Qs

Selenium

Selenium

Professional Development

28 Qs

JavaScript - pętle

JavaScript - pętle

Professional Development

26 Qs

HTML and CSS

HTML and CSS

Professional Development

30 Qs

Javascript Basics

Javascript Basics

Professional Development

26 Qs

Playwright Quiz 1

Playwright Quiz 1

Professional Development

25 Qs

DOMF8

DOMF8

Assessment

Quiz

Computers

Professional Development

Easy

Created by

Triết Minh

Used 3+ times

FREE Resource

30 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 1 pt

Điền vào chỗ trống:

Sau khi trang web được tải xong, (1)... sẽ nhận được source code HTML mà người dùng đã viết, đọc và dựa theo quy chuẩn của W3C để tạo một cây HTML DOM của các (2)...

Evaluate responses using AI:

OFF

Answer explanation

Media Image

(1) browser

(2) object

2.

OPEN ENDED QUESTION

3 mins • 1 pt

DOM có bao nhiêu đối tượng chính? Là những đối tượng nào?

Evaluate responses using AI:

OFF

Answer explanation

1-Element

2-Attribute

3-Text

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

HTML là ngôn ngữ lập trình cung cấp cho người dùng một bộ phương tiện để truy xuất được vào mô hình DOM.

Đúng

Sai

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Khi trình duyệt đọc mã HTML, nó sẽ tạo ra một mô hình DOM và lưu cả mô hình đó(toàn bộ trang web) vào một biến có tên là ...?

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Những phương thức get element nào sau đây trả về trực tiếp element?

1.getElementById

2.getElementsByClassName

3.getElementsByTagName

4.querySelector

5.querySelectorAll

1,5

1,4

3,5

1,3

2,5

6.

OPEN ENDED QUESTION

3 mins • 1 pt

Những phương thức get element sau đây, phương thức nào trả về HTMLCollection? Phương thức nào trả về NodeList?

1.getElementById

2.getElementsByClassName

3.getElementsByTagName

4.querySelector

5.querySelectorAll

Evaluate responses using AI:

OFF

7.

OPEN ENDED QUESTION

3 mins • 1 pt

Vì cả NodeList và HTMLCollection đều khá giống mảng nên

1) Với NodeList ta có thể dùng forEach() để lặp qua các phần tử của nó.

2) Với HTMLCollection ta có thể dùng forEach() để lặp qua các phần tử của nó.

Nhận định trên đúng hay sai? Vì sao?

Evaluate responses using AI:

OFF

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?