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
  1. UIDOC

  2. DOC

  3. Values

  4. Getvalue

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

In Lotus Notes, UIDOC (NotesUIDocument) provides the QuerySave event where you can validate field values before the document is saved. DOC is the backend document class without UI events, Values is a property, and Getvalue is not a standard validation method. UIDOC's QuerySave is the correct validation hook.

Multiple choice technology
  1. RTF

  2. Plain Text

  3. HTML

  4. DHTML

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

Plain text creates the smallest email message files because it contains only the raw text characters without any formatting information, markup tags, or embedded styling. RTF (Rich Text Format) includes formatting codes, HTML includes tags, and DHTML (Dynamic HTML) includes even more scripting and interactive elements.

Multiple choice technology web technology
  1. Adding new XML Schema types

  2. Changing the parameters of an operation, in data type or order

  3. Renaming an operation

  4. Changing the structure of a complex data type

  5. None of the above

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

Adding new XML Schema types is backward compatible because existing requestors don't reference or need these new types. Changing parameters (B), renaming operations (C), or changing complex data type structures (D) all break existing requestors that depend on the current definitions. WSDL is designed for extensibility through additions.

Multiple choice technology architecture
  1. One

  2. Two

  3. Three

  4. Four

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

Struts provides five core tag libraries: bean, html, logic, nested, and tiles. However, the question may be referring to the four most commonly used ones (excluding nested or tiles depending on version). The core libraries are bean (for JavaBeans manipulation), html (for form/rendering), logic (for conditional logic), and tiles (for layout composition).

Multiple choice technology architecture
  1. Bean tag library

  2. Xml tag library

  3. Logic tag library

  4. HTml tag library

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

The three main Struts tag libraries are: Bean tags (for accessing JavaBeans and their properties), Logic tags (for conditional presentation and iteration), and HTML tags (for generating HTML forms and UI elements). There is no separate 'Xml tag library' - the HTML library is the third correct option.

Multiple choice technology web technology
  1. HTML 4.01

  2. HTML 1.0

  3. XHTML 2.0

  4. HTML 5.0

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

HTML 4.01 is unique as the last major HTML specification based on SGML (Standard Generalized Markup Language). HTML 1.0 was pre-standardization, XHTML 2.0 was XML-based, and HTML 5.0 represents a modern specification - making 4.01 least like the others in its SGML foundation.

Multiple choice technology web technology
  1. More robust formatting attributes for the font tag

  2. The ability to create dynamic, scriptable bitmapped images

  3. An API for saving data to client-side storage

  4. New tags for embedding audio and video in Web pages

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

HTML5 explicitly deprecated presentational tags like font in favor of CSS, so it would not add more formatting attributes to the font tag. The other options describe actual HTML5 features: the Canvas API creates dynamic bitmapped images, the Web Storage API provides client-side data persistence, and native audio/video tags were introduced.

Multiple choice technology web technology
  1. All tags must be closed, even stand-alone tags on a single line

  2. All image tags must include a name attribute

  3. All element and attribute names must be lowercase

  4. The document must specify a valid XHTML DOCTYPE

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

XHTML requires all tags to be properly closed, element and attribute names to be lowercase, and a valid XHTML DOCTYPE declaration. However, the name attribute for img tags is not required - the alt attribute is required for accessibility, but name is optional and deprecated in favor of id in XHTML 1.0 Strict and HTML5.

Multiple choice technology web technology
  1. Extended Markup Language

  2. EXtensible Markup Language

  3. Extension Markup Language

  4. Extensional Markup Language

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

XML stands for EXtensible Markup Language. The 'X' represents EXtensible, emphasizing that users can define their own tags and document structures, making it flexible for diverse data representation needs.

Multiple choice technology web technology
  1. Above statement is completely wrong

  2. Above statement is partially correct

  3. Above statement is fully correct

  4. Can't say

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

XML was indeed designed to transport and store data with focus on what data is, rather than how it looks. This separation of content from presentation is a fundamental XML principle, unlike HTML which emphasizes display.

Multiple choice technology web technology
  1. 1 & 2 is correct

  2. 2 & 3 is correct

  3. 4 & 5 is correct

  4. All are correct

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

All five statements correctly describe the relationship between XML and HTML. XML and HTML have different goals: XML describes data (what it IS), HTML displays data (how it LOOKS). XML is not a replacement for HTML - they serve complementary purposes. Statement 5 reinforces statements 3 and 4.

Multiple choice technology web technology
  1. Extended Markup Language

  2. EXtensible Markup Language

  3. Extension Markup Language

  4. Extensional Markup Language

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

XML stands for EXtensible Markup Language. The 'X' stands for 'Extensible' (not Extended, Extension, or Extensional), meaning users can define their own tags and document structures. This extensibility is XML's key feature.