Top 250+ Solved HTML MCQ Questions Answer

From 76 to 90 of 239

Q. In HTML document the tags

a. Should be written in upper case

b. should be written in lower case

c. should be written in proper case

d. can be written in both uppercase or lowercase

  • d. can be written in both uppercase or lowercase

Q. Marquee is a tag in HTML to

a. mark the list of items to maintain inqueue

b. Mark the text so that it is hidden in browser

c. Display text with scrolling effect

d. None of above

  • c. Display text with scrolling effect

Q. To create a blank line in your web page

a. press Enter two times

b. press Shift + Enter

c. insert <BR> tag

d. insert <BLINE>

  • c. insert <BR> tag

Q. Which of the following is not a style tag?

a. <b>

b. <tt>

c. <i>

d. All of above are style tags

  • d. All of above are style tags

Q. The way the browser displays the object can be modified by _____

a. attributes

b. parameters

c. modifiers

d. None of above

  • a. attributes

Q. 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

  • b. <font color="red">

Q. Which of the following is an attribute related to font tag?

a. size

b. face

c. color

d. All of above are style tags

  • d. All of above are style tags

Q. HTML supports

a. ordered lists

b. unordered lists

c. both type of lists

d. does not support those types

  • c. both type of lists

Q. What tag is used to list individual items of an ordered list?

a. LI

b. OL

c. UL

d. None of above

  • a. LI

Q. 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

  • b. when the location of image file and html file are different

Q. Which of the following is not a valid alignment attribute?

a. Left

b. Right

c. Top

d. All of above

  • d. All of above

Q. 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

  • b. bgcolor="green"

Q. 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

  • c. colspan=2
Subscribe Now

Get All Updates & News