Computer Knowledge

Markup and Web Languages

1,701 Questions

Test your understanding of HTML tags, XML structures, and web page creation technologies. The questions cover elements like CSS styling, parsing documents, and defining web attributes. This section is essential for candidates appearing for computer proficiency tests in various competitive exams.

HTML tags and attributesXML document parsingCSS styling levelsWeb page creation basicsBrowser compatibility

Markup and Web Languages Questions

Multiple choice
  1. Only 1, 2, 5

  2. Only 2, 3, 5

  3. 1,3

  4. Only 1, 3, 4

  5. Only 2, 4, 5

Reveal answer Fill a bubble to check yourself
E Correct answer
Explanation

Since, XML is also a markup language like HTML and here, the user has to define his own tags. Also, it is designed to be self-descriptive, which means the statements 2, 4 and 5 are correct. So, this option is correct.

Multiple choice
  1. XML - a common language for describing RMC

  2. XML - a common language for describing web services

  3. XML - a common language for describing web service directories

  4. All of the above

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The key innovation in web services is the widespread adoption of XML as a common, platform-independent language for describing various aspects of web services: remote procedure calls, the services themselves, and service directories. This XML-based approach enables universal interoperability.

Multiple choice
  1. XML and SOAP

  2. XML and HTTP

  3. WSDL and UDDI

  4. eb-XML and WSDL

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Web services fundamentally combine XML for structured data representation with HTTP as the underlying transport protocol. While SOAP is commonly used with XML and HTTP, the core combination that makes web services work is XML (for message formatting) and HTTP (for message transport).

Multiple choice
  1. name, height, width

  2. code, name

  3. codebase, height, width

  4. code, height, width

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The HTML tag requires the 'code' attribute (specifying the main class file), and 'height' and 'width' attributes to define the display area. The 'codebase' attribute is optional and specifies where to find the class files - it defaults to the current directory if omitted.

Multiple choice
  1. XML and UDDI respectively

  2. XML and SOAP respectively

  3. HTML and HTTP respectively

  4. HTML and SOAP respectively

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

XML is the standard format for encoding and decoding data in web services, providing a structured way to represent information. SOAP (Simple Object Access Protocol) is the protocol used to transport this XML data between applications over networks. Together, they form the core of web service communication.

Multiple choice
  1. Structural markup

  2. Stylish markup

  3. Semantic markup

  4. Table element

  5. Image element

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

This markup element in markup language tells us something about the content of the document and has been written to define the context of the content enclosed in the markup.