Search Header Logo

DOMF8

Authored by Triết Minh

Computers

Professional Development

Used 3+ times

DOMF8
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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 BLANKS 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à ...?

(a)  

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?