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. It contains the authentication information about the users.

  2. It contains application specific information.

  3. It must be the first child element of the Envelope element.

  4. The immediate child elements of the header element must be namespace-qualified.

  5. It defines the data types used in the document.

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

Header element does not define any data types in the document. The encodingStyle Attribute is used for that.

Multiple choice
  1. It must be encoded using XML.

  2. The SOAP message must use the SOAP encoding namespace.

  3. The SOAP message must use the SOAP envelope namespace.

  4. The SOAP message must specify a DTD reference.

  5. The SOAP message must not contain the XML processing instructions.

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

This is incorrect as it is not necessary that the SOAP message must have a DTD reference.

Multiple choice
  1. It defines the MIME type for the message .

  2. It defines XML body of the request or response.

  3. It specifies the number of bytes in the body of the request or response.

  4. It defines protocol specification.

  5. Both (1) and (2)

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

These are correct statements about SOAP request.

Multiple choice
  1. database

  2. domain

  3. extension

  4. protocol

  5. None of these

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

It is a length of electrical cable, which allows the use of devices at some distance from a fixed socket.

Multiple choice
  1. node address field

  2. data field

  3. next address field

  4. none of these

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

Every linked list node must contain a 'next' address field (pointer) that points to the subsequent node or null if it's the last node. Without this field, nodes couldn't be linked together to form a list. Nodes typically also have a data field, but the next pointer is the essential requirement.

Multiple choice
  1. bdo

  2. kbd

  3. em

  4. None of these

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

The bdo (bidirectional override) tag is specifically designed to override the default text direction. It's essential for displaying languages like Arabic, Hebrew, or Persian that read from right to left (RTL). The dir attribute set to 'rtl' enables this behavior.

Multiple choice
  1. CSS

  2. Javascript

  3. HTML

  4. None of these

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

JavaScript is the primary client-side scripting language for creating dynamic, interactive web pages. Unlike HTML (structure) and CSS (presentation), JavaScript enables real-time updates, form validation, animations, and responsive user interactions without page reloads.

Multiple choice
  1. Structure Module

  2. Presentation Module

  3. Basic Module

  4. None of these

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

In XHTML modularization, the Structure Module defines the core document framework including html, head, title, and body elements. This modular approach allows browsers to parse and validate documents more efficiently by separating structure from presentation and other concerns.

Multiple choice
  1. <input checked>

  2. <input checked = “checked”>

  3. <input checked = “Ten”>

  4. None of these

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

XHTML requires all attributes to have explicit values, unlike HTML's minimalist syntax. The checked attribute must be written as checked="checked" (or checked='checked') to be valid XHTML, following XML's stricter well-formedness rules.