Что такое DOM?

Викторина по DOM и JavaScript

Quiz
•
Information Technology (IT)
•
11th Grade
•
Medium
Aygerym Batykova
Used 5+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Программный интерфейс для работы с CSS
Программный интерфейс для работы с HTML и XML-документами
Программный интерфейс для работы с изображениями
Программный интерфейс для работы с базами данных
2.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Как можно получить элемент по ID в JavaScript?
document.getElementsByTagName()
document.getElementsByClassName()
document.querySelector()
document.getElementById()
3.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Как изменить текст элемента в JavaScript?
element.textContent = 'Новый текст';
element.innerHTML = 'Новый текст';
element.setAttribute('text', 'Новый текст');
element.style.text = 'Новый текст';
4.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Как удалить атрибут у элемента?
element.remove('href');
element.setAttribute('href', null);
element.deleteAttribute('href');
element.removeAttribute('href');
5.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Как добавить обработчик события на элемент?
element.onclick = function() {}
element.addEventListener('click', function() {});
element.onClick = function() {}
element.attachEvent('click', function() {});
6.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Как изменить цвет текста элемента?
element.style.color = 'blue';
element.style.textColor = 'blue';
element.color = 'blue';
element.setStyle('color', 'blue');
7.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Как отслеживать изменения в поле ввода?
document.querySelector('input').addEventListener('change', function() {});
document.querySelector('input').addEventListener('input', function() {});
document.querySelector('input').oninput = function() {};
document.querySelector('input').onchange = function() {};
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Javascript DOM

Quiz
•
11th Grade
15 questions
Uji Pemahaman Dasar CSS

Quiz
•
11th Grade
10 questions
Quiz in ICT 9

Quiz
•
9th - 12th Grade
10 questions
Web Development Quiz

Quiz
•
9th - 12th Grade
10 questions
Database

Quiz
•
11th Grade
14 questions
Introduction to Databases Quiz

Quiz
•
10th Grade - University
10 questions
1º Quiz de HTML, CSS e JavaScript

Quiz
•
11th Grade
15 questions
Комбинаторы CSS

Quiz
•
11th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University