NIELIT M2-R5 O Level Model Paper 2

NIELIT M2-R5 O Level Model Paper 2

31.Which tag allows you to add a row in a table?
A) <td> and </td>
B) <cr> and </cr>
C) <th> and </th>
D) <tr> and </tr> ✔️

32.How can you make a bulleted list?
A) <list>
B) <nl>
C) <ul> ✔️
D) <ol>

33.How can you make a numbered list?
A) <dl>
B) <ol> ✔️
C) <list>
D) <ul>

34.How can you make an e-mail link?
A) <a href=”xxx@yyy “>
B) <mail href=”xxx@yyy “>
C) <mail>xxx@yyy </mail>
D) <a href=”mailto:xxx@yyy “> ✔️

35.What is the correct HTML for making a hyperlink?
A) <a href=”http://gyancs.in”>MCQ Sets Quiz</a> ✔️
B) <a name=”http://gyancs.in”>MCQ Sets Quiz</a>
C) <http://gyancs.in</a>
D) url=”http://gyancs.in”>MCQ Sets Quiz

36.Choose the correct HTML tag to make a text italic
A) <ii>
B) <italics>
C) <italic>
D) <i> ✔️

37.Choose the correct HTML tag to make a text bold?
A) <b> ✔️
B) <bold>
C) <bb>
D) <bld>

38.What is the correct HTML for adding a background color?
A) <body color=”yellow”>
B) <body bgcolor=”yellow”> ✔️
C) <background>yellow</background>
D) <body background=”yellow”>

39.Choose the correct HTML tag for the smallest size heading?
A) <heading>
B) <h6> ✔️
C) <h1>
D) <head>

40.What is the correct HTML tag for inserting a line break?
A) <br> ✔️
B) <lb>
C) <break>
D) <newline>

41.What does vlink attribute mean?
A) Visited link ✔️
B) Virtual link
C) Very good link
D) Active link

42.Which attribute is used to name an element uniquely?
A) class
B) d ✔️
C) dot
D) all of above

43.Which tag creates a check box for a form in HTML?
A) <checkbox>
B) <input type=”checkbox”> ✔️
C) <input=checkbox>
D) <input checkbox>

44.To create a combo box (drop down box) which tag will you use?
A) <select> ✔️
B) <list>
C) <input type=”dropdown”>
D) all of above

45.Which of the following is not a pair tag?
A) <p>
B) < u >
C) <i>
D) <img> ✔️

46.The way the browser displays the object can be modified by _____
A) Attributes ✔️
B) Parameters
C) Modifiers
D) None of above

47.Which of the following HTML code is valid?
A) <font colour=”red”>
B) <font color=”red”> ✔️
C) <red><font>
D) All of above are style tags

48.Which of the following is an attribute related to font tag?
A) size
B) face
C) color
D) All of above are style tags ✔️

49.HTML supports
A) ordered lists
B) unordered lists
C) both type of lists ✔️
D) does not support those types

50.What tag is used to list individual items of an ordered list?
A) LI ✔️
B) OL
C) UL
D) None of above

51.When should you use path along with file name of picture in IMG tag?
A) Path is optional and not necessary
B) When the location of image file and html file are different ✔️
C) When image file and html file both are on same location
D) Path is always necessary when inserting image

52.Which of the following is not a valid alignment attribute?
A) Left
B) Right
C) Top ✔️
D) All of above

53.

31-Which tag allows you to add a row in a table?
A) <td> and </td>
B) <cr> and </cr>
C) <th> and </th>
D) <tr> and </tr> ✔️

32-How can you make a bulleted list?
A) <list>
B) <nl>
C) <ul> ✔️
D) <ol>

33-How can you make a numbered list?
A) <dl>
B) <ol> ✔️
C) <list>
D) <ul>

34-How can you make an e-mail link?
A) <a href=”xxx@yyy “>
B) <mail href=”xxx@yyy “>
C) <mail>xxx@yyy </mail>
D) <a href=”mailto:xxx@yyy “> ✔️

35-What is the correct HTML for making a hyperlink?
A) <a href=”http://gyancs.in”>MCQ Sets Quiz</a> ✔️
B) <a name=”http://gyancs.in”>MCQ Sets Quiz</a>
C) <http://gyancs.in</a>
D) url=”http://gyancs.in”>MCQ Sets Quiz

36-Choose the correct HTML tag to make a text italic
A) <ii>
B) <italics>
C) <italic>
D) <i> ✔️

