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
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.
-
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 is designed for storing and transporting structured data, while HTML is designed for displaying data on web pages. XML does not replace HTML; rather, they serve different primary purposes and often complement each other. Thus, the statement is false.
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.
B
Correct answer
Explanation
XML and HTML serve different purposes and are complementary technologies. XML is for structured data storage and transport, while HTML is for marking up web page content. They can work together (for example, XHTML uses XML syntax to reformulate HTML), but XML was never designed to replace HTML.
A
Correct answer
Explanation
Documentum allows adding custom attributes to objects without modifying their type definition. These attributes are stored as name-value pairs on the object instance and do not require schema changes. This flexibility enables object-specific metadata while maintaining type integrity.
-
Client machine
-
Server
-
Either 1 or 2
-
Neither 1 nor 2
C
Correct answer
Explanation
ASP.NET validator controls can run either on the client (using JavaScript) or on the server. The 'runat=server' attribute makes the control server-side, but many validators including RangeValidator can also generate client-side validation script. The behavior depends on settings like EnableClientScript.
-
Form Validation
-
RGB Colors
-
Browser Detection
-
RGB Value
-
Equals sign
-
Name It
-
CSS
-
HTML
A
Correct answer
Explanation
JavaScript uses the equals sign (=) for variable assignment. For example: 'var x = 5;' assigns the value 5 to variable x. This is the standard assignment operator across programming languages.
-
<scripting>
-
<javascript>
-
<js>
-
<script>
D
Correct answer
Explanation
JavaScript code is embedded in HTML using the element. This can be placed in either the head or body section. The <scripting>, <javascript>, and <js> tags are not valid HTML elements for JavaScript.
-
Hello World"
-
document.write("Hello World")
-
response.write("Hello World")
-
("Hello World")
B
Correct answer
Explanation
document.write() is the correct JavaScript method to output text content to the HTML document. Option A is incomplete with a syntax error (missing opening quote), Option C uses ASP syntax (response.write), and Option D is just a string in parentheses without any command.