
Web_FE_BASIC_SS34
Authored by haibt@rikkei.edu.vn rikkei
Information Technology (IT)
University
Used 30+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mục đích chính của DOM trong JavaScript là gì?
A. Tạo và quản lý cơ sở dữ liệu
B. Tương tác và thay đổi nội dung, cấu trúc và kiểu của tài liệu HTML hoặc XML
C. Thực hiện các phép toán số học
D. Tạo và quản lý các lớp học
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
DOM có thể làm gì với các phần tử trên trang web?
A. Chỉ đọc nội dung
B. Chỉ xóa nội dung
C. Thay đổi nội dung, cấu trúc và kiểu
D. Không thể làm gì với các phần tử
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cách truy xuất tất cả các phần tử với class cụ thể trong DOM là gì?
A. document.getElementByClass('class');
B. document.querySelectorAll('.class');
C. document.getElementsByClassName('class');
D. document.querySelector('.class');
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phương thức nào sau đây trả về một phần tử duy nhất bằng ID?
A. document.querySelector('#id');
B. document.getElementsById('id');
C. document.getElementById('id');
D. document.querySelectorAll('#id');
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Làm thế nào để lấy nội dung HTML của một phần tử với ID myElement?
A. document.getElementById('myElement').innerHTML;
B. document.getElementById('myElement').textContent;
C. document.getElementById('myElement').value;
D. document.getElementById('myElement').innerText;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phương thức nào sau đây trả về tất cả các phần tử với tên thẻ p?
A. document.querySelector('p');
B. document.getElementsByTagName('p');
C. document.querySelectorAll('p');
D. document.getElementById('p');
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cách thêm một class vào phần tử với ID example là gì?
A. document.getElementById('example').className = 'newClass';
B. document.getElementById('example').classList.add('newClass');
C. document.getElementById('example').addClass('newClass');
D. document.getElementById('example').class = 'newClass';
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
11 questions
Структурированный тип данных массив
Quiz
•
10th Grade - University
15 questions
G4-Microprocessors and Their Uses
Quiz
•
4th Grade - University
15 questions
The Linux Vault
Quiz
•
University
14 questions
CPU Components Quiz
Quiz
•
10th Grade - University
15 questions
Python Loop
Quiz
•
University
20 questions
LESSON 1 QUIZ 1
Quiz
•
University
12 questions
Konteynerlar (C++)
Quiz
•
University
12 questions
[Quiz] Python Function
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Information Technology (IT)
7 questions
How James Brown Invented Funk
Interactive video
•
10th Grade - University
5 questions
Helping Build the Internet: Valerie Thomas | Great Minds
Interactive video
•
11th Grade - University
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
19 questions
Review2-TEACHER
Quiz
•
University
15 questions
Pre2_STUDENT
Quiz
•
University
20 questions
Ch. 7 Quadrilateral Quiz Review
Quiz
•
KG - University