Monday, December 16, 2013

Odesk html Test Answer 2013

Odesk html Test Answer 2013

Question:-  statements is correct for a blockquote?
Answer:- b. It defines the start of a long quote.


Question:-  Which of the following is incorrect about the relation between HTML and XHTML?
Answer:- b. XHTML is almost identical to HTML 4.01.


Question:-  Choose the incorrect statement(s):
Answer:- b. HTML is case sensitive.


Question:-  Which of the following tags can be used in place of a button tag?
Answer:- c. input


Question:-  Which of the following is not a valid input type of the form tag?
Answer:- e. All are valid


Question:-  It is not necessary to give the coordinates for an image or object defined within an area tag, if the value of its shape attribute is:
Answer:- c. default


Question:-  Which of the following is/are a valid value for the type attribute of the input tag?
Answer:- a. text
c. reset
d. password


Question:-  Which of the following is not correct for an action attribute for a form tag?
Answer:- d. None of the above


Question:-  Which of the following values is/are valid for the align attribute of a tag?
Answer:- a.left
b.right
c.center


Question:-  What do you infer from the following code? <a href = “http://www.expertrating.com”> Expert Rating
Answer:- a.This href is using absolute path for linking.


Question:-  Which of the following statements is correct for the tag?
Answer:- a. The text under block quote must be enclosed in a block level element in a strict DTD document.


Question:-  Which of the following is/are not true for a paragraph tag in HTML 4.01?
Answer:- b. It creates an empty line above its starting line.
c. It cannot be used within a <td> tag.


Question:-  A piece of text contains many blank spaces within it. Which of the following tags would be suitable to display the text as it was originally formatted?
Answer:- d. pre


Question:-  You are creating several web pages for a website that contain several rather large data tables, many of which are somewhat similar in the number of columns, rows, and in 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 requires the greatest total amount of code space for the entire website for formatting the various <td> table cells?
Answer:- a. External style sheet


Question:-  Which of the following attributes is/are related to the <img> tag?
Answer:- d. All of the above


Question:-  The following link is placed on an HTML webpage.
<a href=”http://msdn.com/” target=”_blank”> MSDN </a>
What do you infer from it?
Answer:- b. It will open the site msdn.com in a new window.


Question:-  Is the following code valid in HTML 4.01 Strict?
<ul><li><ol><li>A</li><li>B</li><ul><li>Item1</li><li>Item 2</li></ul><li>C</li></ol></li></ul>
Answer:- a. Perfectly valid.


Question:-  Which of the following is/are not correct for a <meta> tag in HTML 4.01?
Answer:- d. It is mandatory to specify its name or scheme attributes.


Question:-  The tag that is used to pass the parameters to an applet is:
Answer:- c. param


Question:-  Which of the following attributes is/are valid for a select tag contained within a form tag?
Answer:- d. All of the above


Question:-  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?
Answer:- b. 90


Question:-  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?
Answer:- a. optgroup


Question:-  Which of the following shows the basic tag structure of an HTML document?
Answer:- c. <html><head></head><body></body></html>


Question:-  You want to provide a form field to the users for writing lengthy comments on the quality of the services provided by you. Which of the following tags will you use?
Answer:- d. <input type=”text” maxlength=”100″/>


Question:-  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?
Answer:- b. coords=”150,190,150,110″


Question:-  What is meant by the cellspacing attribute?
Answer:- c. It specifies the space between two cells.


Question:-  Which of the following attributes comes in handy when borders have to be put between groups of columns instead of every column?
Answer:- b. colgroup


Question:-  A few lines in an HTML paragraph are to be formatted differently from the rest of the lines. Which tag will assist in this?
Answer:- b. p


Question:-  How will you specify a comment in an HTML document?
Answer:- c. <!– Here is a comment.. –>


Question:-  Which of the following is correct regarding the frame attribute in the <table> tag?
Answer:- a. It is used to add a frame to the table.
b. A hsides value for the frame attribute will show the border lines for horizontal sides only.
c. A hsides value for the frame attribute will not show the border lines for horizontal sides only.
d. A hsides value for the frame attribute will add a scrollable frame on the horizontal sides.


Question:-  What is meant by cellpadding?
Answer:- b. It specifies the space between the cell wall and the contents of the cell.


Question:-  Within a table cell <td>:
Answer:- e. All the above tags could be used.


Question:-  You want to display a table listing out customer names and their contact information. The heading of the table is shown in the figure. What is the code for creating the first line of the table heading?
Answer:-  d. <tr>
<th>Customer Name</th>
<th cellspacing=3>Contact</th>
</tr>


Question:-  What would you infer from the following code in an HTML 4.01 Web site? <body topmargin=2 leftmargin=2>
Answer:- a. The top margin and left margin of the webpage is 2 pixels.


Question:-  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?
Answer:- c. Both links will open in a new window.


Question:-  On one of your Web pages named Listing.html, you specified a target like this:
<a name=”target4″>Old Listing</a>

How will you make a link to the above target?
Answer:- b. <a href=”#target4″>Check Old Listing as well</a>


Question:-  Which attribute specifies the submit URL in a form tag?
Answer:- b. action


Question:-  The tag which is used to show monospaced text is:
Answer:- b. <th>

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.