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 technology architecture
  1. Append the contents of the Text file.

  2. Append the contents of the XML File.

  3. Data will be processed asynchronously.

  4. Data will be process Synchronously.

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

The third parameter in xmlhttp.open() is a boolean that determines whether the request is asynchronous (true) or synchronous (false). When true, the request executes asynchronously and doesn't block the browser. When false, it runs synchronously and freezes the UI until complete. Asynchronous (true) is the recommended approach.

Multiple choice technology
  1. it is a main document

  2. it is linked to a main document of type Document

  3. it adds a third level to the document hierarchy

  4. All the above

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

A Response form type creates a document that is linked to a main Document. This establishes a hierarchical relationship where the response document depends on and references a primary document. Response documents do not exist as standalone main documents - they are always child documents in the document hierarchy.

Multiple choice technology
  1. it is a main document

  2. it is linked to a main document of type Document

  3. it adds a third level to the document hierarchy

  4. All the above

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

A Response to Response form extends the document hierarchy to a third level. While a Response is linked to a main Document (second level), a Response to Response is linked to another Response document, creating three levels: Document → Response → Response to Response. This creates nested response relationships.

Multiple choice technology web technology
  1. Associate different business logic for mobile devices

  2. Associate different master page for mobile devices

  3. Associate different style sheet for different screensizes of mobile devices

  4. Find out the multimedia and image formats supported by a given mobile device

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

CSS3 Media Queries allow applying different styles based on device characteristics like screen size, orientation, and resolution. They are the core of responsive web design. Media queries do NOT handle business logic (A), master pages (B), or device capability detection (D) - those are server-side or JavaScript concerns.

Multiple choice technology web technology
  1. XHTML

  2. CSS 2.1

  3. CSS MP

  4. HTML 4.0

  5. None of above

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

XHTML, CSS 2.1, and HTML 4.0 are all established W3C standards. CSS MP is not a standard W3C specification - it appears to be a fictional or non-standard option in this list. W3C has developed various CSS modules (CSS3, etc.) but 'CSS MP' is not one of them, making it the correct answer for 'not a W3C Standard'.

Multiple choice technology web technology
  1. HTML 3.2

  2. HTML 4.0

  3. WML

  4. All of above

  5. None of above

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

WAP (Wireless Application Protocol) 1.x used WML (Wireless Markup Language) as its markup language. With WAP 2.0, the specification moved away from WML and adopted XHTML-MP (XHTML Mobile Profile), which brought mobile web closer to standard web technologies. Therefore, WML was deprecated in favor of XHTML-MP.

Multiple choice technology web technology
  1. eXtended HTML – MobiReady Profile

  2. eXtended HTML – Mobile Phone

  3. eXtended HTML – Mobile Profile

  4. None of above

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

XHTML-MP stands for XHTML Mobile Profile. It is a subset of XHTML designed specifically for mobile devices, omitting features that are resource-intensive or unnecessary on mobile platforms. The 'MP' suffix specifically denotes 'Mobile Profile', which is the correct expansion.

Multiple choice technology web technology
  1. True

  2. False

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

DTD stands for Document Type Definition, not Document Type Design. A DTD defines the structure, legal elements, and attributes of an XML document, acting as a blueprint that validates whether an XML file follows the correct format.

Multiple choice technology web technology
  1. True

  2. False

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

JSON stands for JavaScript Object Notation, not JavaScript Object Name. It's a lightweight, text-based data interchange format inspired by JavaScript object syntax but now language-independent, widely used for APIs and configuration files.

Multiple choice technology web technology
  1. True

  2. False

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

RDF (Resource Description Framework) is a standard model for data interchange on the Web, representing information as subject-predicate-object triples. It's foundational to the Semantic Web, enabling machines to understand and process data relationships.