HTML CSS Javascript MCQ
HTML CSS Javascript MCQ
ANWAR
a. Telnet
b. WIRL
c. HTTP
d. Gopher
34. Who invented World Wide Web (WWW)?
a. Blaise Pascal
b. Charles Babbage
c. Herman Hollerith
d. Tim Berners-Lee
c. <background= bgimage.gif>
d. <background image= bgimage.gif>
c. HTML2
d. All of these
d. 6
53. Which is the largest heading tag?
a. H1
b. H3
c. H4
d. H6
54. Which of the following are attributes of
Font tag?
a. Face
b. Size
c. Color
d. All of above
55. . connects web pages.
a. Connector
b. Link
c. Hyperlink
d. None of the above
56. Internet is .
a. a network of networks
b. an ocean of resources waiting to be mined
c. a cooperative anarchy
d. all of the above
57. is suitable for remote
administration of a computer.
a. FTP
b. Shell
c. Remote Procedure Call
d. Telnet
58. Title tag is nested within the
.. tag.
a. Body
b. Head
c. List
d. Table
59. .. is a webs native protocol.
a. SLIP
b. TCP/IP
c. HTTP
d. PPP
c. both a & b
d. domain name into physical address
b. 10
c. 110
d. 11
79. The . attribute adds space
within each cell.
a. CELL SPACING
b. CELL PADDING
c. WIDTH
d. ALIGN
80. Which of the following are two popular
protocols that allow home computer users to
connect their computers to the internet as per
hosts? i) SLIP ii) PPPiii) HTTP iv) SMTP
a. iii and iv
b. ii and iii
c. i and ii
d. ii and iii
81. A computer that translates
of another computer into an and
vice versa, upon request is known as DNS
server.
a. Domain name and IP address
b. Host address and Domain name
c. Domain name and server address
d. Server name and IP address
82. Identify the uses of URI in HTML.: i) Link to
another document or resource ii) Link to
external style sheet or script iii) Create an
image map
a. i and ii
b. i and iii
c. ii and iii
d. i , ii and iii
83. An ordered list is a . list and
an unordered list is a .. list.
a. bulleted & numbered
b. bulleted & tabular
c. tabular & numbered
d. numbered & bulleted
84. Linking to another place in the same or
another web page requires two A (Anchor)
tags, the first with the attribute
and the second the .attribute.
a. NAME & LINK
b. LINK & HREF
c. HREF & NAME
d. TARGET & VALUE
85. What type of information should you avoid
including on your Web site?
D. <pic src=image.gif
alt=MyImage />
10.
is
A.
B.
C.
D.
18.
A.
B.
C.
D.
11.
A.
B.
C.
D.
case-sensitive
case-insensitive
case-impsensitive
None of the above
16.
A.
B.
C.
D.
A. space attribute
B. whitespace attribute
C. backspace attribute
D. All of the above
34.
A.
B.
C.
D.
27.
A.
B.
C.
D.
30.
A.
B.
C.
D.
38.
by
A.
B.
C.
D.
39.
A.
B.
C.
D.
<tr> tag
<td> tag
<th> tag
None of the above
JavaScript MCQ
1. Javascript is a ______________
A.server side scripting language.
B.client side scripting language.
C.Either (A) or (B)
D.Neither (A) nor (B)
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>
3. Which of the following is not true about
JavaScript?
A.It is a scripting language.
B.It execute with preliminary compilation.
C.It is a lightweight programming language.
D.It can be embedded directly into HTML
pages.
4. Which of the following JavaScript can do?
A.JavaScript can react to events.
B.JavaScript can manipulate HTML elements.
C.JavaScript can be use to validate data.
D.All of the Above
5. What is the output of the following javascript
code? <script type=text/javascript>
x=4+4; document.write(x); </script>
A.44
B.8
C.4
D.Error output
6. Script in an external file and then include in
A.<body></body> section
B.<head></head> section
C.<html></html> section
D.<form></form> section
7. Which section where javascript code can be
placed?
A.<body></body> section
B.<head></head> section
C.Either (A) or (B)
D.Neither (A) nor (B)
C.<script>,<title>
D.<script>,<body>
A.onmouseout
B.onmousedown
C.onmousemove
D.onmouseover