37-Choose the correct HTML tag to make a text bold?
A) <b> ✔️
B) <bold>
C) <bb>
D) <bld>

38-What is the correct HTML for adding a background color?
A) <body color=”yellow”>
B) <body bgcolor=”yellow”> ✔️
C) <background>yellow</background>
D) <body background=”yellow”>

39-Choose the correct HTML tag for the smallest size heading?
A) <heading>
B) <h6> ✔️
C) <h1>
D) <head>

40-What is the correct HTML tag for inserting a line break?
A) <br> ✔️
B) <lb>
C) <break>
D) <newline>

41-What does vlink attribute mean?
A) Visited link ✔️
B) Virtual link
C) Very good link
D) Active link

42-Which attribute is used to name an element uniquely?
A) class
B) d ✔️
C) dot
D) all of above

43-Which tag creates a check box for a form in HTML?
A) <checkbox>
B) <input type=”checkbox”> ✔️
C) <input=checkbox>
D) <input checkbox>

44-To create a combo box (drop down box) which tag will you use?
A) <select> ✔️
B) <list>
C) <input type=”dropdown”>
D) all of above

45-Which of the following is not a pair tag?
A) <p>
B) < u >
C) <i>
D) <img> ✔️

46-The way the browser displays the object can be modified by _____
A) Attributes ✔️
B) Parameters
C) Modifiers
D) None of above

47-Which of the following HTML code is valid?
A) <font colour=”red”>
B) <font color=”red”> ✔️
C) <red><font>
D) All of above are style tags

48-Which of the following is an attribute related to font tag?
A) size
B) face
C) color
D) All of above are style tags ✔️

49-HTML supports
A) ordered lists
B) unordered lists
C) both type of lists ✔️
D) does not support those types

50-What tag is used to list individual items of an ordered list?
A) LI ✔️
B) OL
C) UL
D) None of above

51-When should you use path along with file name of picture in IMG tag?
A) Path is optional and not necessary
B) When the location of image file and html file are different ✔️
C) When image file and html file both are on same location
D) Path is always necessary when inserting image

52-Which of the following is not a valid alignment attribute?
A) Left
B) Right
C) Top ✔️
D) All of above

53-Which attribute is used with img tag to display the text if image could not load in browser?
A) Description
B) Name
C) Alt ✔️
D) Id

54-Which attribute can be used with BODY tag to set background color green?
A) background=”green”
B) bgcolor=”green” ✔️
C) vlink=”green”
D) None of above

55-Which attribute you’ll use with TD tag to merge two cells horizontally?
A) merge=colspan2
B) rowspan=2
C) colspan=2 ✔️
D) merge=row2

56-Awebpage displays a picture. What tag was used to display that picture?
A) picture
B)mage
C)img ✔️
D) src

57-<b> tag makes the enclosed text bold) What is other tag to make text bold?
A) <strong> ✔️
B) <dar>
C) <black>
D) <emp>

58-Tags and test that are not directly displayed on the page are written in _____ section.
A) <html>
B) <head> ✔️
C) <title>
D) <body>

59-Which tag inserts a line horizontally on your web page?
A) <hr> ✔️
B) <line>
C) <line direction=”horizontal”>
D) <tr>

60-What should be the first tag in any HTML document?
A) <head>
B) <title>
C) <html> ✔️
D) <document>


A) Description
B) Name
C) Alt ✔️
D) Id

54.Which attribute can be used with BODY tag to set background color green?
A) background=”green”
B) bgcolor=”green” ✔️
C) vlink=”green”
D) None of above

55.Which attribute you’ll use with TD tag to merge two cells horizontally?
A) merge=colspan2
B) rowspan=2
C) colspan=2 ✔️
D) merge=row2

56.Awebpage displays a picture. What tag was used to display that picture?
A) picture
B)mage
C)img ✔️
D) src

57.<b> tag makes the enclosed text bold) What is other tag to make text bold?
A) <strong> ✔️
B) <dar>
C) <black>
D) <emp>

58.Tags and test that are not directly displayed on the page are written in _____ section.
A) <html>
B) <head> ✔️
C) <title>
D) <body>

59.Which tag inserts a line horizontally on your web page?
A) <hr> ✔️
B) <line>
C) <line direction=”horizontal”>
D) <tr>

60.What should be the first tag in any HTML document?
A) <head>
B) <title>
C) <html> ✔️
D) <document>

O LEVEL M2-R5 (WEB DESIGNING AND PUBLISHING) MCQs OF HTML