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 technology
  1. Rule-HTML-Fragment

  2. Rule-Obj-HTML

  3. Rule-Obj-Fragment

  4. Rule-HTML-Stream

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

HTML Fragments in PRPC are created using the Rule-HTML-Fragment rule type, which allows developers to create reusable HTML components that can be embedded in other rules. This rule type specifically stores HTML markup that can be referenced and included dynamically in various parts of the application.

Multiple choice technology
  1. escape

  2. asfunction

  3. fscommand

  4. MMExecute

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

The 'asfunction' protocol is a special URL protocol used in HTML text fields within Flash/ActionScript. It allows an href link to call an ActionScript function directly. For example: 'asfunction:myFunction,param' would call the function myFunction with parameter param. This is the correct mechanism for calling ActionScript from HTML links.

Multiple choice technology web technology
  1. The server will not accept the request without a valid Content-Length header field.

  2. A precondition specified in one or more Request-Header fields returned false.

  3. The document/file requested by the client was not found.

  4. The request first requires authentication with the proxy.

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

HTTP 412 Precondition Failed status code indicates that one or more preconditions specified in request headers (such as If-Match, If-None-Match, If-Modified-Since, or If-Unmodified-Since) evaluated to false. The server is rejecting the request because the condition required for the request was not met.

Multiple choice technology web technology
  1. The client failed to sent a request in the time allowed by the server.

  2. The request was successful but the User-Agent should reset the document view that caused the request.

  3. The requested response is at a different URI and should be accessed using a GET command at the given URI.

  4. Reserved for future use.

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

HTTP 205 Reset Content tells the client to reset the document view (such as clearing form fields) after a successful request. This is commonly used after form submissions to indicate the request succeeded and the UI should be cleared for new input.

Multiple choice technology web technology
  1. The requested response is at a different URI and should be accessed using a GET command at the given URI.

  2. The method specified in the Request-Line is not allowed for the specified resource.

  3. Tells the client that the first part of the request has been received and that it should continue with the rest of the request or ignore if the request has been fulfilled.

  4. The expectation given in the Expect request-header could not be fulfilled by the server.

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

HTTP 100 Continue is an informational response code that tells the client the initial part of the request was received and the server is waiting for the remainder. It's used when the client sends an Expect: 100-continue header to check if the server will accept the request body.

Multiple choice technology web technology
  1. It is a system for classifying content

  2. It is generic term for a piece of content on your web site

  3. It is software (code) that extends Drupal features and/or functionality

  4. It controls how your site is displayed

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

In Drupal terminology, a 'node' is the generic term for any piece of content, regardless of its type. Pages, stories, blog posts, forum topics, and any custom content type are all nodes. Nodes share common properties like title, author, creation date, and can have taxonomy terms, comments, and custom fields attached. This abstraction allows Drupal to handle different content types uniformly.

Multiple choice technology web technology
  1. template

  2. page

  3. module

  4. theme

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

A theme in Drupal is a collection of files (PHP templates, CSS stylesheets, images, and an info file) that determine the website's visual appearance and layout. Themes control how content and modules are rendered to the user, separating presentation from logic. Modules provide functionality, templates are theme files, and 'page' is not a Drupal concept in this context.

Multiple choice technology web technology
  1. Taxonomy

  2. PHP filter

  3. Throttle

  4. Statistics

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

The Taxonomy module in Drupal provides a system for classifying, categorizing, and organizing content using hierarchical vocabularies and terms. It allows creating tags, categories, or classification systems that can be applied to any content type (node). This enables content organization and retrieval, such as blog post tags or product categories. PHP filter, Throttle, and Statistics serve unrelated purposes.

Multiple choice technology web technology
  1. Drupal is an open source CMS

  2. Drupal supports only Apache platform

  3. Drupal does not support creation of multi-lingual web sites

  4. Drupal supports Web based administration

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

Drupal is indeed an open-source content management system with a web-based administrative interface. It runs on multiple platforms including Apache, Nginx, and IIS, not just Apache. Drupal has robust multi-language support through its localization and internationalization features.

Multiple choice technology packaged enterprise solutions
  1. clfy:menuitem, clarifyMenu.tld

  2. clfy:menu , clarify.tld

  3. clfy:menu, clarifyMenu.tld

  4. Clfy:menu, clarify.tld

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

The ClfyMenu custom tag in Clarify JSPs uses the 'clfy:menu' tag syntax and is defined in the clarify.tld (Tag Library Descriptor) file. Options A and C incorrectly use 'clarifyMenu.tld' while D has incorrect capitalization 'Clfy:menu' instead of 'clfy:menu'.

Multiple choice technology web technology
  1. Hyper Text Markup Language

  2. Home Tool Markup Language

  3. Hyperlinks and Text Markup Language

  4. Highlight and Text Markup Language

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

HTML stands for Hyper Text Markup Language. It is the standard markup language for creating web pages. The other options are made up: Home Tool Markup Language, Hyperlinks and Text Markup Language, and Highlight and Text Markup Language are not real terms.

Multiple choice technology web technology
  1. <table><tr><td>

  2. <table><head><tfoot>

  3. <table><tr><tt>

  4. <thead><body><tr>

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

The core table tags in HTML are for the table, for table rows, and for table data cells. and exist but is for page metadata. is a deprecated text tag. Option A lists the fundamental table structure tags.

Multiple choice technology packaged enterprise solutions
  1. OrderRequestFormat.awl

  2. OrderEncodeFormat.awl

  3. OrderRequestEncode.awl

  4. OrderEncodeFormat.awx

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

This is Ariba platform-specific knowledge about cXML (Commerce XML) templates used for formatting orders. The correct template file in the default configuration is OrderRequestEncode.awl (Option C). The other options are variations with incorrect extensions or slightly different names.