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
Correct answer
Explanation
XML is the core data format used in SOAP-based web services testing. SOAP (Simple Object Access Protocol) messages are XML documents that structure data in a hierarchical format. Oracle is a database, CTI is telephony integration, and MW stands for middleware (generic term) - none of these are data formats used in SOAP testing. XML is the standard for all SOAP communications.
-
Ambiguous branches and to check the syntax.
-
Ambiguous branches, Cascading phrases,normalization errors and to check the syntax.
-
Cascading phrases and normalization errors only.
-
Normalization errors only.
C
Correct answer
Explanation
Microsoft SRGS (Speech Recognition Grammar Specification) validation tool checks for cascading phrases (where one rule contains another) and normalization errors (grammar format issues). Option B adds ambiguous branches which are typically checked by different tools.
-
VoiceXML 3.0 is the current release we are using.
-
VoiceXML has a scope of DTMF input as well as Voice inputs
-
VoiceXML is a dynamic one.
-
Voice Browser is a component of VoiceXML
A
Correct answer
Explanation
VoiceXML 2.0 and 2.1 are the industry-standard, widely adopted versions for developing voice applications. VoiceXML 3.0 was never fully adopted as the mainstream active release, making the statement that it is currently used false, while the other statements are true.
-
Voice Browsers
-
Voice Interpreter
-
Microsoft SRGS validation tools
-
Voice mails.
A
Correct answer
Explanation
VoiceXML documents are interpreted by Voice Browsers, similar to how web browsers interpret HTML. Voice Browsers execute VoiceXML applications, handle speech recognition/playback, and manage telephony resources. A Voice Interpreter is not a standard term in this context, and voicemail systems are different applications entirely.
-
Example Markup Language
-
X-Markup Language
-
eXtra Modern Link
-
eXtensible Markup Language
D
Correct answer
Explanation
XML stands for eXtensible Markup Language, which is designed to store and transport data while allowing users to define their own custom tags. The other options are incorrect distractors that do not match the official name of the XML standard defined by the W3C.
-
XML uses a DTD to describe the data
-
XML uses a description node to describe data
-
XML uses XSL to describe data
-
XML uses a DND to describe the data
A
Correct answer
Explanation
XML uses Document Type Definition (DTD) to describe the structure and content of XML data, defining valid elements, attributes, and their relationships. This makes option A correct. XSL is for transformation, not description. Options B and D contain terminology that doesn't exist in XML standards.
B
Correct answer
Explanation
XML and HTML serve different purposes. HTML is for displaying web pages in browsers with fixed presentation tags, while XML is for structured data storage and transport with customizable tags. XML was designed to complement HTML, not replace it. They are complementary technologies - HTML for display, XML for data. The statement is false because XML never aimed to replace HTML's presentation role.
-
<?xml version="1.0" />
-
<xml version="1.0" />
-
<?xml version="1.0"?>
-
<?xml version="1.0"? />
C
Correct answer
Explanation
The XML declaration is a processing instruction that defines version and encoding, which begins with ``. It must not contain a forward slash before the closing tag, making the selected syntax correct while the other choices are invalid.
B
Correct answer
Explanation
XML elements can be empty, containing no content or nested elements. Empty elements can be represented using a start tag followed immediately by an end tag, or using the self-closing shorthand notation. Therefore, the statement claiming that XML elements cannot be empty is false.
-
eXtensible Style Listing
-
eXtensible Stylesheet Language
-
eXtra Style Language
-
eXpandable Style Language
B
Correct answer
Explanation
XSL stands for eXtensible Stylesheet Language, which is used for transforming and presenting XML documents. This makes option B correct. Options A, C, and D propose incorrect expansions that don't represent the actual meaning of XSL in web technologies and XML processing.
A
Correct answer
Explanation
XML syntax rules strictly require all attribute values to be enclosed in either single or double quotes. Unlike HTML, omitting these quotation marks violates the well-formedness rules of the language, which causes XML parsers to fail and report syntax errors when reading the document.
-
All XML documents must have a DTD
-
All XML elements must be properly closed
-
All XML elements must be lower case
-
All XML elements must be uppercase
B
Correct answer
Explanation
Well-formed XML requires that every opening tag has a matching closing tag. A DTD is optional and not mandatory for all XML documents. XML tag names are case-sensitive but can be defined in either uppercase or lowercase, meaning there is no requirement forcing them to use only one specific casing.
-
XML elements must be properly nested
-
XML tags are case sensitive
-
XML documents must have a root tag
-
All the statements are true
D
Correct answer
Explanation
XML elements must be properly nested to avoid overlapping tags, and tags are case-sensitive. Additionally, every well-formed XML document requires exactly one root element enclosing all other elements. Because all three of these requirements are standard XML rules, the choice stating that all statements are true is correct.
-
Hyper Text Markup Language
-
Hyperlinks and Text Markup Language
-
Home Tool Markup Language
-
Hyper Terminal Mode Language
A
Correct answer
Explanation
HTML stands for Hyper Text Markup Language, which is the standard markup language for creating web pages. This makes option A correct. Options B, C, and D propose incorrect expansions that don't represent the actual meaning of HTML in web development and markup languages.
-
<heading>
-
<h1>
-
<head>
-
<h6>
B
Correct answer
Explanation
HTML headings use tags from
to , where represents the largest and most important heading on a page. The tag does not exist in HTML. The tag contains metadata, not visible content. is actually the smallest heading level.