মঙ্গলবার, ১৯ মার্চ, ২০১৩

Odesk XHTML 1.0 TEST ANSWER 25.03.2013


*
Question: 15Which of the following statements is correct for thetag?a. The text under blockquote must be enclosed in a block level element in a strict DTD document *b. The attribute named “cite” must be specifiedc. Closing the tag is optionald. It doesn’t place an empty line after the textQuestion: 
16 A developer wrote this image tag: What code should follow this?a.*b.c.d.Question: 
17 Which attributes of thetag is deprecated in HTML 4.01 and not supported in strict DTD XHTML?a. Align *b. bgcolorc. cellspacingQuestion: 
18.Which of the following represents the basic tag structure of an XHTML document?a.b.c. *d.Question: 
19.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:a. img and applet tagsb. img and map tagsc. map and frame tagsd. img, map, frame and applet tags *e. frame, applet, style and map tagsQuestion: 
20.You have defined the following image in an XHTML document: a. The code will only work properly in a browser that supports XHTMLb. The code will work properly in a browser that supports both HTML 4.x and XHTML *c. The code will only work properly in a browser that supports HTML 4.xd. The code is incorrect, it will not work in any browserQuestion: 
21What do you understand by cellspacing?a. It makes the cell span more than one columnb. It specifies the space between the cell wall and the contents of the cell *c. It specifies the space between two cellsd. It makes the cell span more than one rowQuestion: 
22.Which of the following statements is true about the table header, body and footer tags?a. The table header, body and footer tags are , and respectivelyb. The table header, body and footer tags are , and respectivelyc. It is recommended to first specify the table header followed by the footer and then the body tagd. None of the above *Question: 
23Which attribute specifies the submit URL in a form?a. methodb. Action *c. named. id
Question: 24Which of the following is not correct for a tag?a. It is more useful if it is placed in a head elementb. It can be used to specify the keywords for the search enginesc. It can be used to redirect users to other URLsd. It is mandatory to specify the name or scheme attributes *Question: 
25What do you understand by the following line of code?a. xmlns specifies the URL to qualify the names used in the XHTML document *b. xmlns means html-xml number sequencec. Elimination of xmlns tag will result in the document not being validated by a w3.org validatord. The page will not be displayed properly if the URL is changed to “http://www.w3.org/1999/xhtml”Question: 26The following registration form was coded by a programmer in XHTML:1.2. Name:3.4. Registration Date:5.6. Account Type:7.8. Primary9. Secondary10.Which of the following options is true with regard to this XHTML document?a. The syntax of the input tag at line 3 is incorrectb. The readonly attribute in line 5 is not correctly coded *c. The syntax of the select tag is not correctd. Maxlength cannot be specified with text boxes
Question: 27Take a look at the following code:HTML AND XHMLDefining HTMLWhat will happen when you run this code in the browser?a. With a .html extension, the page will be displayed with errorsb. With a .html extension, the page will not be displayed at allc. With a .xhtml extension, the page will be displayed with errors *d. With a .xhtml extension, the page will not be displayed at all
Question: 28On one of your web pages named “Listing.xhtml” you specified a target like this:Old ListingHow will you make a link to the above target?a. Check Old Listing as wellb. * Check Old Listing as wellc. Check Old Listing as welld. Check Old Listing as well
Question: 29You 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:Female:Married:Single:What is wrong with the above code?a. It will allow the user to choose only the male and the married optionsb. It will allow the user to choose only the female and single optionsc. 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: 30You specified a base tag and anchors as follows:1.2. Yahoo3. GoogleWhich 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 windowc. Both links will open in a new windowd. Both links will open in the same window
Question: 31Which of the following is correct regarding the frame attribute of the table tag?a. It is used to add a frame to the table *b. A “hsides” frame attribute will show the border lines for horizontal sides of the table onlyc. A “hsides” frame attribute will not show the border lines for horizontal sides of the table onlyd. A “hsides” frame attribute will add a scrollable frame on the horizontal sides of the table
Question: 32Which of the following is correct about the tag?a. It is not considered to be mandatory as per the XHTML specificationb. It must have a closing tagc. It should come just after the tagd. Its declaration is not a part of the XHTML document itselfe. None of the above*
Question: 33What do you understand by cellpadding?a. It makes the cell span more than one columnb. It specifies the space between the cell wall and the contents of the cell *c. It specifies the space between two cellsd. It makes the cell span more than one row
Question: 34Your 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?a. *b.c.d.
Question: 35You 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?a. Your comments ….*b. Your comments ….c. Your comments ….d.
Question: 36Your browser supports bidirectional text. Which tag will you use if you need to display text from right to left?a. Text should go in opposite directionb.Text should go in opposite directionc. Text should go in opposite direction*d. Text should go in opposite direction
Question: 37While 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?a.

Question: 38
Within a table cell “ ”:
a.
tags can’t be used
b.
    tags can’t be used
    c.tags can’t be used
    d. tags can’t be used
    e. All the above tags can be used*
    Question: 39
    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?
    Question: 40
    How will you import a style sheet named “basic.css” in your web page?
    a.
    b. *
    c.
    d.

    1 টি মন্তব্য:

    Popular Posts

    অনুসরণকারী

    এই ব্লগটি সন্ধান করুন