Home
MCQs by exam
Web Developer Interviews
Computer Science MCQs
Web Developer Interviews MCQs – Computer Science MCQs
19 multiple choice questions typical of the Web Developer Interviews exam, with answers and explanations. Switch on practice mode to test yourself first.
A
Runs it after parsing, in order
Correct answer
B
Runs it only when the user scrolls
C
Prevents the script from ever running
D
Runs it immediately and blocks parsing
A
<legend>
B
<caption>
C
<figcaption>
Correct answer
D
<summary>
A
To offer image files for different screen sizes
Correct answer
B
To load several images as a slideshow
C
To set the image's colour profile
D
To list backup URLs if the server is down
A
Prevents the image from being cached
B
Loads the image at a lower resolution
C
Loads the image only after a user clicks it
D
Delays loading until the image nears the viewport
Correct answer
A
cols="3"
B
colspan="3"
Correct answer
C
span="3"
D
rowspan="3"
A
Hides the page from search engine results
B
Sets the page title shown in the browser tab
C
Makes the page scale correctly on mobile screens
Correct answer
D
Prevents users from zooming on any device
A
notnull
B
mandatory
C
validate
D
required
Correct answer
A
Encryption of the typed address
B
Automatic sending of an email
C
A list of the user's contacts
D
Built-in email format validation
Correct answer
A
<label id="email">
B
<label for="email">
Correct answer
C
<label href="email">
D
<label name="email">
A
To block access to window.opener
Correct answer
B
To prevent search engines following it
C
To speed up loading of the linked page
D
To make the link open in the same tab
A
It links the page to a JavaScript file
B
It loads the default CSS stylesheet
C
It enables HTML5 standards mode
Correct answer
D
It creates the page's main heading
A
To set the width and height of the image
B
To add a border around the image
C
To describe the image for screen readers
Correct answer
D
To link the image to another web page
A
@media (max-width: 768px)
Correct answer
B
@media (max-height: 768px)
C
@media (min-width: 768px)
D
@media (min-height: 768px)
A
vmin
B
ch
C
rem
Correct answer
D
em
A
align-content
B
justify-content
Correct answer
C
flex-direction
D
align-items
A
order
B
float
C
position
D
z-index
Correct answer
A
absolute
Correct answer
B
sticky
C
relative
D
static
A
250px
Correct answer
B
200px
C
240px
D
225px
A
#nav
Correct answer
B
.nav
C
nav a
D
.nav a
Practise on paper
Preparing for Web Developer Interviews?
Make it your exam plan: see your progress in every subject and topic, set a daily goal and practise what you have not done yet.
Start my Web Developer Interviews plan
Test yourself
Take a timed online test and get a certificate, or play today's quick quiz.
Online tests
Daily quiz