
HTML & CSS Practice Test 1

Quiz
•
Computers
•
12th Grade
•
Medium
Mr Gabriel
Used 49+ times
FREE Resource
60 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following best explains the importance of including a proper DOCTYPE declaration in an HTML document?
It ensures compatibility with all web hosting servers.
It's required to make the website searchable on search engines.
It guarantees that embedded videos and audios will play correctly.
It provides a standard to which the document will be validated.
It optimizes the document for mobile viewing.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'viewport' meta tag primarily influence?
The font size of the text.
The background color of the webpage.
How the document is scaled and displayed on different devices.
The security protocols for the page.
The loading speed of the page.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a feature introduced in HTML 5 that enhances its relationship with web browsers?
Canvas element for drawing graphics
Local storage for saving data on users' devices
A new set of semantic elements
Built-in video and audio playback functionalities
A tool for automatic website translation
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary function of the <head> tag in an HTML document?
Display main content to users.
Contain metadata and links to stylesheets or scripts.
Structure the body content of the document.
Display the document's footer.
Render images in the browser.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Where should the DOCTYPE declaration be positioned within an HTML document?
Inside the <body> tag.
Immediately following the <head> tag.
At the very end of the document.
At the beginning of the document, before the <html> tag.
Directly before the closing </html> tag.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you want a hyperlink to open in a new browser tab or window, which attribute value would you use for the target attribute?
_self
_parent
_top
_new
_blank
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which attribute is commonly used in the <a> tag to specify the URL the link points to?
link
source
ref
href
url
Create a free account and access millions of resources
Similar Resources on Wayground
62 questions
TIN HỌC :D

Quiz
•
9th - 12th Grade
60 questions
IT JUNE 2020 P1

Quiz
•
9th - 12th Grade
62 questions
Quiz về Trí tuệ nhân tạo

Quiz
•
12th Grade
62 questions
TIN 12_ÔN TẬP HK1_B1_B13

Quiz
•
12th Grade
63 questions
Quiz về Trí tuệ nhân tạo

Quiz
•
12th Grade
57 questions
Tin học - GHK2

Quiz
•
12th Grade
56 questions
TINNN T ĐI:)

Quiz
•
12th Grade - University
63 questions
Laboratorio I

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade