
Quiz 6 Web-e
Quiz
•
Information Technology (IT)
•
University
•
Practice Problem
•
Easy
Cương Kim
Used 3+ times
FREE Resource
Enhance your content in a minute
33 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phương thức before() của một object node trên DOM tree dùng để làm gì?
2.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
Cho đoạn mã HTML và JavaScript như sau:
Biết rằng xxx ở dòng cuối là mã JavaScript để thực hiện xóa CSS class 'p1' khỏi thẻ HTML <p>. Hãy cho biết xxx là gì?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phương thức getElementById() khi gọi trên nút node của DOM tree có kết quả là gì?
4.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
Cần xóa thẻ HTML <p> (là đoạn in nghiêng) trong trang web với mã HTML như sau:
Biết rằng paraElement là node tương ứng với thẻ HTML <p> này trong DOM tree. Với điều kiện không dùng phương thức trực tiếp paraElement.remove(), hãy cho biết mã JavaScript cần dùng là gì?
5.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
Trang web có HTML:
Thuật toán tìm đến Item 1 là tím đến Item 2 , sau đó sử dụng sibling property. Hãy cho biết mã JavaScript ứng với thuật toán?
6.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Giả sử element là DOM tree node tương ứng với thẻ HTML được khai báo trong webpage như sau:
<div id='id' name='name' value='value' />
Cú pháp nào cho phép truy nhập đến trường id của thẻ <div>
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đâu là nhận định đúng khi so sánh 2 property textContent và innerHTML của node trên DOM tree?
innerHTML chỉ áp dụng với text node chứ không cho mọi element node
Sử dụng innerHTML thiết lập nội dung thẻ HTML nhanh hơn textContent
Sử dụng textContent an toàn hơn dùng innerHTML khi thiết lập nội dung thẻ HTML
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
Already have an account?
Similar Resources on Wayground
35 questions
Tin học
Quiz
•
12th Grade - University
30 questions
Veb texnologiyalar 1
Quiz
•
University
30 questions
Soal Ulangan Harian Kecerdasan Artifisial
Quiz
•
10th Grade - University
35 questions
K10. Ôn tập cuối kì Mùa Thu
Quiz
•
11th Grade - University
30 questions
Resumo Introdução a Programação
Quiz
•
University
36 questions
Đề Cương HKII Tin 10
Quiz
•
10th Grade - University
38 questions
7 кл-06
Quiz
•
7th Grade - University
30 questions
KIẾN TRÚC MÁY TÍNH - BÀI 6
Quiz
•
University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Information Technology (IT)
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
20 questions
Slopes and Slope-Intercept Form
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Biomolecules (Updated)
Interactive video
•
11th Grade - University
20 questions
Winter/Holiday Trivia
Quiz
•
KG - University
10 questions
WINTER WIN Time - ELA - 12/9/2025
Quiz
•
KG - University
7 questions
Human Impact on Resources
Interactive video
•
4th Grade - University
