Để khai báo Javascript, ta có thể sử dụng thẻ nào?

Quiz về Javascript và PHP

Quiz
•
Mathematics
•
10th Grade
•
Easy
Giang Hương
Used 3+ times
FREE Resource
64 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
(A) <script>
(B)<javascript>
(C)<scripting>
(D)<js>
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh nào sau đây được sử dụng để tạo một dự án Laravel mới?
composer create-project -prefer-dist laravel/laravel
laravel start new project
php laravel new
php artisan make project
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cú pháp Javascript được sử dụng để thay đổi giá trị của phần từ HTML bên dưới là gì?
<p id="demo">Hello World!</p>
document.getElementById("demo").innerHTML = "Hello_World!";
document.getElement("p").innerHTML "Hello_World!":
document.getElementByName("p").innerHTML "Hello_World!";
#demo.innerHTML="Hello_World!";
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn mã HTML sau:
<style>
h1 {
</style>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph</p>
<p>This is a paragraph</p>
</body>
Hãy điền câu lệnh thích hợp vào chỗ chấm để tất cả các phần tử có phần đệm (padding) bên trái và bên phải 10 pixel cũng như phần đệm trên và dưới 40 pixel.
padding: 10px 10px 40px 40px;
padding: 40px 10px;
padding: 10px 40px;
padding: 40px 40px 10px 10px;
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phát biểu nào sau đây là phát biểu đúng trong PHP?
PB1: Các giao diện (Interface) không thể có thuộc tỉnh, trong khi các lớp trừu tượng (Abstract) có thể có thuộc tính.
PB2: Tất cả các phương thức trong giao diện phải ở chế độ công khai (Public), trong khi các phương thức lớp trừu tượng là công khai (Public) hoặc được bảo vệ (Protected).
PB3: Tất cả các phương thức trong một giao diện đều là Abstract, vì vậy chúng không thể được triển khai bằng mã nguồn và không cần thiết có từ khóa Abstract
Phát biểu 1 và 3 đúng
Cả 3 phát biểu đều sai
Phát biểu 1 và 2 đúng
Cả 3 phát biểu đều đúng
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cú pháp nào đúng để thêm một class mới có tên là "active" vào một phần từ với jQuery?
$("#element").addClass("active")
$(element").css("active")
$("#element").class("active")
$("element").attr("class", "active")
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho các khai báo phần tử HTML sau:
1. <a href="https://example.com" title="Click here to visit "Example.com' now!">Visit Site</a>
2. <a href="https://example.com" title="Click here to visit "Example.com" now!">Visit Site</a>
Khai báo nào đúng?
Khai báo 2 đúng
Cả hai khai báo đều đúng
Cả hai khai báo đều sai
Khai báo 1 đúng
Create a free account and access millions of resources
Similar Resources on Quizizz
60 questions
Place Value, Decimals & Comparing Numbers

Quiz
•
9th - 12th Grade
60 questions
Solve Inequalities with Negative Coefficients

Quiz
•
9th - 12th Grade
60 questions
Greater Than Less Than Equal To Negative

Quiz
•
9th - 12th Grade
60 questions
Solving Greater Than Less Than Problems

Quiz
•
9th - 12th Grade
60 questions
Inequalities Is The Solution True?

Quiz
•
9th - 12th Grade
65 questions
ACT Math Review

Quiz
•
9th - 12th Grade
60 questions
Giáo dục Quốc Phòng

Quiz
•
10th Grade
68 questions
Algebra II Midterm Review

Quiz
•
10th 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 Mathematics
30 questions
Linear Inequalities

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

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

Quiz
•
KG - University
20 questions
Solving Linear Equations for y

Quiz
•
9th - 12th Grade
11 questions
Graph Match

Quiz
•
9th - 12th Grade
16 questions
Function or Non-Function?

Quiz
•
8th - 10th Grade
18 questions
Unit Circle Trig

Quiz
•
10th - 12th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade