Foundations of Information Technology
HTML (SA-2) MCQs
Q1: Which of the following is an attribute of <Table> tag?
(a) SRC
(b) LINK
(c) CELLPADDING
(d) BOLD
Q2: Which HTML attribute is used along with TD tag to merge two cells horizontally?
(a) merge=colspan:2
(b) merge=column2
(c) rowspan=2
(d) colspan=2
Q3: Which is the correct syntax to display images in HTML specification?
(a) <PIC src ="Picture file name">
(b) <IMG src ="Picture file name">
(c) <GIF src ="Picture file name">
(d) <PIC name="Picture file name">
Q4: The ALT attribute is useful
(a) find the name of the image
(b) to screen readers
(c) to find graphic dimensions
(d) to provide alternate graphic.
Q5: Which attribute is used to create a bookmark inside an HTML document?
(a) HREF
(b) ANCHOR
(c) NAME
(d) TITLE
Q6: Which TABLE attribute defines the pixel space between the cell contents and the cell border?
(a) CELLSPACING
(b) CELLPADDING
(c) WIDTH
(d) BORDER
Q7: You need to provide email link of helpdesk on a website abc.com. The correct syntax is:
(a) <MAIL>helpdesk@abc.com</MAIL>
(b) <A MAIL="helpdesk@abc.com">Help Desk</A>
(c) <A HREF="mailto:helpdesk@abc.com">Help Desk</A>
(d) <A HREF="helpdesk@abc.com">Help Desk</A>
Q8: The HTML tags that create a table header are
(a) <head></head>
(b) <ttop></ttop>
(c) <th></th>
(d) <td></td>
Q9: Which of the following is the correct HTML for inserting background image?
(a) <background img="background.gif">
(b) <img src= "background.gif" background />
(c) <a href= "background.gif">
(d) <body background="background.gif">
Q10: In <IMG SRC="./PICTURE/BB1.GIF" ALIGN="center">
ALIGN is
(a) A tag
(b) The head
(c) The body
(d) An attribute
Q11: The tag used in HTML to link it with other URL is:
(a) <B>
(b) <A>
(c) <U>
(d) <L>
Q12: Web pages are uniquely defined using
(a) IP addresses
(b) URL
(c) Domain
(d) File name
Answers:
1: (c) CELLPADDING
2: (d) colspan=2
3: (b) <IMG src ="Picture file name">
4: (b) to screen readers
5: (c) NAME
6: (b) CELLPADDING
7: (c) <A HREF="mailto:helpdesk@abc.com">Help Desk</A>
8: (c) <th></th>
9: (d) <body background="background.gif">
10: (d) An attribute
11: (b) <A>
12: (b) URL
No comments:
Post a Comment
We love to hear your thoughts about this post!
Note: only a member of this blog may post a comment.