Google News
logo
HTML - Quiz(MCQ)
1 .
How can you make a numbered list?
A)
<ol>
B)
<list>
C)
<dl>
D)
<ul>

Correct Answer : Option (A) :  

<ol>

2 .
How can you make a bulleted list?
A)
<ol>
B)
<ul>
C)
<dl>
D)
<list>

Correct Answer : Option (B) :  

<ul>

3 .
What is the correct HTML for creating a hyperlink?
A)
<a url="http://www.freetimelearning.com">freetimelearning.com</a>
B)
<a>http://www.freetimelearning.com</a>
C)
<a href="http://www.freetimelearning.com">freetimelearning</a>
D)
<a name="http://www.freetimelearning.com">freetimelearning.com</a>

Correct Answer : Option (C) :  

<a href="http://www.freetimelearning.com">freetimelearning</a>

4 .
Which character is used to indicate an end tag?
A)
*
B)
/
C)
^
D)
<

Correct Answer : Option (B) :  

/

5 .
What is the correct HTML for making a checkbox?
A)
<checkbox>
B)
<check>
C)
<input type="check">
D)
<input type="checkbox">

Correct Answer : Option (D) :  

<input type="checkbox">

6 .
What is the correct HTML for making a text input field?
A)
<textfield>
B)
<input type="text">
C)
<textinput type="text">
D)
<input type="textfield">

Correct Answer : Option (B) :  

<input type="text">

7 .
Where we can use <style> tag ?
A)
just in <head> element
B)
just in <body> element
C)
in <head> and in <body> elements
D)
just in <footer> element

Correct Answer : Option (A) :  

just in <head> element

8 .
Which tag would you use to create a hyperlink?
A)
<li>
B)
<img>
C)
<a>
D)
<dl>

Correct Answer : Option (C) :  

<a>

9 .
How to write HTML Comment ?
A)
// This is HTML comment
B)
<!-- This is HTML comment --> ​
C)
// This is HTML comment //
D)
/* This is HTML comment */

Correct Answer : Option (B) :  

<!-- This is HTML comment -->

10 .
Which is not an HTML attribute?
A)
alt
B)
target
C)
fontSize
D)
id

Correct Answer : Option (C) :  

fontSize