1) What type of language is HTML?
A) Scripting
Language B) Markup Language
C) Programming
Language D) Procedural Language
2) The year in which HTML was first
proposed _______.
A) 1990 B) 1980 C) 2000 D) 1995
3) HTML stands for
__________________
A) HighText
Machine Language B) HyperText Modular
Language
C) HyperText Markup Language D) Highlevel Markup Language
4) The correct sequence of HTML tags
for starting a webpage is _____________ .
A) Head, Title,
HTML, body B) HTML, Body,
Title, Head
C) HTML, Head, Body, Title D) HTML, Head, Title, Body
5) Which character is used to
represent the closing of a tag in HTML?
A) \ B) ! C) / D) .
6) Which
is the correct way to comment out something in HTML?
A) Using ## and # B) Using <!-- and -->
C) Using
</-- and -/-> D) Using <!--
and -!>
7)
Which of the following is the paragraph tag in HTML?
A) <p> B) <b> C) <pre> D) <pr>
8) Which of the following tag is used to make the
underlined text?
A) <i> B) <ul> C) <u> D) <pre>
9) Web pages start with which of the following tag?
A) <Body> B) <Title> C) <HTML> D) <Form>
10) The <hr> tag in HTML is
used for __________ .
A) new line B) vertical ruler C) new paragraph D) horizontal ruler
A) <img href =
"jtp.png" /> B)
<img url = "jtp.png" />
C) <img link = "jtp.png" /> D) <img src = "jtp.png" />
12) Which of the following tag is
used for inserting the largest heading in HTML?
A) <h3> B) <h1> C) <h5> D) <head>
13) How to create an unordered list
in HTML?
A) <ul> B) <ol> C) <li> D) <i>
14) How to create a hyperlink in
HTML?
A) <a href =
"www.javatpoint.com"> java.com </a>
B) <a url =
"www.javatpoint.com" java.com /a>
C) <a link =
"www.javatpoint.com"> java.com </a>
D) <a> www.javatpoint.com <java.com /a>
15) Which of the following is the correct way to create a list using the lowercase letters?
A) <ol alpha = "a" > B) <ol type = "a">
C) <ol letter = "a"> D) <ol type = "lower">
16) The tag inside <TABLE>
tag used to give a title to the table is _______
A) <HEAD> B) <CAPTION> C) <TH> D) <TD>
17) Which of the following tag is used to add rows
in the table?
A) <td> and </td> B) <th> and </th>
C) <tr> and </tr> D) <row>…</row>
18) Which tag is used to add columns
to tables?
A) <td> B) <tr> C) <th> D) <colspan>
19) The __________ attribute in frame tag specifies the webpage to load into that frame.
A) src B) href C) id D) name
20) Which of the following is a tag
used in the creation of a frame definition file?
A) <FRAME> B) <FRAMESET> C) <NOFRAMES> D) <IFRAME>
21) What is the default value of the scrolling attribute for frames?
A) noscroll B) auto C) vscroll D) hscroll
22) To display the webpage in a specific frame, the _________ attribute of the frame tag is used.
A) name B) target C) src D) link
23)
What is the use of iframe in HTML?
A) to display a web page within a web page.
B) to display a web page with an animation effect.
C) to display a web page without a browser.
D) to display multiple web pages side by side
24) The COLS and ROWS attributes in
the __________ tag specifies the number of columns and rows of the display
area.
A) <FRAME> B) <IFRAME >
C) <NOFRAMES> D) <FRAMESET>
25) Which of the following tag is
used to define options in a drop-down selection list?
A) <Select> B) <list> C) <dropdown> D) <option>
26) The tag used to enter multi-line text input is _________________.
A) <input> B) <text> C) <input type=”text”> D) <textarea>
27) Which of the following is not an
attribute of <form> tag?
A) Action B) Method C) name D) url
28) The two most important
attributes of a form.
A) Id and action B) Class and method
C) Action and method D) GET and POST
29) Which form control is used to send the form data to the server?
A) Submit B) button C) action D) Send
30) The HTML tag used to create a drop-down list control is ____________ .
A) <list> B) <input type=”drop-down”>
C) <Select> D) <Option>
ANSWER
1) B 2) A 3) C 4) D 5) C 6) B
7) A 8) C 9) A 10) D 11) D 12) B
13) A 14) A 15) B 16) B 17) C 18) A
19) A 20) B 21) B 22) B 23) A 24) D
25) D 26) D 27) D 28) C 29) A 30) C