Computer Knowledge

Markup and Web Languages

1,492 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. Access key

  2. Coord

  3. Tab index

  4. None of these

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

In HTML, the accesskey attribute defines a keyboard shortcut that allows users to quickly navigate to or activate an element. For example, accesskey="n" might allow users to focus an element by pressing Alt+N (or Command+N on Mac). This improves accessibility and usability.

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.