ওডেস্ক XHTML 1.0 টেস্ট এর উত্তর, সেপেম্বের ২০১৪|| না পড়লে চরম মিস করবেন !!

আসসালামো আলাইকুম নেট সকল বন্ধুদের কে প্রথমেই জানাই আমার আন্তরিক ভালবাসা এবং প্রান ঢালা শুভেচ্ছা আশা করি আমার সব বন্ধুরা ভালই আছেন।

আজ নিয়ে এলাম ওডেস্ক এক্সএইচটিএমএল টেস্ট সেপেম্বের ২০১৪ এর আপডেট উত্তর । এই উত্তর দিয়ে আমার পাওয়া রেসাল্ট নিচের ছবিতে ।

oDesk XHTML 1.0 Test Answer 2014

1.A defines the document type of any XHTML document. It can be of three types:

  1. Strict, Transitional, and Frameset   (answer)
  2. Strict, Transitional and Loose
  3. Fixed, Intermediate and Loose
  4. Fixed, Intermediate, Frameset

2.What do you understand by cellspacing?

  1. It makes the cell span more than one column
  2. It specifies the space between the cell wall and the contents of the cell
  3. It specifies the space between two cells  (answer)
  4. It makes the cell span more than one ro

3.What do you understand by cellpadding?

  1. It makes the cell span more than one column
  2. It specifies the space between the cell wall and the contents of the cell  (answer)
  3. It specifies the space between two cells
  4. It makes the cell span more than one row

4.A developer wrote this image tag: <img src =”states.gif” width =”330″ height =”406″ alt=”States” usemap =”#statemap” /> What code should follow this?

  1. <map id=”statemap” name=”statemap”> <area shape=”rect” coords=”0,0,82,126″ href=”state1.htm” alt=”State1″ /> </map>  (answer)
  2. <map id=”statemap” name=”statemap”></map> <area shape=”rect” coords=”0,0,82,126″ href=”state1.htm” alt=”State1″ />
  3. <map id=”statemap” name=”statemap”> <imgarea shape=”rect” coords=”0,0,82,126″ href=”state1.htm” alt=”State1″ /></map>
  4. <map id=”statemap” name=”statemap”></map> <imgarea shape=”rect” coords=”0,0,82,126″ href=”state1.htm” alt=”State1″ />

5.How will you import a style sheet named “basic.css” in your web page?

  1. <import name=”stylesheet” url=”basic.css”>
  2. <link rel=”stylesheet” type=”text/css” href=”basic.css”/>  (answer)
  3. <style name=”stylesheet” url=”basic.css”>
  4. <link item=”stylesheet” type=”text/css” href=”basic.css”>

6.How will you specify a comment in an XHTML document?

  1. <!!– Here is a comment… –!>
  2. <– Here is a comment.. –>
  3. <!– Here is a comment.. –>  (answer)
  4. <! Here is a comment… –!>

7.How will you specify the language attribute in XHTML?

1.<div lang=”en” xml:lang=”en”>Listing A</div>  (answer)
2.<div language=”en”>Listing A</div>
3.<div language=”en” xhtml:lang=”en”>Listing A</div>
4.<div xml:language=”en”>Listing A</div>

8.On one of your web pages named “Listing.xhtml” you specified a target like this: <a name=”target4″>Old Listing</a> How will you make a link to the above target?

  1. <a url=”#target4″>Check Old Listing as well</a>
  2. <a href=”#target4″>Check Old Listing as well</a>  (answer)
  3. <link url=”target4″>Check Old Listing as well</link>
  4. <a href=”Listing.target4″>Check Old Listing as well</a>

9.Please choose the most appropriate option. One of the differences between XHTML and HTML 4.01 is that the “name” attribute has been replaced by the “id” attribute in:

  1. img and applet tag
  2. simg and map tags
  3. map and frame tags
  4. img, map, frame and applet tags  (answer)
  5. frame, applet, style and map tags

10.The following registration form was coded by a programmer in XHTML:
1. <!– Start of the Form Fields –>
2. Name:  
(answer)
3. <input type=”text” name=”name” maxlength=”50″ />  (answer)
4. Registration Date:
5. <input readonly type=”text” value=”javascript:getDate();” />
6. Account Type:
7. <select name=”Account”>
8. <option “selected” value=”Primary”>Primary</option>
9. <option value=”Secondary”>Secondary</option>
10. </select>

Which of the following options is true with regard to this XHTML document?

  1. The syntax of the input tag at line 3 is incorrect
  2. The readonly attribute in line 5 is not correctly coded (answer)
  3. The syntax of the select tag is not correct (answer)
  4. Maxlength cannot be specified with text boxes

11.What do you understand by the following line of code?
<html xmlns=”http://www.w3.org/TR/REC-xml-names”>

  1. xmlns specifies the URL to qualify the names used in the XHTML document  (answer)
  2. xmlns means html-xml number sequence
  3. Elimination of xmlns tag will result in the document not being validated by a w3.org validator
  4. The page will not be displayed properly if the URL is changed to “http://www.w3.org/1999/xhtml”

