• Courses
  • Tutorials
  • Jobs
  • Practice
  • Contests

HTML and XML

Question 11

HELO and PORT, respectively, are commands from the protocols  
  • FTP and HTTP
  • TELNET and POP3
  • HTTP and TELNET
  • SMTP and FTP

Question 12

Consider the XML document fragment given below:
2007_20
Consider the XPath expression: *[not (self ) : : TOC]
What would be the result of the given XPath expression when the current node is Book?
  • The Title and Content elements
  • The Content and TOC elements
  • The Title and TOC elements
  • The Title, Content and TOC elements

Question 13

Consider the XML document fragment given below:

With reference to the HTML lines given above, consider the following statements.
1. Clicking on the point <80, 75> does not have any effect.
2. The web browser can identify the area applicable to the mouse-click within the image and the subsequent action to be taken without additional responses from the web server.
3. The dots in the cgi-bin URL will be resolved by the web browser before it is sent to the web server
4. The "fd.html" request when sent to the web server will result in a GET request.
Exactly how many of the statements given above are correct?
  • 0
  • 1
  • 2
  • 3

Question 14

Which of the following is TRUE only of XML but NOT HTML?
  • It is derived from SGML
  • It describes content and layout
  • It allows user defined tags
  • It is restricted only to be used with web browsers

Question 15

Consider the following HTML table definition: 1 The above HTML code would render on screen as: 2
  • (1)
  • (2)
  • (3)
  • (4)

Question 16

Which of the following statements is/are TRUE ? (a) In HTML, character entities are used to incorporate external content into a web page, such as images. (b) Once a web server returns a cookie to a browser, the cookie will be included in all future requests from the browser to the same server.
  • Only (a) is TRUE.
  • Only (b) is TRUE.
  • Both (a) and (b) are TRUE.
  • Neither (a) nor (b) is TRUE.

Question 17

XPath is used to navigate through elements and attributes in
  • XSL document
  • XML document
  • XHTML document
  • XQuery document

Question 18

Choose the most appropriate HTML tag in the following to create a numbered lists.
  • < dl >
  • < ul >
  • < li >
  • < ol >

Question 19

Which of the following HTML code will affect the vertical alignment of the table content?42
  • (1)
  • (2)
  • (3)
  • (4)

Question 20

What can you say about the following statements ? I. XML tags are case-insensitive. II. In JavaScript, identifier names are case-sensitive. III.Cascading Style Sheets (CSS) cannot be used with XML. IV. All well-formed XML documents must contain a document type definition.
  • only I and II are false.
  • only III and IV are false.
  • only I and III are false.
  • All are incorrect.

There are 33 questions to complete.

Last Updated :
Take a part in the ongoing discussion