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 databases
  1. HTML

  2. XML

  3. DHTML

  4. SAOP

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

JSON emerged as a lighter alternative to XML for data interchange, especially in web applications. While XML was the dominant format for structured data exchange (especially in SOAP web services), JSON's simpler syntax and native JavaScript compatibility made it a preferred choice for AJAX and later REST APIs. JSON and XML serve similar purposes but with different trade-offs.

Multiple choice technology databases
  1. High intensity

  2. Modified Data Tag

  3. Protected

  4. Numeric

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

In CICS BMS, the attribute parameter MOD signifies Modified Data Tag. This is a 3270 terminal attribute that indicates whether a field has been modified by the user.

Multiple choice technology web technology
  1. Home Tool Markup Language

  2. Hyperlinks and Text Markup Language

  3. Hyper Text Markup Language

  4. Hyper Tool Markup Language

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

HTML stands for Hyper Text Markup Language. It's the standard markup language for creating web pages. The 'Hyper Text' refers to links connecting documents, 'Markup' denotes tags that structure content, and 'Language' indicates it's a formal system. Options A, B, and D incorrectly use 'Home' or 'Tool' instead of 'Hyper' and 'Text'.

Multiple choice technology web technology
  1. <h1>

  2. <heading>

  3. <head>

  4. <h6>

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

In HTML, <h1> is the largest heading (typically rendered in the biggest font size), while <h6> is the smallest. The tag contains metadata, not visible headings, and is not a valid HTML tag. Headings range from h1 (most important) to h6 (least important).

Multiple choice technology web technology
  1. <table><tr><td>

  2. <table><tr><tt>

  3. <table><head><tfoot>

  4. <thead><body><tr>

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

The core HTML table structure uses for the table container, for table rows, and for table data cells. Options B and C use incorrect tags like `<tt>` or `/`. Option D incorrectly mixes with `` instead of row/cell tags.

Multiple choice technology web technology
  1. <background img="background.gif">

  2. <img src="background.gif" background />

  3. <body background="background.gif">

  4. < background="background.gif" body>

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

The correct HTML syntax for a background image is ``. The background attribute goes in the body tag. Options A and B use incorrect tag/attribute combinations, and D has malformed syntax with swapped attribute and tag name.

Multiple choice technology platforms and products
  1. Gadget

  2. Section

  3. HTML Property

  4. HTML Fragment

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

The Section rule in PRPC contains the Auto-Generate HTML feature, which automatically generates the HTML for the section's UI elements. Gadgets, HTML Properties, and HTML Fragments do not have this auto-generation capability - sections are specifically designed for visual UI layout with HTML generation.

Multiple choice technology platforms and products
  1. HTML Property rule

  2. Page List or Page Group Property

  3. Class of the pages corresponding to the Page List or Page Group Property

  4. The literal value "Data-"

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

When configuring a Repeat Row layout in Pega, you must specify a Page List or Page Group property as the source, and define the class of the pages contained within that list or group.

Multiple choice technology security
  1. Milliseconds

  2. Seconds

  3. Minutes

  4. Hours

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

The element in web.xml specifies session timeout in MINUTES, not smaller time units. This is defined in the servlet specification - the value represents the integer number of minutes before an inactive session is invalidated. Using milliseconds (A) or seconds (B) would make timeouts impractically large, and hours (D) is not the standard unit defined in the spec.

Multiple choice technology web technology
  1. <my:tag value"x"/>

  2. <my:tag value="x"></my:tag>

  3. <my:tag><jsp:attribute name="value">${userName}</jsp:attribute></my:tag>
  4. <my:tag value="x"><%="This is an EMPTY tag"%></my:tag>

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

A tag is considered empty only if it has no body content. Option D contains a scriptlet (<%=...%>) which produces output, giving it body content. Options A, B, and C are truly empty - A uses self-closing syntax, B has no content between tags, and C uses jsp:attribute for setting attributes.

Multiple choice technology web technology
  1. WAP

  2. Web

  3. Mobile

  4. All

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

To answer this question, the user needs to know what WML stands for and what types of browsers can display WML pages.

WML stands for Wireless Markup Language, a markup language used for creating content for mobile devices.

Now, let's go through each option and explain why it is right or wrong:

A. WAP: This option is partially correct. WAP (Wireless Application Protocol) is a technical standard for accessing information over a mobile wireless network. WML is the markup language used to create content for WAP-enabled devices. Therefore, WML pages can be displayed in a WAP-enabled browser.

B. Web: This option is incorrect. WML pages are not designed for display in a standard web browser. Instead, they are designed for display on mobile devices.

C. Mobile: This option is partially correct. WML pages are designed for display on mobile devices and can be displayed in a browser on a mobile device.

D. All: This option is incorrect. WML pages are not designed for display in a standard web browser, so they cannot be displayed on all types of browsers.

Therefore, the answer is: A. WAP