
WEB DEV. 25 Exam Sample Questions
Authored by Dana Gilbert
Computers
12th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which of the following HTML tags is used to define the largest header on a webpage?
2.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which attribute is required when defining an HTML form to collect user input for a web page?
action
method
type
name
Answer explanation
The 'action' attribute is required in an HTML form to specify where to send the form data when submitted. Without it, the form cannot function properly, making 'action' essential for collecting user input.
3.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which CSS property is used to change the text color of a webpage?
font-color
color
text-color
background-color
Answer explanation
The correct CSS property to change the text color of a webpage is 'color'. The other options, 'font-color' and 'text-color', are not valid CSS properties, while 'background-color' changes the background, not the text.
4.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
In CSS, which property is used to set the color of text on a webpage?
font-size
color
background-color
text-align
Answer explanation
The 'color' property in CSS is specifically used to set the color of text on a webpage. Other options like 'font-size', 'background-color', and 'text-align' serve different purposes, making 'color' the correct choice.
5.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
In the CSS box model, which of the following is not part of the content area?
Padding
Border
Margin
Content
Answer explanation
In the CSS box model, the content area consists of the content itself, along with padding and border. Margin, however, is the space outside the border and is not considered part of the content area.
6.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What is the purpose of using a viewport meta tag in an HTML document for mobile devices?
To define the layout and size of elements on different screen sizes
To set the font size for mobile devices
To adjust the background color on mobile devices
To enable JavaScript on mobile devices
Answer explanation
The viewport meta tag is essential for mobile devices as it defines the layout and size of elements, ensuring they are displayed correctly on various screen sizes. This helps create a responsive design.
7.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which of the following is the correct way to write a JavaScript function that alerts 'Hello World' when executed?
function alert('Hello World');
function HelloWorld() { alert('Hello World'); }
function alert() { alert('Hello World'); }
function() { alert('Hello World'); }
Answer explanation
The correct choice is 'function HelloWorld() { alert('Hello World'); }' because it defines a named function that, when called, executes the alert. The other options are either syntactically incorrect or do not define a callable function.
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
45 questions
T3 ASK (Bab 4 Kod Arahan)
Quiz
•
12th Grade
50 questions
VIRUS AND ANTIVIRUS
Quiz
•
10th Grade - University
45 questions
TEHNIK LAYANAN JARINGAN
Quiz
•
12th Grade
45 questions
Davinci Resolve 17 Fusion 101
Quiz
•
11th Grade - Professi...
48 questions
Soal HTML & CSS
Quiz
•
9th - 12th Grade
46 questions
Mrežna oprema 2019
Quiz
•
12th Grade
50 questions
Unit Review: Chapters 1-7
Quiz
•
9th - 12th Grade
45 questions
Computer Hardware and Software Review
Quiz
•
KG - University
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade
10 questions
Valentine's Day: History and Modern Celebration
Interactive video
•
9th - 12th Grade
11 questions
Valentine's Day Trivia
Quiz
•
8th - 12th Grade
10 questions
Factor Quadratic Expressions with Various Coefficients
Quiz
•
9th - 12th Grade
18 questions
Success Strategies
Quiz
•
9th - 12th Grade
10 questions
Valentine's Day Trivia
Quiz
•
9th - 12th Grade