wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

MIDTERM QUIZ IN WEB DEV 101

Total questions: 25

Worksheet time: 4mins

Name
Class
Date
1.

Which among the following is correct HTML code for making a checkbox?

a)

<checkbox>

b)

<input type="checkbox">

c)

<check>

d)

<input type="check">

2.

HTML tags are surrounded by______brackets.

a)

Angle

b)

Curly

c)

Round

d)

Square

3.

These simple, east-to-use program allows you to enter, edit, save and print text.

a)

Web browser

b)

Text editor

c)

Search engine

d)

Domain name

4.

Which of the following tags contains most of the html code?

a)

<html>

b)

<p>

c)

<body>

d)

<head>

5.

The src attribute in the <img> tag references which of the following:

a)

a paragraph

b)

an image file

c)

a sound

d)

a head

6.

What is the hyperlink on the webpage?

a)

"Yen Ching" text

b)

Nothing. There is a typo inside the <a> tag.

c)

The picture of the chicken

d)

Nothing. There is no content between the <a> and </a> tags.

7.

What file name could be a picture?

a)

BK.jpg

b)

BK.gif

c)

BK.png

d)

BK.html

8.

What is the correct syntax for inserting an image?

a)

<img src> chipotleGuac.jpg </img>

b)

<src img="chipotleGuac.jpg">

c)

<img src="chipotleGuac.jpg">

d)

<src img> chipotleGuac.jpg </img>

9.

What is wrong with the following hyperlink?

a)

Nothing.

b)

The closing tag is missing the slash </a>

c)

There is no content between the opening and closing <a> tags.

d)

HREF is misspelled as HERF

10.

What is wrong with the following image tag?

a)

Nothing

b)

SRC is misspelled as SCR

c)

It is missing the closing </img> tag

d)

SRC comes before IMG

11.
What is the purpose of HTML
a)
To make a formatted document
b)
To make a webpage
c)
To edit photos
d)
To make a creative slide
12.
Multimedia can be embedded in an HTML document.
a)
Yes
b)
No
13.
Scripts can be placed anywhere in an HTML document.
a)
Yes
b)
No
14.
http://www.google.com is an example of a what?
a)
URL
b)
IP address
c)
Browser
d)
Application
15.
Google Chrome is an example of a what?
a)
URL
b)
Web browser
c)
IP address
d)
metal
16.

Which code below is correct for a hyperlink

a)

<a>

"https://google.com"

Click Me

</a>

b)

<a>Click Me>

"https://google.com"

</a>

c)

<a herf="https://google.com">

Click Me

</a>

d)

<a href="https://google.com">

Click Me

</a>

17.

To help users know what to put in field, use

a)

<input name="firstname">

b)

<label for="firstname">

<input type="text" id="firstname>

c)

<input type="text" id="firstname" name="label">

d)

<input label="First Name" type="text">

18.

An Email address field in a form

a)

<input type="email" id="email">

b)

<input type="text" id="email">

c)

<label for="email">

<email type="text" id="email">

d)

<input text="email" id="email">

19.

In a form, a drop-down list of options

a)

begins with a select tag followed by a list of option tags.

b)

begins with an option tag followed by a list of select tags.

c)

begins with a select tag followed by a list of datalist tags.

d)

begins with a datalist tag followed by a let of option tags.

20.

A comment field for multiple lines of text

a)

<label for="comments">

<comments type="textarea" id="comments">

b)

<label for="textarea">

<input type="textarea" id="textarea">

c)

<input type="textarea" rows="6" cols="50">

d)

<textarea rows="6" cols="50"></textarea>

21.

A button tag

a)

<input type="button" value="Name on Button"></input>

b)

<input type="button">Name on Button</input>

c)

<button name="abc" onclick="">

d)

<button name="abc" onclick="">Name on Button</button>

22.

Which allows the user to pick just one of a number of option

a)

Checkbox

b)

Radio button

c)

Drop down list

d)

Password input

23.

The _______ tag is used to create an HTML form for user input.

a)

<fieldset>

b)

<input>

c)

<form>

d)

<label>

24.

<input type="___________" name="gender" value="male"> Male

<input type="___________" name="gender" value="female">Female


(Fill the type of input which used to select just one option.)

(a)  

25.

HTML form is used for/to

a)

Collect user input

b)

It is not a section of a document

c)

Contains password control only

d)

Users can enter data in specific fields

e)

to capture website visitors' information