12.What is the numeric entity representation of the ‘less than’ sign (its entity name is ‘<‘) ?

  1. 60;#
  2. <  (answer)
  3. &60#;
  4. #60&;

13.Which attribute specifies the submit URL in a form?

  1. method
  2. action  (answer)
  3. name
  4. id

14.Which attributes of the <table> tag is deprecated in HTML 4.01 and not supported in strict DTD XHTML?

  1. align  (answer)
  2. bgcolor  (answer)
  3. cellspacing

15.Which of the following statements is correct for the <blockquote> tag?

  1. The text under blockquote must be enclosed in a block level element in a strict DTD document  (answer)
  2. The attribute named “cite” must be specified
  3. Closing the tag is optional
  4. It doesn’t place an empty line after the text

16.Which of the following is correct about the <!DOCTYPE …> tag?

  1. It is not considered to be mandatory as per the XHTML specification  (answer)
  2. It must have a closing tag
  3. It should come just after the <html> tag
  4. Its declaration is not a part of the XHTML document itself
  5. None of the above

17.Which of the following is correct for an image?

  1. An image must be resized in an editor to fit in the specified space on a webpage
  2. If you have a big image but specify smaller height and width attributes in the <img> tag, only the top left portion of the image will be displayed in the browser
  3. Both a and b are correct
  4. The height and width attributes allow resizing the image on the webpage  (answer)

18.Which of the following is correct regarding the frame attribute of the table tag?

  1. It is used to add a frame to the table
  2. A “hsides” frame attribute will show the border lines for horizontal sides of the table only  (answer)
  3. A “hsides” frame attribute will not show the border lines for horizontal sides of the table only
  4. A “hsides” frame attribute will add a scrollable frame on the horizontal sides of the table

19.Which of the following is incorrect about the relation between HTML and XHTML?

  1. XHTML is a stricter and cleaner version of HTML
  2. XHTML is almost identical to HTML 4.01
  3. XHTML and HTML both are used to generate dynamic content  (answer)
  4. XHTML brings together the elements of HTML and the syntax of XML

20.Which of the following is incorrect with regard to the <select> tag?

  1. The “name” should be specified
  2. The “disabled” attribute disables the drop-down list
  3. The “multiple” attribute allows the user to choose multiple options
  4. The text specified in the “value” is displayed in the drop-down list  (answer)
  5. None of the above

21.Which of the following is not correct for a <meta> tag?

  1. It is more useful if it is placed in a head element  (answer)
  2. It can be used to specify the keywords for the search engines
  3. It can be used to redirect users to other URLs
  4. It is mandatory to specify the name or scheme attributes

22.Which of the following is true for the “<param>” tag?

  1. It doesn’t need a closing tag  (answer)
  2. The language attribute cannot be specified with it
  3. The name and type attributes are optional
  4. The class, id and title can be specified for it

23.Which of the following lines will be allowed by an XHTML parser?

  1. <p>This is the starting of a new paragraph
  2. <P>This is the starting of a new paragraph
  3. <P>Here is a break statement <br></br>
  4. New Horizontal line <hr />  (answer)

24.Which of the following represents the basic tag structure of an XHTML document?

  1. <html><head><body></body></html>
  2. <html><body></body></html>
  3. <html><head></head><body></body></html>  (answer)
  4. <html><head></head></html>

25.Which of the following statements is correct with regard to DTDs?\

  1. A strict DTD allows the user to use cascading style sheets
  2. A transitional DTD displays content in those browsers which don’t support CSS
  3. A frameset DTD is used to partition the browser window  (answer)
  4. All of the above

26.Which of the following statements is true about the table header, body and footer tags?

  1. The table header, body and footer tags are <tablehead>, <tablebody> and <tablefoot> respectively
  2. The table header, body and footer tags are <tabhead>, <tabbody> and <tabfoot> respectively
  3. It is recommended to first specify the table header followed by the footer and then the body tag
  4. None of the above  (answer)

27.Which of these tags will create a single space character?

  1. <td>
  2. <th>
  3. &nbsp;  (answer)
  4. <b>

28.While designing the links page of your website, you want the link to open in a new window. How will you implement this with XHTML using Transitional doc type?

  1. <anchor href=”http://www.mailer.com”>Mailer</anchor>
  2. <anchor href=http://www.mailer.com target=_blank>Mailer</anchor>
  3. <A HREF=”http://www.mailer.com”>Mailer</A>
  4. <a href=”http://www.mailer.com” target=”_blank”>Mailer</a>  (answer)

29.While writing a strict DTD XHTML document, you want to create a table having 2 columns, both left aligned. What technique will you choose to do this?

  1. <table align=”left” border=”1″> <tr><td>Plan A </td> <td align=”left”>Monthly payment of $60</td> </tr> . . . . . . </table>  (answer)
  2. <table border=”1″> <tr><td align=”left”>Plan A</td> <td align=”left”>Monthly payment of $60</td> </tr> . . . . . . </table>
  3. <table align=”left” border=”1″> <tr><td align=”left”>Plan A</td> <td align=”left”>Monthly payment of $60</td> </tr> . . . . . . </table>
  4. <table border=”1″> <tr><td align=”left”>Plan A</td> <td>Monthly payment of $60</td> </tr> . . . . . . </table>

