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
-
A fault element
-
A body element
-
An envelope element
-
A header element
-
A default element
B
Correct answer
Explanation
The body element includes call and response information of the application.
-
It contains the authentication information about the users.
-
It contains application specific information.
-
It must be the first child element of the Envelope element.
-
The immediate child elements of the header element must be namespace-qualified.
-
It defines the data types used in the document.
E
Correct answer
Explanation
Header element does not define any data types in the document. The encodingStyle Attribute is used for that.
-
It must be encoded using XML.
-
The SOAP message must use the SOAP encoding namespace.
-
The SOAP message must use the SOAP envelope namespace.
-
The SOAP message must specify a DTD reference.
-
The SOAP message must not contain the XML processing instructions.
D
Correct answer
Explanation
This is incorrect as it is not necessary that the SOAP message must have a DTD reference.
-
It defines the MIME type for the message .
-
It defines XML body of the request or response.
-
It specifies the number of bytes in the body of the request or response.
-
It defines protocol specification.
-
Both (1) and (2)
E
Correct answer
Explanation
These are correct statements about SOAP request.
-
Message
-
Types
-
portType
-
Binding
-
endPoint
C
Correct answer
Explanation
This element contains a set of operations supported by one or more endpoints in the web service.
-
database
-
domain
-
extension
-
protocol
-
None of these
C
Correct answer
Explanation
It is a length of electrical cable, which allows the use of devices at some distance from a fixed socket.
-
XQuery
-
Quilt
-
XML-QL
-
XQL
-
Lorel
D
Correct answer
Explanation
It is generally used to find and sort elements and text in an Extensible Markup Language (XML) document.
-
Site routing
-
FTP service
-
WSDL
-
UDDI
-
XML
C
Correct answer
Explanation
InfoPath uses this standard when creating forms and data sources based on a web service.
-
node address field
-
data field
-
next address field
-
none of these
C
Correct answer
Explanation
Every linked list node must contain a 'next' address field (pointer) that points to the subsequent node or null if it's the last node. Without this field, nodes couldn't be linked together to form a list. Nodes typically also have a data field, but the next pointer is the essential requirement.
D
Correct answer
Explanation
RSS (Rich Site Summary) is a format for delivering regularly changing web content.
-
P
-
divp
-
Tree
-
None of these
A
Correct answer
Explanation
The bdo (bidirectional override) tag is specifically designed to override the default text direction. It's essential for displaying languages like Arabic, Hebrew, or Persian that read from right to left (RTL). The dir attribute set to 'rtl' enables this behavior.
-
CSS
-
Javascript
-
HTML
-
None of these
B
Correct answer
Explanation
JavaScript is the primary client-side scripting language for creating dynamic, interactive web pages. Unlike HTML (structure) and CSS (presentation), JavaScript enables real-time updates, form validation, animations, and responsive user interactions without page reloads.
-
Structure Module
-
Presentation Module
-
Basic Module
-
None of these
A
Correct answer
Explanation
In XHTML modularization, the Structure Module defines the core document framework including html, head, title, and body elements. This modular approach allows browsers to parse and validate documents more efficiently by separating structure from presentation and other concerns.
-
<input checked>
-
<input checked = “checked”>
-
<input checked = “Ten”>
-
None of these
B
Correct answer
Explanation
XHTML requires all attributes to have explicit values, unlike HTML's minimalist syntax. The checked attribute must be written as checked="checked" (or checked='checked') to be valid XHTML, following XML's stricter well-formedness rules.