HTML

HTML MULTIPLE CHOICE QUESTION


1.What does HTML stand for?

a)       Hyperlinks and Text Markup Language
b)       Home Tool Markup Language
c)       Hyper Text Markup Language
-------------------------------------------------------------------
2.Who is making the Web standards?
a)       Mozilla
b)       Microsoft
c)       The World Wide Web Consortium
-------------------------------------------------------------------
3.Choose the correct HTML tag for the largest heading
a)       <h6>
b)       <heading>
c)       <head>
d)       <h1>
-------------------------------------------------------------------
4.What is the difference between XML and HTML?
a)       HTML is used for exchanging data, XML is not.
b)       XML is used for exchanging data, HTML is not.
c)       HTML can have user defined tags, XML cannot
-------------------------------------------------------------------
5.What is the correct HTML tag for inserting a line break?
a)       <br />
b)       <break />
c)       <lb />
-------------------------------------------------------------------
6.Can a data cell contain images?
a)        Yes
b)        No
-------------------------------------------------------------------
7.How do I add scrolling text to my page?
a)       <scroll>
b)       <marquee>
c)       <ciruler>
-------------------------------------------------------------------
8.What is the preferred way for adding a background color in HTML?
a)       <body background="yellow">
b)       <background>yellow</background>
c)       <body style="background-color:yellow">    
-------------------------------------------------------------------
9.What does vlink mean ?
a)       visited link
b)       vlink
c)       active link
-------------------------------------------------------------------
10.Is width=”100” and width=”100%” the same?
a)       Yes
b)       No
-------------------------------------------------------------------
11.Choose the correct HTML tag to make a text bold
a)       <bold>
b)       <b>
-------------------------------------------------------------------
12.Choose the correct HTML tag to make a text italic
a)       <i>
b)       <italic>
-------------------------------------------------------------------
13.What is extension of html file  ?
a)        html
b)        xml
c)        xhtml
-------------------------------------------------------------------
14.What is the correct HTML for creating a hyperlink?

a)       <a name="">A</a>
b)       <a>B</a>
c)       <a href="http://www.example.com">example</a>
d)       <a url="http://www.example.com">example</a>     
-------------------------------------------------------------------
15.How can we resize the image?
a)       Using size attribute
b)       Using height and width
-------------------------------------------------------------------
16.How can you create an e-mail link?
a)       <mail href="a@b">
b)       <mail>a@b</mail>
c)       <a href="a@b">
d)       <a href="mailto:a@b.com">
-------------------------------------------------------------------
17.How can you open a link in a new browser window?

a)       <a href="url" new>
b)       <a href="url" target="new">
c)       <a href="url" target="_blank">
-------------------------------------------------------------------
18.Which of these tags are all <table> tags?
a)       <table><head><tfoot>
b)       <table><tr><td>
c)        <table><tr><tt>
d)       <thead><body><tr>
-------------------------------------------------------------------

19.Choose the correct HTML to left-align the content inside a tablecell
a)       <td valign="left">
b)       <tdleft>
c)       <td leftalign>
d)       <td align="left">
-------------------------------------------------------------------
20.How can you make a list that lists the items with numbers?
a)       <ul>
b)       <list>
c)       <ol>
d)        <dl>
ANSWERS:
1)      A         2) c        3)d       4) b      5)  a       6)  a     7.  b       8) c          9)  a            10)   b
11) b        12) a        13) a       14)c      15)  b    16)d       17)c       18)b       19)  d        20)  c
-------------------------------------------------------------------
21.How can you make a list that lists the items with bullets?
a)       <ol>
b)       <list>
c)       <ul>
d)       <dl>
-------------------------------------------------------------------
22.What is the correct HTML for making a checkbox?
a)       <checkbox>
b)       <input type="checkbox" />
c)       <input type="check" />
d)       <check>
-------------------------------------------------------------------
23.What is the correct HTML for making a text input field?
a)       <input type="textfield" />
b)       <textinput type="text" />
c)       <textfield>
d)       <input type="text" />
-------------------------------------------------------------------
24.What is the correct HTML for making a drop-down list?
a)       <input type="list" />
b)       <select>
c)       <list>
d)       <input type="dropdown" />
-------------------------------------------------------------------
25.What is the correct HTML for making a text area?
a)       <input type="textarea" />
b)       <input type="textbox" />
c)       <textarea>
-------------------------------------------------------------------
26.What is the correct HTML for inserting an image?
a)       <image src="image.gif" alt="MyImage" />
b)       <img href="image.gif" alt="MyImage" />
c)       <img src="image.gif" alt="MyImage" />
d)       <img alt="MyImage">image.gif</img>
-------------------------------------------------------------------
27.What is the correct HTML for inserting a background image?
a)       <img src="background.gif" background />
b)       <body background="background.gif">
c)       <background img="background.gif">
-------------------------------------------------------------------
28.When you count to 15 using hexadecimal numbers, the highest number is what ?
a)        F
b)        B
c)        15
-------------------------------------------------------------------
29.What is the REFRESH meta tag used for ?
a)        Refresh your content
b)        Redirect to a new domain
c)        rewrite url 
-------------------------------------------------------------------
30.colspan=n can be added to only what tag?
a)       <table>
b)       <td>
c)       <tr>
-------------------------------------------------------------------
31.What tag adds a paragraph break after the text ?
a)        <PARAGRAPH>
b)        <P>
c)        <BR>
-------------------------------------------------------------------

32.All HTML tags are enclosed in what ?
a)         <>
b)        <?php and ?>
c)        # and #
d)        <!-- and -->
------------------------------------------------------------------
33. What is the language of the Web?
a)                  Basic
b)                  C++
c)                   MS Visual Basic
d)                  HTML
------------------------------------------------------------------
34.  What does an HTML tag do?    
a)                  It specifies formatting and layout instructions for your web page.
b)                  It hides programming instructions from view.
c)                   It determines the organizational structure of your Web site.
d)                  It connects your web site to an operating environment.
------------------------------------------------------------------

35.  A Web document is broken into sections. What are the tags called that create these sections?
a)      Structure tags
b)      HTML tags
c)       Heading tags
d)      Body tags
------------------------------------------------------------------

36.  What should be the first and last pair of tags in your Web document?
a)      <html></html> and <body></body>
b)      <start><end> and <body></body>
c)       <head><body> and <title></title>
d)      <title></title> and <body<>/body>
------------------------------------------------------------------

37.  When you use a heading tag in a document, what does the Web browser assumes?
a)      Heading information is to appear in bold letters
b)      Heading information is to appear on its own line
c)       Heading information has a hyperlink
d)      Heading information is shown as a size six
------------------------------------------------------------------

38.  For every Web document, you can add words that appear in the upper left bar area of your browser. What set of tags allows you to provide this information?
a)      <head></head>
b)      <head><head>
c)       <label><label>
d)      <title></title>
 ------------------------------------------------------------------

39.  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)       Design
d)      Outline
 ------------------------------------------------------------------

40.  When creating a Web document, what format is used to express an image's height and width?
a)      Centimeters
b)      Pixels
c)       Dots per inch
d)      Inches

ANSWERS:
21)c         22) b       23)d      24) b      25)  c      26)c     27)  b       28)a    29)  b      30)   b    
   31) b        32) a        33) d       34)a     35)  a    36)a      37)b       38)d      39) b       40)  b


 

No comments:

Post a Comment