Web Programming (3160713) MCQs

MCQs of Basics of HTML andCSS

Showing 1 to 10 out of 73 Questions
1.
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
Answer:

Option (a)

2.
HTML Form Events ___________, fires the moment that the element loses focus
(a) onblur
(b) onfocus
(c) onchange
(d) onlostfocus
Answer:

Option (a)

3.
Text/Html is called the __________ of the page
(a) content type
(b) MIME type
(c) content type/MIME type
(d) none of these
Answer:

Option (c)

4.
The __________ attribute of the FORM tag collects form data.
(a) METHOD
(b) ACTION
(c) FORM
(d) FORMSET
Answer:

Option (b)

5.
The tags which require a closed tag are called ________ tags.
(a) full
(b) unpaired
(c) paired
(d) set
Answer:

Option (c)

6.
Special characters are enclosed using __________ and _________.
(a) : and $
(b) ; and #
(c) & and ;
(d) & and $
Answer:

Option (c)

7.
A CGI program is usually called after a request made by the _______.
(a) browser/user
(b) server
(c) web
(d) channel
Answer:

Option (a)

8.
SGML is a .........................
(a) Alphalanguage
(b) betalanguagec
(c) metalanguage
(d) none of the above
Answer:

Option (c)

9.
The number of levels of header supported by HTML is ..........................
(a) two
(b) six
(c) four
(d) three
Answer:

Option (b)

10.
The tag used while quoting long passage from any material, publications or other external sources is ........................................
(a) <ADDRESS>
(b) <EM>
(c) <BODY>
(d) <BLOCKQUOTE>
Answer:

Option (d)

Showing 1 to 10 out of 73 Questions