Pages

Tuesday, August 14, 2012

How To Pass Elance HTML 4.01 Test 2012 - Free Questions And Asnwers


To pass the HTML 4.01 test ensure that you have revised these topics

Elance HTML 4.01 Test Syllabus 

Advanced Tags

Fundamentals
Tags
Tables
Links and Images
Forms and Frames

Once you are through try out these questions and answers. When you are confident enough you can go on . Retaking the test takes 14 days only, but for Odesk Retake attracts 30 days waiting period

The test takes 40 minutes and in the 40 minutes period you are supposed to complete 40 questions. Make sure that you don not take more than 1 minute on one question so as to finish in time. Also, make snapshots for every query so that you are able to revise later if you have to retake the test.

Elance Vs Odesk HTML Test


These two tests are almost similar and for you to score high marks you need to also revise on Odesk HTML Test Questions and Answers in my earlier posts. This is because I do not want to repeat the same questions in this post; Ii hate repetition because it makes situations boring

Free Elance HTML 4.01 Test Questions and Answers


Question 1
You want to create a link for your website allowing users to email the webmaster. How will you implement this if the webmaster’s email is “webmaster@xcompany.com”?
a)      <a href=”mailto:webmaster@xcompany.com”>webmaster</a>
b)      <a href=”webmaster@xcompany.com”>webmaster</a>
c)      <a http=”mail:webmaster@xcompany.com”>webmaster</a>
d)     <mail http=”send:webmaster@xcompany.com”>webmaster</mail>
e)      <a href=”mailto://webmaster@xcompany.com”>webmaster</a>

Question 2
What is meant by cellpadding?
a)      It makes the cell span more than one column.
b)      It specifies the space between the cell wall and the contents of the cell.
c)      It specifies the space between two cells.
d)     It makes the cell span more than one row.

Question 3
Which event is fired when an element loses its focus on a form?
a)      Onfocus
b)      Onload
c)      Onblur
d)     Onselect

Question 4
Which of the following is not an attribute of meta tag?
a)      name
b)      content
c)      type
d)     http-equiv

Question 5
What do you infer from the following code?
<a href =”http://expertating.com”> Expert Rating </a>
a)      This href is using for absolute path for linking
b)      This href is using for relative path for linking

Question 6
Which of the following set of coordinate values refers to an image defined by the area tag with the value of poly for its shape attribute?
a)      coords="150,217,190,257,150,297,110,257"
b)      coords="150,190,150,110"
c)      coords="150,217,190,257,150"
d)     coords="150,110,190,220,150,150,120"

Question 7

Which of the following is/are not correct for a <meta? Tag in HTML 4.01?
a)      It is more useful if it is placed in a head element.
b)      It can be used to specify the keywords for the search engines.
c)      It can be used to redirect users to other URLs.
d)     It is mandatory to specify its name or scheme attributes.

Question 8
Within a table cell <td>:
a)      <p></p> tags cannot be used.
b)      <ol></ol> tags cannot be used
c)      <table></table> tags cannot be used.
d)     <form></form> tags cannot be used.
e)      All the above tags could be used.

Question 9
Which attribute specifies the submit URL in a form tag?
a)      method
b)      action
c)      name
d)     id

Question 10
Choose the incorrect statement(s):
a)      An HTML attribute is additional information included inside a tag.
b)      HTML is case sensitive.
c)      All the HTML4.01 tags must be paired.
d)     Your browser may appear to correctly use newly deprecated code for the present, but its support for deprecated code could be halted at any time after the browser is updated.

Question 11
Which of the following values is/are valid for the valign attribute for a <tr> tag?
a)      Base
b)      Bottom
c)      Middle
d)     Baseline
e)      None of the above

Question 12
Which of the following would give a yellow background to the web page?
Note: The code used in the "correct" answer below was deprecated in HTML 4.01! Use styles instead for new code.
a)      <body backcolor="Yellow">
b)      <body background="Yellow">
c)      <body bgcolor="Yellow">
d)     <body color="Yellow">


Question 13
You are creating several web pages for a website that contains several rather large data tables. Many of which are somewhat similar in the number of columns, rows and other common table formatting. In addition, CSS will be employed for formatting the tables. Which one of the following types of CSS has the highest priority over the others and typically require the greatest total amount of code space for the entire website for formatting the various table cells
a)                  External Style Sheet
b)                  Inline Style Sheet
c)                  Internal Style Sheet
d)                 Browser default


Question 14
Which of the following is invalid value for the shape attribute of an area tag?
a)      circle
b)      tri
c)      rect
d)     poly

Question 15
Your browser supports bidirectional text. Which tag will you use if you need to display text from right to left?
a)      <opposite>Text should go in opposite direction</opposite>
b)      <p direction=”rtl”>Text should go in opposite direction</p>
c)      <bdo dir=”rtl”>Text should go in opposite direction</bdo>   
d)     <text dir=”rtl”>Text should go in opposite direction</text>

Question 16
Choose the incorrect statement
a)      The <em> tag emphasizes the given text by italicizing it
b)      The <code> tag indicates that the text inside is an example of typed code
c)      The <var> tag indicates that the text inside the tag has been revised
d)     The <strong> tag is for strongly emphasizing the text

