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
  1. XML elements starts with opening tag but it does not need a closing tag.

  2. XML documents may or may not have a root element.

  3. XML attribute values need to be quoted.

  4. XML elements need to be properly nested.

  5. XML tags are not case sensitive.

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

This is correct because if we do not put the elements properly, it alters the web page. So, XML elements must be properly nested.

Multiple choice
  1. Only 1, 2, 5

  2. Only 2, 3, 5

  3. 1,3

  4. Only 1, 3, 4

  5. Only 2, 4, 5

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

Since, XML is also a markup language like HTML and here, the user has to define his own tags. Also, it is designed to be self-descriptive, which means the statements 2, 4 and 5 are correct. So, this option is correct.

Multiple choice
  1. Prompt dialog box

  2. Alert dialog box

  3. Confirm dialog box

  4. Both (1) and (3)

  5. None of the above

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

A prompt dialog box is used if you want the user to input a value before entering a page. When a prompt box pops up, the user will have to click either OK or cancel to proceed after entering an input value.A prompt dialog box is used if you want the user to input a value before entering a page. When a prompt box pops up, the user will have to click either OK or cancel to proceed after entering an input value. A prompt dialog box is used if you want the user to input a value before entering a page. When a prompt box pops up, the user will have to click either OK or cancel to proceed after entering an input value.

Multiple choice
  1. XML - a common language for describing RMC

  2. XML - a common language for describing web services

  3. XML - a common language for describing web service directories

  4. All of the above

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

The key innovation in web services is the widespread adoption of XML as a common, platform-independent language for describing various aspects of web services: remote procedure calls, the services themselves, and service directories. This XML-based approach enables universal interoperability.

Multiple choice
  1. name, height, width

  2. code, name

  3. codebase, height, width

  4. code, height, width

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

The HTML tag requires the 'code' attribute (specifying the main class file), and 'height' and 'width' attributes to define the display area. The 'codebase' attribute is optional and specifies where to find the class files - it defaults to the current directory if omitted.

Multiple choice
  1. Structural markup

  2. Stylish markup

  3. Semantic markup

  4. Table element

  5. Image element

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

This markup element in markup language tells us something about the content of the document and has been written to define the context of the content enclosed in the markup.