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
B
Correct answer
Explanation
XML stands for eXtensible Markup Language, not 'eXtensible Modeling Language'. The statement incorrectly substitutes 'Modeling' for 'Markup', so it's false.
B
Correct answer
Explanation
Every well-formed XML document MUST have exactly one root element that contains all other elements. This is a fundamental requirement of XML structure.
B
Correct answer
Explanation
This XML has two errors: (1) the opening tag doesn't match the closing tag (XML is case-sensitive), and (2) it's not a complete document - missing root element and XML declaration.
B
Correct answer
Explanation
XML element names cannot contain the $ character. Valid names can only contain letters, digits, underscores, hyphens, and periods, but must start with a letter or underscore. The $ makes this invalid.
-
FieldValidator
-
RegularExpressionValidator
-
RangeValidator
-
PatternValidator
B
Correct answer
Explanation
The RegularExpressionValidator control is specifically designed for pattern matching validation in ASP.NET. It validates input against a regular expression pattern, making it the right choice for pattern matching requirements.
A
Correct answer
Explanation
ASP.NET web controls fully support CSS styling. Developers can apply CSS classes, inline styles, or use the control's style properties to customize appearance. Web controls render as standard HTML elements that can be styled using CSS like any other HTML element. This integration allows for consistent styling across web applications.
-
an XML file
-
a Web Page
-
an excel template
-
a text file
C
Correct answer
Explanation
The .xlt extension is used for Excel template files in Microsoft Excel. When you save a workbook as a template, Excel uses the .xlt extension (in older versions) or .xltx (in newer Excel 2007+ formats). Templates preserve formatting and structure for reuse.
B
Correct answer
Explanation
SOAP uses XML as its message format. SOAP envelopes are XML documents that contain the message data. HTML and DHTML are for web pages, CSS is for styling, and none of these are the message format for SOAP.
-
HyperText Markup Language
-
HyperText Marked Language
-
HyperTagged Markup Language
-
HyperText Markup land
A
Correct answer
Explanation
HTML stands for HyperText Markup Language. It is the standard markup language for creating web pages and web applications, defining the structure and layout of a document.
A
Correct answer
Explanation
XML-RPC is a simpler, lightweight protocol that uses XML over HTTP to make remote procedure calls, making it much easier to implement and use compared to the complex SOAP protocol.
-
XQuery
-
Xpath
-
XSLT
-
XML Schema
B
Correct answer
Explanation
XPath (XML Path Language) is a query language designed specifically for navigating through elements and attributes in an XML document.