HTML Basic MCQs (Long Quiz)
This is the quiz about basics of HTML. Students and new learner's can test their knowledge.
Question 1 / 30
HTML stands for -
High Text Machine Language
Hyper Text and links Markup Language
Hyper Text Markup Language
None of these
Question 2 / 30
The correct sequence of HTML tags for starting a webpage is -
Head, Title, HTML, body
HTML, Body, Title, Head
HTML, Head, Body, Title
HTML, Head, Title, Body
Question 3 / 30
Which of the following element is responsible for making the text bold in HTML?
<pre>
<a>
<b>
<br>
Question 4 / 30
Which of the following tag is used for inserting the largest heading in HTML?
<h3>
<h1>
<h5>
<h6>
Question 5 / 30
Which of the following tag is used to insert a line-break in HTML?
<br>
<a>
<pre>
<b>
Question 6 / 30
How to create an unordered list (a list with the list items in bullets) in HTML?
<ul>
<ol>
<li>
<i>
Question 7 / 30
Which character is used to represent the closing of a tag in HTML?
\
!
/
.
Question 8 / 30
How to create a hyperlink in HTML?
<a href = "www.javatpoint.com"> javaTpoint.com </a>
<a url = "www.javatpoint.com">
<a link = "www.javatpoint.com"> javaTpoint.com </a>
<a> www.javatpoint.com <javaTpoint>
Question 9 / 30
How to create an ordered list (a list with the list items in numbers) in HTML?
<ul>
<ol>
<li>
<i>
Question 10 / 30
Which of the following element is responsible for making the text italic in HTML?
<i>
<italic>
<it>
<pre>
Question 11 / 30
How to insert an image in HTML?
<img href = "jtp.png">
<img url = "jtp.png">
<img link = "jtp.png">
<img src = "jtp.png">
Question 12 / 30
How to add a background color in HTML?
<marquee>
<marquee bg-color = "red">
<marquee bgcolor = "red">
<marquee color = "red">
Question 13 / 30
<input> is -
a format tag.
an empty tag.
All of the above
None of the above
Question 14 / 30
Which of the following tag is used to make the underlined text?
<i>
<ul>
<u>
<pre>
Question 15 / 30
How to create a checkbox in HTML?
<input type = "checkbox">
<input type = "button">
<checkbox>
<input type = "check">
Question 16 / 30
Which of the following tag is used to define options in a drop-down selection list?
<select>
<list>
<dropdown>
<option>
Question 17 / 30
HTML tags are enclosed in-
# and #
{ and }
! and ?
< and>
Question 18 / 30
Which of the following tag is used to add rows in the table?
<td> and </td>
<th> and </th>
<tr> and </tr>
None of the above
Question 19 / 30
The <hr> tag in HTML is used for -
new line
vertical ruler
new paragraph
horizontal ruler
Question 20 / 30
Which of the following attribute is used to provide a unique name to an element?
class
id
type
None of the above
Question 21 / 30
Which of the following HTML tag is used to display the text with scrolling effect?
<marquee>
<scroll>
<div>
None of the above
Question 22 / 30
Which of the following HTML tag is the special formatting tag?
<p>
<b>
<pre>
None of the above
Question 23 / 30
Which of the following is the correct way to send mail in HTML?
<a href = "mailto: xy@y">
<a href = "xy@y">
<mail>
None of the above
Question 24 / 30
Which of the following is the container for <tr>, <th>, and <td> ?
<data>
<table>
<group>
All of the above
Question 25 / 30
How to insert a background image in HTML?
<body background = "img.png">
<img background = "img.png">
<bg image = "img.png">
None of the above
Question 26 / 30
What are the types of unordered or bulleted list in HTML?
disc, square, triangle
polygon, triangle, circle
disc, circle, square
All of the above
Question 27 / 30
Which of the following is the correct way to create a list using the lowercase letters?
<ol alpha = "a">
<ol type = "a">
<ol letter = "a">
None of the above
Question 28 / 30
Which of the following is the correct way to start an ordered list with the count of numeric value 4?
<ol type = "1" initial = "4">
<ol type = "1" begin = "4">
<ol type = "1" num = "4">
<ol type = "1" start = "4">
Question 29 / 30
Which of the following HTML attribute is used to define inline styles?
style
type
class
None of the above
Question 30 / 30
Which of the following is the paragraph tag in HTML?
<p>
<b>
<pre>
None of the above
What's Your Reaction?
Like
0
Dislike
0
Love
0
Funny
0
Wow
0
Sad
0
Angry
0
Comments (1)