
Web_FE_BASIC_SS34
Quiz
•
Information Technology (IT)
•
University
•
Practice Problem
•
Medium
academy rikkei
Used 30+ times
FREE Resource
Enhance your content in a minute
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';
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
LibreOffice Writer Styles Quiz
Quiz
•
10th Grade - University
15 questions
ITEC101 - Lesson 1 - Quiz 1
Quiz
•
University
14 questions
Excel Basics Quiz
Quiz
•
10th Grade - University
20 questions
Security Fundamental
Quiz
•
University
18 questions
Asesmen Harian Informatika Kelas 7
Quiz
•
7th Grade - University
20 questions
ICC_Module_7
Quiz
•
University
15 questions
Chapter 3 : SQL Command
Quiz
•
University
20 questions
Pengantar Teknologi Informasi
Quiz
•
University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
9 questions
Principles of the United States Constitution
Interactive video
•
University
18 questions
Realidades 2 2A reflexivos
Quiz
•
7th Grade - University
10 questions
Dichotomous Key
Quiz
•
KG - University
25 questions
Integer Operations
Quiz
•
KG - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University
20 questions
SER vs ESTAR
Quiz
•
7th Grade - University
