Solved MCQs on HTML Part-I

MCQs and Quizzes about HTML and HTML Tags.


Q No.1 of 10


HTML stand for_______________.
Option 1
High Text Multi Language
Option 2
Hyper Text Markup Language

Correct
Option 3
Home Tool Markup Language
Option 4
Hyperlinks and Text Markup Language
Q No.2 of 10

Choose the correct HTML tag for the largest heading
Option 1
<heading6>
Option 2
<h6>
Option 3
<h1>

Correct
Option 4
<head1>
Q No.3 of 10

Choose the correct HTML tag to make a text bold
Option 1
<bold>
Option 2
<b>

Correct
Option 3
<bold=true>
Option 4
<bld>
Q No.4 of 10

What is the correct HTML for creating a hyperlink?
Option 1
<a href="http://www. educatepk.com"> educatepk </a>

Correct
Option 2
<a>http://www.educatepk.com</a>
Option 3
<a url="http://www. educatepk.com"> educatepk.com</a>
Option 4
<a name="http://www. educatepk.com"> educatepk.com</a>
Q No.5 of 10

Choose the correct HTML to left-align the content inside a table cell
Option 1
<td leftalign>
Option 2
<td valign="left">
Option 3
<td align:”left”>
Option 4
<td align="left">

Correct
Q No.6 of 10

How can you make a list that lists the items with bullets?
Option 1
<bullets>
Option 2
<ul>

Correct
Option 3
<ol>
Option 4
<list type=”bullets”>
Q No.7 of 10

Choose the correct HTML tag to make a text italic
Option 1
<italic>
Option 2
<text style=”italic”>
Option 3
<i>

Correct
Option 4
<i text=”italic”>
Q No.8 of 10

How can you make a list that lists the items with numbers?
Option 1
<list type=”number”>
Option 2
<number list>
Option 3
<ol>

Correct
Option 4
<ul>
Q No.9 of 10


What is the preferred way for adding a background color in HTML?
Option 1
<body style="background-color: yellow">

Correct
Option 2
<background>yellow</background>
Option 3
<body background="yellow">
Option 4
<body style=”bgcolor=yellow”>

Q No.10 of 10


What is the correct HTML tag for inserting a line break?
Option 1
<endl />
Option 2
<br />

Correct
Option 3
<insertline>
Option 4


<break />


Solved MCQs on HTML Part-II

MCQs and Quizzes about HTML and HTML Tags.


Q No.1 of 10

Choose the correct HTML tag to make a text italic
Option 1
<i>

Correct
Option 2
<italic>
Option 3
<text style=”italic”>
Option 4
<i text=”italic”>
Q No.2 of 10

Who is making the Web standards?
Option 1
Google
Option 2
Intel
Option 3
The World Wide Web Consortium

Correct
Option 4
Microsoft
Q No.3 of 10

Which of these tags are all <table> tags?
Option 1
<table><head><div>
Option 2
<table><tr><td>

Correct
Option 3
<table><tr><li>
Option 4
<thead><ul><tr>
Q No.4 of 10

How can you create an e-mail link?
Option 1
<mail>test@educatepk .com</mail>
Option 2
<mail href=" test@educatepk .com ">
Option 3
<a href=" test@educatepk .com ">
Option 4
<a href="mailto: test@educatepk .com ">

Correct
Q No.5 of 10

How can you open a link in a new browser window?
Option 1
<a href="url" target="new">
Option 2
<link href="url" target="_blank">
Option 3
<a href="url" new>
Option 4
<a href="url" target="_blank">

Correct
Q No.6 of 10

What is the correct HTML for inserting an image?
Option 1
<img href="imgName.gif" alt=" img text " />
Option 2
<img src=" imgName.gif" alt="img text" />

Correct
Option 3
<img alt=" img text "> imgName.gif</img>
Option 4
<image src=" imgName.gif" alt=" img text " />
Q No.7 of 10

What is the correct HTML for inserting a background image?
Option 1
<background img=" bgImgName.gif">
Option 2
img src="bgImgName.gif" background />
Option 3
<body background=" bgImgName.gif">

Correct
Option 4
< bgImgName.gif>
Q No.8 of 10

What is the correct HTML for making a checkbox?
Option 1
<checks>
Option 2
<input type="checkbox" />

Correct
Option 3
<input type="check" />
Option 4
<checkbox>
Q No.9 of 10

What is the correct HTML for making a text input field?
Option 1
<textinput type="text" />
Option 2
<input type="textfield" />
Option 3
<text type="inputfield" />
Option 4
<input type="text" />

Correct

Q No.10 of 10

What is the correct HTML for making a drop-down list?
Option 1
<input type="dropdown" />
Option 2
<select>

Correct
Option 3
<input type="dropdown" />
Option 4
<list type=”dropdown”>
 
Top