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
-
Rule-HTML-Fragment
-
Rule-Obj-HTML
-
Rule-Obj-Fragment
-
Rule-HTML-Stream
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.
-
escape
-
asfunction
-
fscommand
-
MMExecute
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.
-
The server will not accept the request without a valid Content-Length header field.
-
A precondition specified in one or more Request-Header fields returned false.
-
The document/file requested by the client was not found.
-
The request first requires authentication with the proxy.
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.
-
The client failed to sent a request in the time allowed by the server.
-
The request was successful but the User-Agent should reset the document view that caused the request.
-
The requested response is at a different URI and should be accessed using a GET command at the given URI.
-
Reserved for future use.
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.
-
The requested response is at a different URI and should be accessed using a GET command at the given URI.
-
The method specified in the Request-Line is not allowed for the specified resource.
-
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.
-
The expectation given in the Expect request-header could not be fulfilled by the server.
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.
-
It is a system for classifying content
-
It is generic term for a piece of content on your web site
-
It is software (code) that extends Drupal features and/or functionality
-
It controls how your site is displayed
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.
-
template
-
page
-
module
-
theme
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.
-
Taxonomy
-
PHP filter
-
Throttle
-
Statistics
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.
-
Drupal is an open source CMS
-
Drupal supports only Apache platform
-
Drupal does not support creation of multi-lingual web sites
-
Drupal supports Web based administration
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.
-
clfy:menuitem, clarifyMenu.tld
-
clfy:menu , clarify.tld
-
clfy:menu, clarifyMenu.tld
-
Clfy:menu, clarify.tld
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'.
-
Hyper Text Markup Language
-
Home Tool Markup Language
-
Hyperlinks and Text Markup Language
-
Highlight and Text Markup Language
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.
-
<h6>
-
<head>
-
<h1>
-
<heading>
C
Correct answer
Explanation
HTML headings are numbered from h1 (largest) to h6 (smallest). The tag contains metadata not content. There is no tag in HTML. Therefore
is the correct tag for the largest heading.
-
<table><tr><td>
-
<table><head><tfoot>
-
<table><tr><tt>
-
<thead><body><tr>
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.
-
OrderRequestFormat.awl
-
OrderEncodeFormat.awl
-
OrderRequestEncode.awl
-
OrderEncodeFormat.awx
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.