wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Quiz 2 WebE

Total questions: 33

Worksheet time: 17mins

Name
Class
Date
1.
How to define a link that will be opened in a new tab/browser window?
a)
<a href="url" target="_self">
b)
<a href="url" new>
c)
<a href="url" target="_blank">
2.
Which HTML tag to make a numbered list (danh sách có đánh số ở đầu)?
a)
<dl>
b)
<ul>
c)
<list>
d)
<ol>
3.
Which HTML5 element defines navigation links?
a)
<navigation>
b)
<navigate>
c)
<nav>
4.
Inline elements are displayed by starting a new line. Block elements stay in the same line.
a)
True
b)
False
5.
Which of these elements are all (nested) <table> elements?
a)
<table> <tr> <tt>
b)
<table> <head> <tfoot>
c)
<table> <tr> <td>
d)
<thead> <body> <tr>
6.
What are the correct HTML tags for setting background color of the web page?
a)
<background>yellow</background>
b)
<body bg="yellow">
c)
<body style="background-color:yellow;">
d)
<body bgcolor="yellow">
e)
<body bgcolor="0xFF00FF">
7.
How can you make a bulleted list (danh sách không đánh số ở đầu, thay bằng ký tự đầu dòng chung cho tất cả các dòng trong danh sách)?
a)
<ol>
b)
<dl>
c)
<ul>
d)
<list>
8.
How to embedded a movie player as below in web page with HTML5?
a)
<movie>
b)
<media>
c)
<video>
9.
Who is making the HTML standards?
a)
Microsoft
b)
Mozilla
c)
Google
d)
The World Wide Web Consortium
10.

In some cases, a text is displayed in a web page but user can click to edit. Try the following:

Which mechanism can be used for that requirement?

a)
Using attribute contenteditable
b)
Using tag <textarea>
c)
Using tag <editabletext>
d)
No solution
11.
Which HTML tag is related to that?
a)
controls
b)
range
c)
slider
d)
search
12.
How to insert a background image?
a)
<body style="background-image:url(background.gif)">
b)
<body bg="background.gif">
c)
<background img="background.gif">
13.
Which character is used to indicate an end tag?
a)
/
b)
*
c)
<
d)
^
14.
What is the correct HTML tag for making a text area?
a)
<input type="textarea">
b)
<textarea>
c)
<input type="textbox">
15.
What is the correct HTML tag for making a drop-down list?
a)
<input type="list">
b)
<input type="dropdown">
c)
<list>
d)
<select>
16.
Which HTML element defines the title of a document?
a)
<title>
b)
<head>
c)
<meta>
17.
What is the correct HTML tag for making a text input field?
a)
<textinput type="text">
b)
<input type="textfield">
c)
<textfield>
d)
<input type="text">
18.
Which HTML tag is used to display a web page within another web page?
a)
<embedded>
b)
<div>
c)
<iframe>
d)
Cannot do with HTML
19.
Which HTML attribute is used to require that an input field cannot be empty?
a)
placeholder
b)
required
c)
validate
d)
formvalidate
20.
What is the correct HTML element for inserting a line break within a paragraph?
a)
<p>
b)
<br>
c)
<break>
d)
<lb>
21.
What is the correct HTML tag for making a checkbox?
a)
<checkbox>
b)
<check>
c)
<input type="checkbox">
d)
<input type="check">
22.

What is the most correct to define an emphasized text

a)
What is the <italic>most correct</italic> to define an emphasized text
b)
What is the <em>most correct</em> to define an emphasized text
c)
What is the <emphasize>most correct</emphasize> to define an emphasized text
d)
What is the <i>most correct</i> to define an emphasized text
23.
What does HTML stand for?
a)
Hyperlinks and Text Markup Language
b)
Home Tool Markup Language
c)
Hyper Text Markup Language
24.
HTML comments start with <!-- and end with -->
a)
True
b)
False
25.

What is the most correct to define a text is important

a)
What is the <important>most correct</important> to define a text is important
b)
What is the <b>most correct</b> to define a text is important
c)
What is the <i>most correct</i> to define a text is important
d)
What is the <strong>most correct</strong> to define a text is important
26.
Choose the correct HTML element for the largest heading
a)
<heading>
b)
<head>
c)
<h6>
d)
<h1>
27.
Which HTML5 element is used to specify a footer for a document or section?
a)
<footer>
b)
<section>
c)
<bottom>
28.
What are the correct HTML tags for creating an internal page link?
a)
<a href="#section01">W3Schools: first section</a>
b)
<a href="http://www.w3schools.com">W3Schools: first section</a>
c)
<a href="http://www.w3schools.com#section01">W3Schools: first section</a>
d)
<a name="http://www.w3schools.com">W3Schools: first section</a>
e)
<a url="http://www.w3schools.com">W3Schools: first section</a>
29.
The HTML5 <canvas> element is used to:
a)
draw graphics
b)
display database records
c)
manipulate data in MySQL
d)
create draggable elements
30.
Which HTML attribute specifies an alternate text for an image, if the image cannot be displayed?
a)
<img title=...
b)
<img longdesc=...
c)
<img alt=...
d)
<img src=...
31.
In HTML, onblur and onfocus are:
a)
HTML elements
b)
Style attributes
c)
Event attributes
32.
How to embedded a sound player in web page with HTML5 as below?
a)
<audio>
b)
<mp3>
c)
<sound>
33.

How to insert an image?

a)

<img alt="MyImage">image.gif</img>

b)

<img href="image.gif" alt="MyImage">

c)

<img src="image.gif" alt="MyImage">

d)

<image src="image.gif" alt=MyImage">