Professional Documents
Culture Documents
HTML Multiple Choice Questions
HTML Multiple Choice Questions
1. What type of information should you avoid including on your Web site?
2. Which of the following web elements should you know about before building your
web site?
5. A Web document is broken into sections. What are the tags called that create these
sections?
9. If you wanted to create text that was a different color or font than other text in your
Web page, what type of tag would you use?
10. When creating a Web document, what format is used to express an image's height
and width?
2. While researching on the Internet, the best way to retrace where you have been is to
—
A. select the Back button repeatedly B. try to remember the Internet addresses
C. select the Home button D. use the Search button
3. You found out that your favorite football team had a website on the Internet. What do
you need to know in order to visit the team’s website?
A. The city where the team is located
B. What time the team website is open
C. The Internet address of the website _
D. The number of Internet pages of the team’s website
Answer: A
15. At your favorite sports website, you wants to go directly to the section on hockey.
Which option should you choose?
A Scroll down the page B Use a search engine
C Select the hockey link D Print the site
Answer: C
1. What is the full form of HTTP?
8. The component from where the incoming messages can be retrieved in a mail
account is ……….?
A. Inbox B. Compose
C. Send D. Tools
Answer: A
11. What manages the hypertext links that are used to navigate the web?
A. Netscape Navigator B. Internet Explorer
C. Hypertext Transfer Protocol D. Browser
Answer: C
Mozilla
Microsoft
The World Wide Web Consortium
Ans: The World Wide Web Consortium
-------------------------------------------------------------------
3.Choose the correct HTML tag for the largest heading
<h6>
<heading>
<head>
<h1>
Ans: <h1>
-------------------------------------------------------------------
4.What is the difference between XML and HTML?
-------------------------------------------------------------------
5.What is the correct HTML tag for inserting a line break?
<br />
<break />
<lb />
Ans: <br />
-------------------------------------------------------------------
6.Can a data cell contain images?
Yes
No
Ans: Yes
-------------------------------------------------------------------
7.How do I add scrolling text to my page?
<scroll>
<marquee>
<ciruler>
Ans: <marquee>
-------------------------------------------------------------------
8.What is the preferred way for adding a background color in HTML?
<body background="yellow">
<background>yellow</background>
<body style="background-color:yellow">
Ans: <body style="background-color:yellow">
-------------------------------------------------------------------
9.What does vlink mean ?
visited link
vlink
active link
Ans: visited link
-------------------------------------------------------------------
10.Is width=”100” and width=”100%” the same?
Yes
No
Ans: No
-------------------------------------------------------------------
11.Choose the correct HTML tag to make a text bold
<bold>
<b>
Ans: <b>
-------------------------------------------------------------------
12.Choose the correct HTML tag to make a text italic
<i>
<italic>
Ans: <i>
-------------------------------------------------------------------
13.What is extension of html file ?
html
xml
xhtml
Ans: html
-------------------------------------------------------------------
14.What is the correct HTML for creating a hyperlink?
<a name="">A</a>
<a>B</a>
<a href="http://www.example.com">example</a>
<a url="http://www.example.com">example</a>
Ans: <a href="http://www.example.com">example</a>
-------------------------------------------------------------------
15.How can we resize the image?
<mail href="a@b">
<mail>a@b</mail>
<a href="a@b">
<a href="mailto:a@b.com">
Ans : <a href="mailto:a@b.com">
-------------------------------------------------------------------
17.How can you open a link in a new browser window?
-------------------------------------------------------------------
18.Which of these tags are all <table> tags?
<table><head><tfoot>
<table><tr><td>
<table><tr><tt>
<thead><body><tr>
Ans: <table><tr><td>
-------------------------------------------------------------------
<td valign="left">
<tdleft>
<td leftalign>
<td align="left">
-------------------------------------------------------------------
20.How can you make a list that lists the items with numbers?
<ul>
<list>
<ol>
<dl>
Ans :<ol>
-------------------------------------------------------------------
21.How can you make a list that lists the items with bullets?
<ol>
<list>
<ul>
<dl>
Ans: <ul>
-------------------------------------------------------------------
22.What is the correct HTML for making a checkbox?
<checkbox>
<input type="checkbox" />
<input type="check" />
<check>
Ans: <input type="checkbox" />
-------------------------------------------------------------------
23.What is the correct HTML for making a text input field?
-------------------------------------------------------------------
24.What is the correct HTML for making a drop-down list?
-------------------------------------------------------------------
25.What is the correct HTML for making a text area?
-------------------------------------------------------------------
26.What is the correct HTML for inserting an image?
-------------------------------------------------------------------
27.What is the correct HTML for inserting a background image?
-------------------------------------------------------------------
28.When you count to 15 using hexadecimal numbers, the highest number is what
?
F
B
15
Ans: F
-------------------------------------------------------------------
29.What is the REFRESH meta tag used for ?
Refresh your content
Redirect to a new domain
rewrite url
-------------------------------------------------------------------
30.colspan=n can be added to only what tag?
<table>
<td>
<tr>
Ans:<td>
-------------------------------------------------------------------
31.What tag adds a paragraph break after the text ?
<PARAGRAPH>
<P>
<BR>
Ans:<P>
-------------------------------------------------------------------
<>
<?php and ?>
# and #
<!-- and -->
Ans: <>
1 Who is known as the father of WWW (World Wide Web) ?
A. Charles Darwin
B. Tim Thompson
C. Tim Berners-Lee
D. Robert Cailliau
D. None of these
A. Apple Inc.
C. Microsoft Corporation
D. IBM Corporation
A. home.html
B. index.html
C. web.html
D. front.html
A. HTML Element
B. HTML body
C. HTML Attribute
D. HTML tag
A. Link
B. Connector
C. Hyperlink
D. None of these
B. SGMT
C. SGMD
D. None of these
10 Amongst these, which one can be used for writing HTML code??
A. Notepad++
B. Microsoft Word
D. None of these
A. HEAD
B. TITLE
C. HTML
D. BODY
A. ASCII text
D. None of these
13 When you use a heading tag in a document, what does the Web browser assumes?
A. Heading information is shown as a size six
14 A Web document is broken into sections. What are the tags called that create these
sections?
A. HTML Tags
B. Heading tags
C. Structure tags
D. Body tags
A. .hml
B. .html
C. .htl
D. .htnl
A. Pair tag
B. Ending tag
C. Starting tag
D. Closed tag
17 The way the browser displays the object can be modified by _________
A. parameters
B. modifiers
C. attributes
D. None of these
A. 6
B. 4
C. 3
D. 2
19 Tags that are not directly displayed on the page are written in __________section.
A. <html>
B. <head>
C. <title>
D. <body>
A. <br>
B. <break>
C. <newline>
D. <lb>
B. Markup Language
C. High level Language
D. Programming Language
22 A Web document is broken into sections. What are the tags called that create these
sections?
A. HTML tags
B. Body tags
C. Structure tags
D. Heading tags
23 If you wanted to create text that was a different color or font than other text in your Web
page, what type of tag would you use?
A. Layout
B. Basic Formatting
C. Outline
D. Design
A. True
B. False
A. Compiler
B. Server
C. Interpreter
D. Browser
28 While searching on the Internet, you decide to check in more than one search engine
because?
A. all web users prefer this technique
A. Yes
B. No
A. <>
C. # and #
A. Local Server
B. Client Server
C. 3 Tier
D. None of these
A. <meta> … </meta>
C. <metadata> … </metadata>
A. title tag
B. head tag
C. EM tag
D. form tag
A. bold
B. italic
C. list
D. indented
A. attributes
B. sets
C. groups
D. tags
A. src
B. cellpadding
C. Link
D. Bold
A. <p>
B. <u>
C. <i>
D. <img>
A. <list>
B. <ol>
C. <ul>
D. <nl>
A. <LARGE></LARGE>
B. <SIZE></SIZE>
C. <BIG></BIG>
D. <FONT></FONT>
A. list
B. italic
C. indented
D. bold
8 Which tag used to create hypertext relationship between current document and another
document??
A. <a>
B. <link>
C. <l>
D. <isindex>
A. <list>…</list>
B. <ul>…</ul>
C. <bullet>…</bullet>
D. <ol>…</ol>
12 Choose the correct HTML tag for the smallest size heading?
A. <h6>
B. <heading>
C. <h1>
D. <head>
13 Which of the following is the correct way to change font face in Web Page?
A. <b>
B. <bold>
C. <bb>
D. <bld>
15 <b> tag makes the enclosed text bold. What is other tag to make text bold?
A. <strong>
B. <dar>
C. <black>
D. <emp>
See Answe
C. <tdleft>
D. <td leftalign>
17 To create a combo box (drop down box) which tag will you use?
A. <list>
B. <select>
C. <input type="dropdown">
D. all of above
A. form
B. title
C. head
D. body
A. <sub>
B. <sup>
C. <b>
D. <p>
A. body tag
B. frame tag
C. both A and B
D. None of these
A. <h4>
B. <h2>
C. <h1>
D. <h6>
A. <scroll>
B. <ciruler>
C. <marquee>
A. <italic>
B. <i>
A. <a href="http://www.example.com">example</a>
B. <a name="">A</a>
C. <a url="http://www.example.com">example</a>
D. <a>B</a>
A. <mail href="a@b">
B. <mail>a@b</mail>
C. <a href="a@b">
D. <a href="mailto:a@b.com">
A. <table><head><tfoot>
B. <table><tr><td>
C. <thead><body><tr>
29 Choose the correct HTML to left-align the content inside a table cell.
A. <td valign="left">
B. <tdleft>
C. <td leftalign>
D. <td align="left">
30 How can you make a list that lists the items with numbers?
A. <ul>
B. <list>
C. <ol>
D. <dl>
See Answer & Explanation Lets Discuss
A. <checkbox>
D. <check>
C. <textfield>
B. <background img="background.gif">
C. <body background="background.gif">
D. <body bgcolor="background.gif">
A. <select>
B. <list>
B. <textarea>
A. <table>
B. <tr>
C. <td>
A. <PARAGRAPH>
B. <P>
C. <BR>
39 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
A. <LL>
B. <DD>
C. <DL>
D. <DS>
A. <font colour="red">
B. <font color="red">
C. <red><font>
A. Face
B. Size
C. Color
D. All of above
3 Which attribute you’ll use with TD tag to merge two cells horizontally?
A. merge=colspan2
B. rowspan=2
C. colspan=2
D. merge=row2
A. class
B. id
C. dot
A. True
B. False
6 Which property should be used for setting the left margin of an element?
A. indent
B. padding-left
C. margin-left
D. left
A. font-weight:bold
B. text-transform:uppercase
C. text-transform:capitalize
D. font-size:100px
See Answer & Explanation Lets Discuss
A. a {underline:hidden;}
B. a {text-decoration:none;}
C. a {text-decoration:no-underline;}
D. a {decoration:hidden;}
A. text-style
B. text-size
C. font-size
D. font-style
A. font-color
B. fgcolor
C. text-color
D. color