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

Multiple choice technology web technology
  1. Body

  2. Head

  3. Division

  4. Table

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

The page title in HTML is placed inside the HEAD tag, which contains metadata about the document. The BODY tag contains visible content, while HEAD contains elements like TITLE, META, and LINK that don't display on the page.

Multiple choice technology web technology
  1. EXtreme HyperText Markup Language

  2. EXtensible HyperText Marking Language

  3. EXtensible HyperText Markup Language

  4. EXtra Hyperlinks and Text Markup Language

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

XHTML stands for EXtensible HyperText Markup Language, combining features of HTML with the stricter XML standard.

Multiple choice technology platforms and products
  1. Name of the schema.

  2. Name of the Root node in the xml document

  3. Namespace.typename of the project in which the schema has been deployed

  4. Name of the xml document

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

When creating XML-based facts for the Business Rules Engine, the Document Type property must use the fully qualified name format: Namespace.TypeName. This allows BRE to correctly resolve and instantiate the schema. Using just the schema name or root node is insufficient.

Multiple choice technology web technology
  1. True

  2. False

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

ASP.NET pages can only contain one server-side Form tag because the page framework expects a single form for postback processing. Multiple runat="server" forms would cause postback event handling conflicts since the framework can only determine which form caused the postback if there is one form.

Multiple choice technology architecture
  1. Cocoon

  2. Log4j

  3. Axis

  4. Struts

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

Apache Cocoon is an XML publishing framework built specifically to interact with various data sources (databases, file systems, web services) and transform content into multiple output formats (HTML, PDF, WAP, etc.). It uses a pipeline processing model based on SAX (Simple API for XML) to efficiently handle XML transformations. Log4j is for logging, Axis is for SOAP web services, and Struts is an MVC web framework - none are XML publishing frameworks like Cocoon.

Multiple choice technology web technology
  1. &

  2. <and>amp;</and>

  3. &&amp;

  4. &amp;

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

In HTML, the ampersand character (&) is a special character used to start entity references. To display an actual & on screen, you must use the & entity. The entity & renders as a single & character when the HTML is displayed in a browser.

Multiple choice technology web technology
  1. an jsp-based service IDL

  2. an non XML-based service IDL

  3. an XML-based service IDL

  4. none

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

WSDL serves as an Interface Definition Language (IDL) for web services, similar to how CORBA IDL works for distributed objects. Being XML-based makes it platform-independent and readable by both humans and machines. It defines the service contract without exposing implementation details.

Multiple choice technology web technology
  1. all validations and requests

  2. all Validations

  3. all requests

  4. None

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

In SOAP message structure, the header contains auxiliary information like authentication tokens, transaction IDs, validation rules, and routing information. The actual request or response payload goes in the body section. This separation of concerns keeps metadata separate from core message content.

Multiple choice technology web technology
  1. only XML

  2. XSD, XML, XML schemas

  3. only XSD

  4. only XML schemas

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

Web services can process various XML-based request formats including plain XML documents, XSD (XML Schema Definition) for structure validation, and XML schemas that define document structure. These formats provide type safety and validation for service messages, ensuring proper data exchange between systems.

Multiple choice technology web 2.0
  1. stylesheet>mystyle.css</stylesheet />

  2. <link rel="stylesheet" type="text/css" href="mystyle.css">

  3. <link rel="stylesheet" type="text/css" src="mystyle.css">

  4. <style src="mystyle.css" />

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

External style sheets are linked using the element with attributes `rel="stylesheet"`, `type="text/css"`, and `href`. Using `src` instead of `href` is incorrect for links, and tags with src or custom &lt;stylesheet&gt; tags are invalid HTML.