Multiple Choice Questions On HTML CSS Javascript With Answers
Multiple Choice Questions On HTML CSS Javascript With Answers
c. JVM c. .htm
d. DTD d. .hml
3. HTML is considered as ___ language 12. Which of the following is not an example
e xample of browser?
a. Programming Langauge a. Netscape Navigator
b. OOP Language b. Microsoft Bing
c. High Level Language c. Mozilla Firefox
d. Markup Language d. Opera
4. HTML language is a set of markup ___ 13. Who is the primary author of HTML?
a. Attributes a. Brendan Eich
b. Tags b. Tim Berners-Lee
c. Sets c. Web Programmer
d. Groups d. Google Inc
5. HTML tags are used to describe document ____ 14. HTML was first proposed in year ___.
a. Definition a. 1980
b. Language b. 1990
c. Content c. 1995
d. None of these d. 2000
6. HTML document can contain 15. HTML tags are surrounded by ___ brackets
a. Attributes a. Angle
b. Tags b. Square
c. Plain text c. Round
d. All of these d. Curly
8. We can write HTML code using ____. Select appropriate 17. HTML document contain one root tag called
c alled ____
option(s). a. HEAD
a. VLC Media b. Title
b. Notepad++ c. Body
c. Microsoft PowerPoint d. HTML
d. None of these
18. Basic fundamental block is called as ___
9. HTML document is saved using ____ extension. a. HTML tag
a. .htl b. HTML body
b. .html c. HTML Attribute
c. .hml d. HTML Element
d. .htnl
78. The leading bit pattern of class B network is ……………… c. Work and academic experience
d. Graphical
a. 0
b. 10 86. Which of the following web elements
e lements should you know
c. 110 about before building your web site?
d. 11 a. The web audience
b. The operating environment of your ISP
79. The …………………. attribute adds space within each cell.
ce ll.
c. The operating system of your visitor
a. CELL SPACING
d. Each consideration should determine your web design
b. CELL PADDING
choices
c. WIDTH
d. ALIGN 87. What is the language of the Web?
a. Basic
80. Which of the following are two popular protocols that
b. C++
allow home computer users to connect their
the ir computers to
c. MS Visual Basic
the internet as per hosts? i) SLIP ii) PPPiii) HTTP iv) SMTP d. HTML
a. iii and iv
b. ii and iii
Web Programming MCQ’s (HTML , JAVASCRIPT CSS) By WAHEED ANWAR
88. What does an HTML tag do? B. <div>
a. It specifies formatting and layout instructions for your C. <frame>
web page. D. None of the above
b. It hides programming instructions from view. 6. The Heading tag and Paragraph tag can be
c. It determines the organizational structure of your Web represented as
site. A. <head> and <para>
d. It connects your web site to an operating environment. B. <hr> and <pr>
C. <h1> and <p>
89. A Web document is broken into sections. What are the D. None of the above
tags called that create these sections?
a. Structure tags 7. The HTML syntax of HTML5 requires a ………….
b. HTML tags to be specified to ensure that the browser renders the
c. Heading tags page in standard mode.
d. Body tags A. DOCTYPE
B. HEAD
90. What should be the first and last pair of tags in your C. BODY
Web document? D. TITLE
a. <html></html> and <body></body>
<body></body>
b. <start><end> and <body></body> 8. Which tag is used to identify the beginning and end
c. <head><body> and <title></title> of the HTML document?
d. <title></title> and <body<>/body> A. <html>
B. <body>
C. <title>
D. None of the above
1. What can be define within a single font tag :
A. Only face 9. One of the most popular way
wa y is to specify
B. Only size character-set using a
C. Only color A. meta data
D. All of the above B. meta element
2. To change default font face or size of a Web-page, C. meta value
use : D. None of the above
A. base tag
B. basefont tag 10. The doctype declaration for the HTML is
C. baseface tag A. case-sensitive
D. None of the above B. case-insensitive
C. case-impsensitive
3. Select true statement: D. None of the above
Statement 1:You can assign multiple valuest to face
attribute of font tag. 11. The sets of HTML tag is
Statement
of font tag,2:that
If you specify
is not a font
installed on name as face value
users computer, text A. <html></html>
B. <head></head>
will be displayed in browser’s default font. C. <title></title>
A. Only Statement 1 is true. D. All of the above
B. Only Statement 2 is true.
C. Both, Statement 1 and Statement 2 are true. 12. A list which is provided with numeric
num eric digit is
D. Neither, Statement 1 not Statement 2 is true. called an
A. Ordered List
4. There are ……… sets of HTML tags that form the B. Unordered List
basic structure needed for every HTML file: C. Definition List
A. one D. None of the above
B. two
C. three 13. An Ordered List can be represented as
D. four A. <ol>
B. <ul>
5. Whichthe
instruct tagcomputer
is used to(specifically
a commandbrowser)?
that is used to C.
D. <li>
<el>
A. <html>
Web Programming MCQ’s (HTML , JAVASCRIPT CSS) By WAHEED ANWAR
14. A list which is provided with a bullet(a black dot) B. MD=”DSS1:some text”
is called an C. MD=”SHA512:some text”
A. Ordered List D. Any of the above
B. Unordered List
C. Definition List 23. Which one is the mandatory attribute of the <img>
D. None of the above tag?
A. SRC
15. How many list of HTML is/are B. HREF
A. one C. ID
B. two D. ALT
C. three
D. four 24. Statement1:The <IMG> tag is used to incorporate
in-line graphics (typically icons or small graphics)
16. Defination list can be defined as : into an HTML document.
A. <ol> Statement2:The <IMG> element is also intended for
B. <ul> embedding other HTML text.
C. <dl> Statement 3:For large figures with captions and text
D. None of the Above flow see FIG element.
A. Statement 1 and Statement
Statement 2 are true.
17. What is the correct HTML for inserting an image? B. Statement 2 and statement
statement 3 are true.
A. <image src=”image.gif” alt=”MyImage” /> C. Statement 1 and statement 3 are true.
B. <img src=”image.gif” alt=”MyImage” /> D. All three statements are true.
C. <img alt=”MyImage”>image.gif</img>
D. <pic src=”image.gif” alt=”MyImage” /> 25. Which tag is used to define an image in HTML?
22. The value of MD attribute of <img> tag can be 30. The <img> tag attributes are
A. MD=”MD5:some text” A. Size attribute
Web Programming MCQ’s (HTML , JAVASCRIPT CSS) By WAHEED ANWAR
33. Which address is include the entire pathname? 42. ….. tag is used to define a table header.
A. Relative A. <th>
B. Mixed B. <td>
C. Absolute C. <tr>
D. None of the above D. None of the above
35. HTML provides a functionality to connect one or 44. Which controls will be used in space between
more pages in web-pages or resources. table cells?
A. link A. Celpadding
B. src B. Celspacing
C. node C. Celshifting
D. tree D. All of the above
36. The <img> tag is supported by 45. ……….. and ………….. are used to define a span
A.
B. internet firefox
mozilla explorer in column
A. and and
‘colspan’ rows‘rowspan’
respectively.
C. google chrome B. ‘celpadding’ and ‘celspacing’
D. All of the above C. either (A) or either (B)
D. neither (A) or nor (B)
37. HTML provides which control to use arranging
text and also in defining the things more 46. <td> tag stands for:
understandable manner. A. table dimension
A. Tables B. table date
B. Frames C. table data
C. Div D. None of the above
D. None of the above
47. Which element in HTML defines sections of a
38. A table contains rows which is defined by web page?
A. <tr> tag A. table
B. <td>
C. <th> tag
tag B. div
C. frame
D. None of the above D. None of the above
Web Programming MCQ’s (HTML , JAVASCRIPT CSS) By WAHEED ANWAR