Question 17
Which of the following is not a valid input type of the form tag?
a)      Checkbox
b)      Image
c)      Hidden
d)     Button
e)      All are valid

Question 18
You have to add a list of products in a drop-down list. What will you use to group the identical products under a category name?
a)      Optgroup
b)      option
c)      menu
d)     var

Question 19
Which of the following is not correct for an action for a form tag?
a. The action attribute can be defined at runtime
b. If the value for action is null (action= “”), then the form submits user data to itself
c. If the URL is not provided to the action attribute, the form will not submit user data anywhere.
d. None of the above

Question 20
On one of your Web pages name Listng.html, you specified a target like this:
<a name= “target4”>Old Listing</a>
How will you make a link to the above target?
a. <a url= “#target4”>Check Old Listing as well</a>
b. <a href= “#target4”>Check Old Listing as well</a>
c. <a href= “#target4”>Check Old Listing as well</link>
d.. <a href= “Listing.target4”>Check Old Listing as well</a>

Question 21
Which of the following is/are a valid value for the type attribute of the input tag?
a. text
b. icon
c. reset
d. password

Question 22
You specified a base tag and anchors as follows:

1. <base target="_blank">
2. <a href="http://www.yahoo.com">Yahoo</a>
3. <a href="http://www.google.com" target="_top">Google</a>

Which of the following is true for the above code?
a)      Only the Yahoo link will open in a new window.
b)      Only the Google link will open in a new window.
c)      Both links will open in a new window.
d)     Both links will open in the same window.

Question 23
Which of the following statements is correct for the <blockquote> tag?
a. the text under block quote must be enclosed in a block level element in a strict DTD document
b. The attribute named cite must be specified
c. Closing the tag is optional
d. It places an empty line after the text


Question 24
You placed four radio buttons on a web form. You want the users to specify whether they are male or female and whether they are married or single. The code is as follows:

Male: <input type = “radio” checked name= “chk” value = “male”>
Female: <input type = “radio” name= “chk” value = “female”>
Maried: <input type = “radio” checked=“checked” name= “chk” value = “maried”>
Single: <input type = “radio” name= “chk” value = “single”>

What is wrong with the above code?

a)      It will allow the user to choose only the male and the married options
b)      It will allow the user to choose only the female and single options  
c)      It will allow the user to choose only one option out of the four
d)     It will allow the user to choose all the four options at the same time

Question 25
 A <!DOCTYPE> defines the document type of any HTML document. It can be of three types:
a. Strict, Transitional, or Frameset
b. Strict, Transitional, or Loose
c. Fixed, Intermediate, or Loose
d. Fixed, Intermediate, or Frameset

Question 26
How does a button created by the <button> tag differ from the one created by an <input> tag?
a. An input tag button can be a reset button too.
b. A button tag button can be a reset button too
c. An input tag button can include images as well
d. A button tag can include images as well

Question 27
 Which of the following values for the scrolling attribute for the frame tag is not valid?
a. Yes
b. default
c.  auto
d.  no

Question 28
Which tag is meant for creating inline frames that display other HTML pages?
a. img
b. frame
c. iframe
d. url

Question 29
Which of the following items should not be used in the address tag?
a. physical contact address of the Web site
b. contact email address for the Web site
c. contact signature
d.  abbreviations

Question 30
Which form event is fired on the click of a button using a button tag with its type attribute value equal to submit?
a. onload
b. onsubmit
c. onunload
d. onreset

Question 31
Which of the following is incorrect about the relation between HTML and XHTML?
a. XHTML is a stricter and cleaner version of HTML
b. XHTML is almost identical to HTML 4.01.
c. XHTML and HTML both are used to generate dynamic content
d. XHTML brings together the elements of HTML and the syntax of XML

Question 32
Which of the following tags can be used in place of a button tag?
a. legend
b. ol
c. input
d. dl

Question 33
Which of the following values is/are valid for the align attribute of a <td> tag?
a. left
b. right
c. center
d. offset

Question 34
For the following items of a <select> list:
<option value= “89”>Item 1</option>
<option value= “90”>Item 2</option>
Which of the following values would be passed on by clicking the submit button on selecting Item 2 from the list?
a. 89
b. 90
c. Item 1
d. Item 2

6 comments:

  1. Please check the question no. 22

    Right answer is (a)
    "Only the Yahoo link will open in a new window."

    ReplyDelete
  2. Hi Pastor,

    Please check the question no 24,

    right answer is

    d) It will allow the user to choose all the four options at the same time

    ReplyDelete
  3. thanks very much ballu for your correction. I have checked and I agree with you. Here is the correction for Question 22

    Question 22
    Ans: a) Only the Yahoo link will open in a new window.



    ReplyDelete
  4. Hi Ballu, I'm thankful for you positive contribution towards this blog. I have checked as you requested and I agree with you. This is the correction:

    Question 24
    Ans d)It will allow the user to choose all the four options at the same time

    ReplyDelete
  5. Question 24.

    Ans. C (If they were checkbox, then it all four can be chosen.

    B.S

    ReplyDelete
  6. @ ballu and other odeskstestsguide users. Do you think that the answer to question 24 is C? Say something.

    ReplyDelete