Top 250+ Solved HTML MCQ Questions Answer
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
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
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>
Q. The way the browser displays the object can be modified by _____
a. attributes
b. parameters
c. modifiers
d. None of above
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
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
Q. HTML supports
a. ordered lists
b. unordered lists
c. both type of lists
d. does not support those types
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
Q. Which of the following is not a valid alignment attribute?
a. Left
b. Right
c. Top
d. All of above
Q. 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
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
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