Web programming MCQs for placement and interview - Set 9

Web programming MCQs for placement and interview - Set 9


1.) iframe in HTML is used to display a web page within a web page.
a.) TRUE
b.) FALSE
View Answer / Hide Answer

ANSWER: a.) TRUE




2.) Using which tag we insert an JavaScript in HTML page?
a.) <JavaScript type="text/javascript">
b.) <script type="text/javascript">
c.) <JScript type="text/javascript">
d.) <HTMLScript type="text/javascript">
View Answer / Hide Answer

ANSWER: b.) <script type="text/javascript">




3.) Which of the following is true about links by default?
a.) An unvisited link is underlined and blue
b.) A visited link is underlined and red
c.) An active link is underlined and purple
d.) All the above
View Answer / Hide Answer

ANSWER: a.) An unvisited link is underlined and blue




4.) The href attribute in the link tag specifies the:
a.) Destination of a link
b.) Link
c.) Hypertext
d.) None of the above
View Answer / Hide Answer

ANSWER: a.) Destination of a link




5.) HTML Event Attributes onload fires just before the page is finishing loading.
a.) TRUE
b.) FALSE
View Answer / Hide Answer

ANSWER: b.) FALSE




6.) HTML Event Attributes onunload fires
a.) When the browser window has been closed
b.) When the browser window is minimized
c.) When the browser window has changed focus to other window
d.) After the page is finished loading
View Answer / Hide Answer

ANSWER: a.) When the browser window has been closed




7.) HTML Form Events ___________, fires the moment that the element loses focus.
a.) onblur
b.) onfocus
c.) onchange
d.) onlostfocus
View Answer / Hide Answer

ANSWER: a.) onblur




8.) Twitter limits the number of characters per tweet is ?
a.) 130
b.) 160
c.) 124
d.) 140
View Answer / Hide Answer

ANSWER: d.) 140




9.) What is cell padding?
a.) Used to separate cell walls from their contents
b.) Used to set space between cells
c.) Both a and b above
d.) Used to provide width to a cell
View Answer / Hide Answer

ANSWER: a.) Used to separate cell walls from their contents




10.) What are meta tags used for?
a.) To store information usually relevant to browsers and search engines
b.) To only store information usually relevant to browsers
c.) To only store information about search engines
d.) To store information about external links
View Answer / Hide Answer

ANSWER: a.) To store information usually relevant to browsers and search engines


Post your comment