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
-
<script>
-
<optgroup>
-
<samp>
-
C
Correct answer
Explanation
The tag is specifically designed to display sample output from computer programs or scripts in a monospace font, distinguishing it from normal text. contains code, <optgroup> groups options, and <sup> creates superscript text - none represent program output.
-
Defines a menu list
-
Defines metadata about an HTML document
-
Defines an embedded object
-
Defines an image.
A,C,D
Correct answer
Explanation
HTML defines headings from
through - all of these are valid. does not exist in HTML. Therefore h3, h5, and h6 are correct heading tags while h7 is invalid.
B,C
Correct answer
Explanation
The question asks for tags defining 'scripted text', which is a common typographical typo in older HTML quizzes referring to 'subscript' (<sub>) and 'superscript' (<sup>) tags. The `tag defines client-side scripts, and<strike>` defines strikethrough text.
-
Defines a caption for a fieldset element
-
Defines a label for an input element
-
Defines an input control
-
Defines a searchable index related to a document
A
Correct answer
Explanation
The tag specifically provides a caption or title for a element, grouping related form controls. is for individual inputs, creates controls, and no tag defines a searchable index by default.
C
Correct answer
Explanation
In definition lists,
(definition description) provides the description or explanation for a term. defines the term itself, is the list container, and is a generic block-level element.
C
Correct answer
Explanation
In definition lists,
(definition description) provides the description or explanation for a term. defines the term itself, is the list container, and is a generic block-level element. NOTE: This is an exact duplicate of question 145831.
-
Structure
-
Metadata
-
Article
-
XML document
B
Correct answer
Explanation
Metadata is data about data - it describes properties of content without being the content itself. Examples include author, creation date, file size, content type, etc. Structure refers to organization format, Article is content type, and XML document is a file format.
-
Content page
-
Content repository
-
Content structure
-
Content history
B
Correct answer
Explanation
WebLogic's content management system stores content in a content repository, which is the designated storage layer. Content page is where content is displayed, content structure refers to organization schema, and content history tracks versioning.
-
a. Rule-HTML-Harness
-
b. Rule-Harness-HTML
-
c. Rule-Obj-HTML
-
d. Rule-HTML
A
Correct answer
Explanation
In Pega PRPC, harness rules are formally named Rule-HTML-Harness. Harnesses define the UI layout and structure for work object forms and other screens. The naming convention follows the pattern Rule-HTML-Harness where HTML indicates it's a markup-based rule and Harness specifies its purpose.
-
name
-
entity-name
-
node
-
schema
B
Correct answer
Explanation
When default_entity_mode is set to 'dynamic-map', the entity-name attribute must be defined instead of name. This is because dynamic-map mode uses entity names as keys in maps rather than class names.
-
batch size for fetching instances
-
batch size for fetching instances by identifier
-
both
-
none
B
Correct answer
Explanation
The batch-size attribute specifies the batch size for fetching instances by identifier. This allows Hibernate to load multiple instances in a single batch when retrieving them by ID, improving performance.
A
Correct answer
Explanation
AR System macros are designed for the Windows/Java thick client only and cannot execute in the web client environment. The web client lacks the macro execution engine that the thick client provides.
B
Correct answer
Explanation
XML does not replace HTML. XML is designed to describe and carry structured data, focusing on what the data is, whereas HTML is designed to format and display documents, focusing on how information looks. They are complementary technologies with entirely different purposes and applications.