HTML MCQ
HTML MCQ
HTML MCQ
1. A webpage displays a picture. What tag was used to display that picture?
a. picture
b. image
c. img
d. src
2. <b> tag makes the enclosed text bold. What is other tag to make text bold?
a. <strong>
b. <dar>
c. <black>
d. <emp>
3. Tags and test that are not directly displayed on the page are written in _____ section.
a. <html>
b. <head>
c. <title>
d. <body>
14. Choose the correct HTML tag for the smallest size heading?
a. <heading>
b. <h6>
c. <h1>
d. <head>
15. What is the correct HTML tag for inserting a line break?
a. <br>
b. <lb>
c. <break>
d. <newline>
19. 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
a. bold
b. italic
c. list
d. indented
22. The special formatting codes in HTML document used to present content are
a. tags
b. attributes
c. values
d. None of above
24. Some tags has no closing part. Those tags are known as
a. Couple tags
b. Standalone tags
c. Null tags
d. Void tags
25. The _____ character tells browsers to stop tagging the text
a. ?
b. /
c. >
d. %
36. 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 fil
e both are on same location
d. path is always necessary when inserting image
38. 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
39. 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
40. 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
41. A webpage displays a picture. What tag was used to display that picture?
a. picture
b. mage
c. img
d. src
42. <b> tag makes the enclosed text bold. What is other tag to make text bold?
a. <strong>
b. <dar>
c. <black>
d. <emp>
43. Tags and test that are not directly displayed on the page are written in _____ section.
a. <html>
b. <head>
c. <title>
d. <body>