Web programming MCQs for placement and interview - Set 5

Web programming MCQs for placement and interview - Set 5


1.) How can you make a list that lists the items with numbers?
a.) <ul>
b.) <list>
c.) <ol>  
d.) <dl>
View Answer / Hide Answer

ANSWER: c.) <ol>




2.) What is the correct HTML for making a checkbox?
a.) <checkbox>
b.) <input type="checkbox" />
c.) <input type="check" />
d.) <check>
View Answer / Hide Answer

ANSWER: b.) <input type="checkbox" />




3.) What is the correct HTML for making a text input field?
a.) <input type="textfield" />
b.) <textinput type="text" />
c.) <textfield>
d.) <input type="text" />
View Answer / Hide Answer

ANSWER: d.) <input type="text" />




4.) What is the correct HTML for making a drop-down list?
a.) <input type="list" />
b.) <select>
c.) <list>
d.) <input type="dropdown" />
View Answer / Hide Answer

ANSWER: b.) <select>




5.) What is the correct HTML for making a text area?
a.) <input type="textarea" />
b.) <input type="textbox" />
c.) <textarea>
d.) None of these
View Answer / Hide Answer

ANSWER: c.) <textarea>




6.) What is the correct HTML for inserting an image?
a.) <image src="image.gif" alt="MyImage" />
b.) <img href="image.gif" alt="MyImage" />
c.) <img src="image.gif" alt="MyImage" />
d.) <img alt="MyImage">image.gif
View Answer / Hide Answer

ANSWER: c.) <img src="image.gif" alt="MyImage" />




7.) colspan=n can be added to only what tag?
a.) <table>
b.) <td>
c.) <tr>
d.) <thead>
View Answer / Hide Answer

ANSWER: b.) <td>




8.) What tag adds a paragraph break after the text ?
a.) <PARAGRAPH>  
b.) <P>
c.) <BR>
d.) <pr>
View Answer / Hide Answer

ANSWER: b.) <P>




9.) All HTML comment tags are enclosed in what ?
a.) <>  
b.) <? and ?>  
c.) # and #  
d.) <!-- and -->
View Answer / Hide Answer

ANSWER: d.) <!-- and -->




10.) The TFOOT section of a table must appear before the TBODY section.
a.) FALSE
b.) TRUE
View Answer / Hide Answer

ANSWER: b.) TRUE


Post your comment