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

Multiple choice technology programming languages
  1. be self-descriptive

  2. disply only useful data

  3. carrying request

  4. giving response.

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

XML Schema is designed to be self-descriptive, providing a way to define the structure, content, and data types of XML documents. Unlike DTDs, XML Schema is itself written in XML and allows for complex type definitions and constraints.

Multiple choice technology programming languages
  1. an XHTML Schema to describe the data

  2. an XPath to describe the data

  3. an XML Schema to describe the data

  4. an XQuerya to describe the data

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

XML Schema is the standard W3C recommendation for describing and validating XML document structure. It defines elements, attributes, and data types, replacing the older DTD approach with more powerful validation capabilities.

Multiple choice technology programming languages
  1. HTML.

  2. WAP and WML

  3. XSL

  4. XSLT

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

XML serves as the foundation for many markup languages. WML (Wireless Markup Language) and WAP (Wireless Application Protocol) are XML-based technologies designed for mobile and wireless devices, making XML their 'mother' or parent technology.

Multiple choice technology programming languages
  1. Not Extensible.

  2. A stylsheet

  3. Free and Extensible

  4. None of these

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

XML is both free (open standard) and extensible (you can define your own tags and attributes). The 'X' in XML stands for Extensible, which is its key feature allowing custom markup languages for specific domains.

Multiple choice technology programming languages
  1. EXtendable Stylesheet Language

  2. EXtensible Stylesheet Language

  3. EXtensible Style Language

  4. EXtendable Style Language

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

XSL stands for EXtensible Stylesheet Language. It's a family of languages used to transform and render XML documents. The spelling is EXtensible (with 'e'), not EXtendable (with 'd').

Multiple choice technology programming languages
  1. XSLT,Xpath,HTML

  2. XSLT,Xpath,ASP

  3. XSLT,Xpath,XSL-FO

  4. XSLT,Xpath,XHTML

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

XSL has three components: XSLT (for transformation), XPath (for navigation), and XSL-FO (for formatting). XSLT transforms XML to other formats, XPath navigates XML documents, and XSL-FO handles formatting for presentation.

Multiple choice technology programming languages
  1. xsl:for

  2. xsl:for-each

  3. xsl:do-while

  4. xsl:while

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

xsl:for-each is an XSLT instruction that processes a set of nodes selected by an XPath expression. It iterates over each node in the node-set and applies the contained template instructions to every node. The select attribute contains the XPath expression that identifies which nodes to process. This is the primary looping construct in XSLT for transforming XML documents. Options A, C, and D are not valid XSLT elements - the correct names are xsl:for-each, xsl:if, and xsl:choose/xsl:when/xsl:otherwise respectively.

Multiple choice technology programming languages
  1. browser

  2. file

  3. input

  4. output

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

xsl:number inserts formatted numbers into the output stream during XSLT transformation. It's used to add sequential numbering to output documents - for example, numbering list items, chapters, or table rows. The number can be formatted with various attributes (format, letter-value, grouping-separator, etc.) to control whether it appears as 1, 2, 3 or I, II, III or a, b, c, etc. The output is the transformed result document being generated, which could be sent to a browser, saved to a file, or used elsewhere. Options A, B, and C are all destinations/consumers of output, not where xsl:number inserts during transformation.

Multiple choice technology programming languages
  1. Extensible Stylesheet Language Translators

  2. Extended Stylesheet Language Transformation

  3. Extensible Style Language Transformation

  4. Extensible Stylesheet Language Transformation

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

XSLT stands for Extensible Stylesheet Language Transformation. It is a W3C standard language for transforming XML documents into other formats. The key words are Extensible, Stylesheet, Language, and Transformation - which is the correct expansion.