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 platforms and products
  1. Auto detect by XML stage.

  2. Check the "Repetition Element Required" box on the output link tab.

  3. Set the key property for the column on the output link to 'Yes'

  4. Set the 'Nullable' property for the column on the output link to 'Yes'

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

In DataStage XML input stages, repetition elements (elements that can occur multiple times) must be marked by setting the 'Key' property to 'Yes' for the corresponding column on the output link. This tells DataStage that the element can repeat and should be handled accordingly during XML parsing.

Multiple choice technology web technology
  1. <taglib> <uri>http://www.javabeat.net/studyKit&lt;/uri> <location>/studyKit.tld</location> </taglib>

  2. <taglib> <uri>http://www.javabeat.net/studyKit&lt;uri> <location>/studyKit.tld</location> </taglib>

  3. <taglib> <taglib-uri>http://www.javabeat.net/studyKit&lt;/taglib-uri> <taglib-location>/studyKit.tld</taglib-location> </taglib>

  4. <taglib> <uri>http://www.javabeat.net/studyKit&lt;/uri> <path>/studyKit.tld</path> </taglib>

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

The correct DD syntax uses and elements within . Options A and D use incorrect element names (uri/path instead of taglib-uri/taglib-location). Option B has malformed XML.

Multiple choice technology enterprise content management
  1. Comments and markups on the original items stored as base items

  2. Base Contains any type of content, including an image, audio, document, etc.

  3. Base Text Contains documents and other files that contain text for indexing so that users can do content searches.

  4. Notelog Log of information entered by users pertaining to the object.

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

The Base Document Part in Content Manager Item Types is the primary content container that can store any type of content - documents, images, audio files, or any other digital content. It's the main repository for the actual item content, as opposed to metadata or notes.

Multiple choice technology testing
  1. True

  2. False

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

The DOM is largely standardized by W3C specifications, so IE and Firefox implement similar core DOM structures. While there are implementation differences and browser-specific extensions, the fundamental DOM architecture is not 'totally different' between the two.

Multiple choice technology architecture
  1. a) XML

  2. b) HTML

  3. c) WSDL

  4. d) IPv6

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

XML and WSDL are fundamental standards in web services architecture. XML provides the data format for message exchange, while WSDL describes service interfaces, enabling service discovery and integration. HTML is for presentation, not a web services standard.

Multiple choice technology architecture
  1. a) XML

  2. b) HTML

  3. c) WSDL

  4. d) IPv6

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

XML is the standard format for data exchange in web services, providing platform-independent message encoding. WSDL (Web Services Description Language) is the standard for describing service interfaces, operations, and binding details. HTML is for web page markup, not services; IPv6 is a network layer protocol.

Multiple choice technology web technology
  1. Always converts HTML markup to entity equivalents, like <

  2. Never converts HTML markup to entity equivalents

  3. Converts markup when filter=true

  4. Converts markup when markup=false

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

The tag has a 'filter' attribute that controls HTML escaping. When filter=true (the default), special characters like < and > are converted to their entity equivalents (<, >) for XSS protection. Setting filter=false disables this conversion.

Multiple choice technology web technology
  1. Call the reset method if validation fails

  2. Set the tag's redisplay property to false

  3. Set the tag's reset property to false

  4. Use a plain html tag instead

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

The tag has a 'redisplay' attribute that controls whether the password value is shown when the form is redisplayed (e.g., after validation errors). Setting redisplay=false prevents the password from being rendered back to the browser, addressing security concerns.

Multiple choice technology web technology
  1. It may iterate over arrays, collections, maps and strings.

  2. The body of the tag may contain EL code, but not scripting code.

  3. When looping over collections, a loop status object may be used in the tag body.

  4. It may iterate over a map, but only the key of the mapping may be used in the tag body.

  5. When looping over integers (for example begin1='1' end='10'), a loop status object may not be used in the tag body.

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

JSTL iteration tags like `can iterate over arrays, collections, maps, and strings. When looping over collections, a loop status object (via thevarStatus` attribute) can be used to track the current index and status.