Solved MCQs on HTML Part-I
MCQs and Quizzes about HTML and HTML Tags.
Q No.1 of 10
HTML stand for_______________.
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
Q No.3 of 10
Choose the correct HTML tag to make a text bold
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 4
|
<td align="left">
Correct
|
Q No.6 of 10
How can you make a list that lists the items with bullets?
Q No.7 of 10
Choose the correct HTML tag to make a text italic
Q No.8 of 10
How can you make a list that lists the items with numbers?
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?
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
Q No.2 of 10
Who is making the Web standards?
Option 3
|
The World Wide Web Consortium
Correct
|
Q No.3 of 10
Which of these tags are all <table> tags?
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 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
|
Q No.8 of 10
What is the correct HTML for making a checkbox?
Option 2
|
<input type="checkbox" />
Correct
|
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 3
|
<input type="dropdown" />
|