Online GK Series

This site is dedicated to the aspirants of competitive exams SSC, UPSC, Railways, Postal Assistants, Bank, GATE and NET

Multiple Choice Questions and Answers on HTML | Page-22

106 The default value of BORDER attribute is
A 1 pixel
B 2 pixel
C 3 pixel
D None of the above

Answer: Option [A]
107 To set the color for table borders, use ______
A bgcolor=#003300
B bgimage=#003300
C bordercolor=#003300
D tablecolor=#003300

Answer: Option [C]
108 What is the correct HTML for adding a background color ?
A <body style = “background-color : yellow”>
B <body background= “yellow”>
C <background>yellow</background>
D All of the above

Answer: Option [A]
109 The background image will scroll when the user scrolls down the page, you add which property to the <body> tag ?
A bgproperties = “fixed”
B bgproperties = “move”
C bgproperties = “holdstill”
D None of the above

Answer: Option [C]
110 The most basic element of any HTML page is
A ASCII text
B text
C BCD text
D None of the above

Answer: Option [A]

Useful Computer Science EBooks