Skip to main content

Posts

Showing posts with the label XHTML 1.0 test answer for Upwork 2015

Upwork/oDesk XHTML 1.0 test Answer (Part 4)

1. Which of the following is incorrect with regard to the <select> tag?   Answers:  • The text specified in the "value" is displayed in the drop-down list  2. You have defined the following image in an XHTML document:  <img src="/image/logo.gif" alt="" id="img1" />   Answers:  • The code will work properly in a browser that supports both HTML 4.x and XHTML  3. 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"?   Answers:  • <a href="mailto:webmaster@xcompany.com">webmaster</a>  4. What do you understand by cellspacing?   Answers:  • It specifies the space between two cells  5. Which of the following lines will be allowed by an XHTML parser?   Answers:  • New Horizontal line <hr />  6. What do you understand by the following line of code?  <html xmlns=...

Upwork/oDesk XHTML 1.0 test Answer (Part 2)

Question: 1.  What is the character entity representation of the ‘less than’ sign (its entity name is ‘&lt;’) ? a. 60;# b. < * c. &60#; d. #60&; Question: 2.   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: 3.  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: ...