
HTML & CSS Practice Test 1

Quiz
•
Computers
•
12th Grade
•
Medium
Mr Gabriel
Used 33+ 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
65 questions
Python - 5.பைத்தான் அறிமுகம் – மாறிகள் மற்றும் செயற்குறிகள்

Quiz
•
12th Grade
56 questions
Quiz về Giao thức TCP và HTML

Quiz
•
12th Grade
60 questions
Cuestionario de JavaScript - Fundamentos

Quiz
•
12th Grade
60 questions
CSEC IT- Past Paper MCQ- 2020

Quiz
•
12th Grade
60 questions
HTML CSS

Quiz
•
7th - 12th Grade
63 questions
CLASS 12 COMPUTER APPLICATIONS CH-1 TO CH-6 STATEBOARD I - MID

Quiz
•
12th Grade
60 questions
Microsoft Word/Powerpoint M1:L1-6

Quiz
•
9th - 12th Grade
56 questions
Word Modules 1 and 2

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade