latest Post

Upwork/oDesk XHTML 1.0 test Answer (Part 3)

Q: What is the character entity representation of the ‘less than’ sign (its entity name is ‘<’) ?

ans: < *

Q: 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”?

ans: webmaster *

Q: 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?

ans: Optgroup *

Q: Which of the following is true for the “” tag?

ans: The class, id and title can be specified for it *

Q: How will you specify the language attribute in XHTML?

ans: Listing A *


Q: Which of the following is incorrect with regard to the tag?

ans: The text specified in the “value” is displayed in the drop-down list *

Q: Which of the following lines will be allowed by an XHTML parser?

ans:New Horizontal line*

Q: Which of the following is incorrect about the relation between HTML and XHTML?

ans:XHTML is a stricter and cleaner version of HTML *

Q: Which of the following is correct for an image?

ans:The height and width attributes allow resizing the image on the webpage *

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

ans: Strict, Transitional, and Frameset *

Q: Which of the following statements is correct with regard to DTDs?

ans: All of the above *

Q: Which of the following statements is correct for the
tag?

ans: The text under blockquote must be enclosed in a block level element in a strict DTD document *

Q: Which attributes of the tag is deprecated in HTML 4.01 and not supported in strict DTD XHTML?

ans: Align *
Q: 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:

ans: img, map, frame and applet tags *

Q: You have defined the following image in an XHTML document:

ans: The code will work properly in a browser that supports both HTML 4.x and XHTML *

Q: What do you understand by cellspacing?

ans: It specifies the space between the cell wall and the contents of the cell *

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

ans: None of the above *

Q: Which attribute specifies the submit URL in a form?

ans: Action *

Q: Which of the following is not correct for a tag?

ans: It is mandatory to specify the name or scheme attributes *

Q: What do you understand by the following line of code?

ans: xmlns specifies the URL to qualify the names used in the XHTML document *

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

ans: The readonly attribute in line 5 is not correctly coded *

Q: What will happen when you run this code in the browser?

ans: With a .xhtml extension, the page will be displayed with errors *

Q: On one of your web pages named “Listing.xhtml” you specified a target like this:

    Old Listing

ans: * Check Old Listing as well

Q: What is wrong with the above code?

ans: It will allow the user to choose only one option out of the four *

Q: Which of the following is true for the above code?

ans: Only the Yahoo link will open in a new window *

Q: Which of the following is correct regarding the frame attribute of the table tag?

ans: It is used to add a frame to the table *

Q: Which of the following is correct about the tag?

ans: None of the above*

Q: What do you understand by cellpadding?

ans: It specifies the space between the cell wall and the contents of the cell *

Q: 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?

ans: Your comments ….*

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

ans: Text should go in opposite direction*

Q: 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?

ans: . . . . . . Plan A     Monthly payment of $60

Q: Within a table cell “ ”:

ans: All the above tags can be used*


Q: 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?

ans: Mailer*


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

ans: *

About sandesh saini

sandesh saini
Recommended Posts × +

1 comments:

  1. Are you trying to make cash from your visitors by running popunder advertisments?
    In case you are, have you considered using Clickadu?

    ReplyDelete