30.Within a table cell “<td>”:

  1. <p></p> tags can’t be used
  2. <ol></ol> tags can’t be used
  3. <table></table> tags can’t be used
  4. <form></form> tags can’t be used
  5. All the above tags can be used  (answer)

31.You are developing a website. In one of the subscription forms, you need to get the subscription start date from the user. The HTML code is as follows: Day <input type=”text” size=”3″ /> Month <input type=”text” size=”10″ /> Year <input type=”text” size=”4″ /> Which of the following will you use if you want to put these 3 text fields together in a box?

  1. <legend>
  2. <box>
  3. <fieldset>  (answer)
  4. <area>

32.You have defined the following image in an XHTML document: <img src=”/image/logo.gif” alt=”” id=”img1″ />

  1. The code will only work properly in a browser that supports XHTML
  2. The code will work properly in a browser that supports both HTML 4.x and XHTML  (answer)
  3. The code will only work properly in a browser that supports HTML 4.x
  4. The code is incorrect, it will not work in any browser

33.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?

  1. optgroup  (answer)
  2. option
  3. menu
  4. var

34.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=”checked” name=”chk” value=”male” /> Female: <input type=”radio” name=”chk” value=”female” /> Married: <input type=”radio” checked=”checked” name=”chk” value=”married” /> Single: <input type=”radio” name=”chk” value=”single” /> What is wrong with the above code?

  1. It will allow the user to choose only the male and the married options
  2. It will allow the user to choose only the female and single options
  3. It will allow the user to choose only one option out of the four  (answer)
  4. It will allow the user to choose all the four options at the same time

35.You specified a base tag and anchors as follows: 1. <base target=”_blank”></base> 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?

  1. Only the Yahoo link will open in a new window  (answer)
  2. Only the Google link will open in a new window
  3. Both links will open in a new window
  4. Both links will open in the same window

36.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 “[email protected]”?

  1. <a href=”mailto:[email protected]”>webmaster</a>  (answer)
  2. <a href=”[email protected]”>webmaster</a>
  3. <a http=”mail:[email protected]”>webmaster</a>
  4. <mail http=”send:[email protected]”>webmaster</mail>
  5. <a href=”mailto://[email protected]”>webmaster</a>

37.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?

  1. <tr><th>Customer Name</th> <th rowspan=”3″>Contact</th> </tr>
  2. <tr><th>Customer Name</th> <th colspan=”3″>Contact</th> </tr>  (answer)
  3. <tr><th>Customer Name</th> <th cellpadding=”3″>Contact</th> </tr>
  4. <tr><th>Customer Name</th> <thcellspacing=3>Contact</th> </tr>

38.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?

  1. <textarea rows=”8″ cols=”20″> Your comments ….</textarea>  (answer)
  2. <textarea row=”8″ col=”20″> Your comments ….</textarea>
  3. <textarea rowcount=”8″ colcount=”20″> Your comments ….</textarea>
  4. <input type=”text” maxlength=”100″ />

39.Your browser supports bidirectional text. Which tag will you use if you need to display text from right to left?

  1. <opposite>Text should go in opposite direction</opposite>
  2. <p direction=”rtl”>Text should go in opposite direction</p>
  3. <bdo dir=”rtl”>Text should go in opposite direction</bdo> (answer)
  4. <text dir=”rtl”>Text should go in opposite direction</text>

40.Your website has moved to some other address. How will you automatically redirect a user to that address within 3 seconds of landing on the old address?

  1. <meta http-equiv=”refresh” content=”3; url=http://www.newurl.com”/> (answer)
  2. <meta http=”refresh” url=”www.newurl.com”//>
  3. <meta scheme=”refresh” name=”redirect” http=”www.newurl.com”//>
  4. <meta http-equiv=”redirect” content=”3″ http=”www.newurl.com”/>

আর কার সমস্যা হলে Comments করে জানা বেন আমি চেষ্টা করব আপনাদের কে সাহায্য করার :)

টিউনটি আগে এখানে প্রকাশিত। ভালো লাগলে  ব্লগ সাইট - freelancer tunes এও এক্টিভ থাকার জন্য অনুরোধ করছি।

Level 0

আমি Sumon Web expert। বিশ্বের সর্ববৃহৎ বিজ্ঞান ও প্রযুক্তির সৌশল নেটওয়ার্ক - টেকটিউনস এ আমি 10 বছর 1 মাস যাবৎ যুক্ত আছি। টেকটিউনস আমি এ পর্যন্ত 7 টি টিউন ও 14 টি টিউমেন্ট করেছি। টেকটিউনসে আমার 0 ফলোয়ার আছে এবং আমি টেকটিউনসে 0 টিউনারকে ফলো করি।


টিউনস


আরও টিউনস


টিউনারের আরও টিউনস


টিউমেন্টস