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
-
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.
D
Correct answer
Explanation
RSS (Rich Site Summary) is a format for delivering regularly changing web content.
-
for handheld devices
-
for speech synthesizers
-
for computer screens
-
none of these
-
P
-
divp
-
Tree
-
None of these
-
Access key
-
Coord
-
Tab index
-
None of these
A
Correct answer
Explanation
In HTML, the accesskey attribute defines a keyboard shortcut that allows users to quickly navigate to or activate an element. For example, accesskey="n" might allow users to focus an element by pressing Alt+N (or Command+N on Mac). This improves accessibility and usability.
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.