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 web technology
  1. page

  2. title

  3. name

  4. none

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

The TITLE tag defines the page title displayed in browser title bars and tabs. It is required in HTML documents and goes in the HEAD section. The title text also appears in search engine results and browser history. Names like page and name are not valid HTML elements.

Multiple choice technology web technology
  1. t mid

  2. middle

  3. mid

  4. center

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

The center tag is an HTML element used to horizontally center its content on the page. While modern web development uses CSS (text-align: center or flexbox) for this purpose, historically the tag was the standard way to align content to the middle. The other options (t mid, middle, mid) are not valid HTML tags for this purpose.

Multiple choice technology web technology
  1. ctrl

  2. alt

  3. hover

  4. over

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

The alt attribute in an img tag provides alternative text that displays when an image cannot be loaded. While the question asks about hover behavior in Internet Explorer specifically, the alt attribute was historically the closest mechanism for providing descriptive text about graphics (though the title attribute is the correct one for tooltips). The ctrl, hover, and over options are not standard HTML attributes.

Multiple choice technology
  1. XML Schema

  2. WSDL

  3. both A and B

  4. None of the above

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

OSB supports message validation against both XML Schema (XSD) definitions and WSDL specifications. XML Schema validates the structure and data types of XML messages, while WSDL includes schema definitions for web service operations. OSB's Validate action can use either validation mechanism, making C the correct comprehensive answer. Options A and B are each partially correct but incomplete.

Multiple choice technology platforms and products
  1. X-Query

  2. XSLT

  3. both A and B

  4. MFL Transform

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

XSLT (Extensible Stylesheet Language Transformations) is the standard technology for transforming XML to non-XML formats (like JSON, CSV, plain text) and vice versa in OSB. X-Query is not a standard transformation technology, and MFL is for fixed-length flat file formats, not general XML conversion.

Multiple choice technology platforms and products
  1. X-Query

  2. XSLT

  3. both A and B

  4. MFL Transform

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

MFL (Message Format Language) Transform is Oracle Service Bus's specialized transformation facility for converting between XML and non-XML formats like flat files, EDI, COBOL copybook data. XSLT is for XML-to-XML transformations. XQuery is for querying XML documents, not format conversion.

Multiple choice technology platforms and products
  1. XML Schema

  2. WSDL

  3. both A and B

  4. None of the above

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

OSB provides validation capabilities against both XML Schema definitions (XSD) and WSDL documents. XML Schema validation ensures the message structure conforms to a schema definition. WSDL validation includes both schema validation and additional WSDL-specific constraints including service contract definitions. OSB can validate request and response messages using either validation type. The Validate action in OSB can be configured to use either an XSD resource or a WSDL resource for validation.

Multiple choice technology platforms and products
  1. X-Query

  2. XSLT

  3. both A and B

  4. MFL Transform

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

MFL (Message Format Language) Transform in OSB is specifically designed for converting between XML and non-XML formats like binary files, COBOL copybooks, and fixed-length or delimited formats. XSLT and XQuery are transformation languages that only work with XML-to-XML conversions - they cannot handle non-XML formats. Therefore, MFL Transform is the correct resource for bidirectional XML to non-XML transformation.

Multiple choice technology platforms and products
  1. XML Schema

  2. WSDL

  3. both A and B

  4. None of the above

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

Messages can be validated against both XML Schema (which defines the structure, data types, and constraints of XML messages) and WSDL (which contains schema definitions for web service operations). XML Schema provides structural validation while WSDL validates against the service contract. Both are valid validation mechanisms in SOA environments.

Multiple choice technology platforms and products
  1. XSLT

  2. Xquery

  3. Any of the above

  4. None of the above

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

For large payload transformations in OSB, XQuery is generally preferred over XSLT due to better performance and memory efficiency. XSLT works well for smaller documents but can be resource-intensive for large payloads. XQuery is optimized for XML processing at scale.

Multiple choice technology web technology
  1. True

  2. False

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

HTML is a markup language, not a programming language. Markup languages describe the structure and presentation of content (using tags like , ,

), while programming languages contain logic, algorithms, and computational instructions. HTML lacks programming constructs like loops, conditionals, and variables.

Multiple choice technology web technology
  1. BODY & TAIL

  2. HEAD & TAIL

  3. HEAD & BODY

  4. FIRST & BODY

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

An HTML document is structured into two main sections: the HEAD section (contains meta-information, title, links to stylesheets/scripts) and the BODY section (contains the actual visible content displayed on the webpage). This is standard HTML document structure.