AnkitWebLogic
Advertisement:

HTML Multiple Choice Questions (MCQ)

Q.No.
Q1 Full form of HTML is?

Hypertext markup language

Q2 Which of the following is correct to set the background color as 'red' of the HTML document?

<body bgcolor = '#ff0000'>

Q3 HTML was developed by _____ ?

Berners Lee

Q4 How to set an image in the background of the web page?

<body background = "backpic.gif">

Q5 The HTML document starts with _____ tag and ends with _____ tag?

<html> ... </html>

Q6 In HTML, headings are available from _____ to _____?

<h1> to <h6>

Q7 Choose the right HTML tag for the largest heading?

<h1>

Q8 Choose the right HTML tag to make text bold?

Both of the above

Q9 <p> tag is use for ?

starting a new paragraph

Q10 Which HTML tag is use to insert a line break?

<br>

Q11 Which of the following is the right HTML tag to make text italic?

<i>

Q12 Which HTML tag is use to display power in expression (A+B)2 ?

<sup>

Q13 If image is not capable of loading in browser, which feature is used with IMG tag to display optional text.?

Alt

Q14 Which of the following is correct to change the font face in web page?

<font face = "font name"> ... </font>

Q15 Which of the following is invalid attribute in respect to font tag?

name

Q16 Which tag is used to insert a horizontal line on your web page?

<hr>

Q17 Which of the following is the correct syntax?

<a href="c:\picture1"> Picture 1 </a>

Q18 Which of the following is the correct HTML to insert an image?

<img src = "C:\Folder\ganesh.jpg">

Q19 How can you open a link in a new tab / browser window?

<a href="url" target="_blank">

Q20 Which of the following is true for making a numerical list?

<ol type = "1">

Q21 Which of the following is not a list in html?

None of the above

Q22 <ul> ... </ul> tag is used to ________

Display the bulleted list

Q23 Which HTML tag is used to scroll text in a web page?

<marquee> ... </marquee>

Q24 Which of the following is an attribute of <Table> tag?

Cellpadding

Q25 Which of the following tags are related to Table in HTML?

<table> <tr> <td>

Q26 Pick the odd one out.

TS

Q27 Which attribute is use to merge two cells horizontally?

colspan

Q28 Select the correct syntax

<frame name="a" src="text.html">

Q29 Select the correct syntax.

<iframe src="iframe.htm" width="200" height="200"> </iframe>

Q30 The HTML <div> is _____

block level element

Q31 What is the use of form in HTML?

To collect user's input

Q32 Select the correct HTML syntax for creating a checkbox?

<input type="checkbox">

Q33 Select the correct HTML syntax for creating a text input field?

<input type="text">

Q34 Select the correct HTML syntax for creating a drop-down list?

<select>

Q35 Select the correct HTML syntax for creating a text area?

<textarea>

Q36 Which of the following is a correct character entity for "copyright" symbol?

&copy;

Previous
Next
Advertisement: