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. TLDs

  2. DDLs

  3. Web-inf

  4. Meta-Inf

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

JSP custom tags require a Tag Library Descriptor (TLD) file in the WEB-INF directory (or subdirectory). The TLD file defines the custom tag library, including tag names, attributes, and handler classes. DDL is unrelated (database definition), Web-inf is the wrong capitalization, and Meta-Inf is for JAR metadata.

Multiple choice technology web technology
  1. <NAME>Write name here</NAME>

  2. <name>Write name here</name>

  3. <NAme>Write name here</naME>

  4. <naME>Write name here</NAme>

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

XML element names are case-sensitive by specification. The correct casing must match exactly what's defined in the DTD or schema. If was defined in the schema, then is correct and , , or would all be different, incorrect elements.

Multiple choice technology web technology
  1. Map.xml

  2. Web.xml

  3. ps.xml

  4. DynamicContentAliases.xml

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

The ps.xml file (possibly Struts configuration or framework-specific) defines task flows and page flows in this application context. Web.xml handles servlet mappings, Map.xml is not a standard Java EE file, and DynamicContentAliases.xml is application-specific. This appears to be testing a specific framework knowledge.

Multiple choice technology programming languages
  1. <!-- - - >

  2. <%-- --%>

  3. </* */>

  4. //

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

HTML comments use the syntax to hide content from browsers without deleting it. Option A shows this format (with unusual spacing). Option B is JSP comment syntax, C mixes invalid closing tag syntax with C-style comments, and D is for JavaScript single-line comments.

Multiple choice technology mainframe
  1. REXpand Xml

  2. REstructured EXtended EXecutor

  3. Reload EXtended XML

  4. REstructured EXpand XML

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

REXX stands for REstructured eXtended eXecutor, a programming language developed by IBM. It's a high-level, interpreted language designed to be easy to learn and use, commonly used for scripting, automation, and prototyping on IBM mainframe and other platforms.

Multiple choice technology web technology
  1. Tag Library Descriptor

  2. Tag Language Description

  3. Tag Library Description

  4. Tag Language Dynamics

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

TLD stands for Tag Library Descriptor, an XML file that describes a custom tag library in JSP. It contains metadata about the tag library including tag names, attributes, validation rules, and tag handler classes. The descriptor file enables JSP containers to process custom tags correctly by providing the necessary mapping and validation information.

Multiple choice technology web technology
  1. True

  2. False

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

XML and HTML serve different purposes. XML is designed for data storage and transport, while HTML is designed for displaying data in web browsers. They complement each other rather than replace.