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 web technology
  1. language

  2. metalanguage

  3. meta

  4. services

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

To solve this question, the user needs to have a basic understanding of XML and its purpose.

XML stands for Extensible Markup Language, and it is a markup language that is used to store and transport data. One of the main features of XML is its ability to define custom markup languages, which are specialized languages used to express complex interactions between clients and services or between the components of a composite service.

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

A. language: This option is incorrect. While XML can be used to define custom markup languages, this option is too general and does not specifically relate to the purpose of XML.

B. metalanguage: This option is correct. A metalanguage is a language used to describe another language, and XML is a metalanguage that is used to define custom markup languages. Thus, option B is the correct answer.

C. meta: This option is incorrect. While the term "meta" is often used in the context of XML and custom markup languages, it is not specific enough to fully answer the question.

D. services: This option is incorrect. While services can be involved in the interactions described by custom markup languages, this option is too general and does not specifically relate to the purpose of XML.

The Answer is: B. metalanguage

Multiple choice technology web technology
  1. Render HTML content types

  2. Manage the metadata within a list

  3. Content editor webpart types

  4. None of the above

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

Content types in SharePoint define reusable collections of settings and metadata (columns) that can be applied to list items or documents across lists. They manage metadata structure consistently. Option A is incorrect - content types are not about rendering HTML. Option C is wrong - content editor web part is a specific control, not related to content types.

Multiple choice technology web technology
  1. Part of webapplication

  2. Server side asp.net control

  3. Document library

  4. None of the above

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

In ASP.NET and SharePoint, a WebPart is a server-side control that runs inside web part zones on pages, enabling users to customize content and layout. It is not a document library, nor is it merely a vague part of a web application.

Multiple choice technology programming languages
  1. Methods

  2. Properties

  3. Objects

  4. None of The above

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

innerHTML, innerText, outerHTML, and outerText are all properties of DOM Element objects in JavaScript, not methods. They are accessed as properties (element.innerHTML = 'content') and return/set values directly without requiring function invocation with parentheses.

Multiple choice technology programming languages
  1. True

  2. False

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

innerHTML is a property, not a method, so it cannot be called with parentheses. The correct syntax is document.getElementById('trial').innerHTML = 'value' to set content, or var content = document.getElementById('trial').innerHTML to read content. Adding () makes it a function call which will cause an error.

Multiple choice technology programming languages
  1. True

  2. False

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

HTML objects inherit from specific interfaces in the DOM hierarchy, not directly from Element. Form objects inherit from HTMLFormElement, Select from HTMLSelectElement, Textarea from HTMLTextAreaElement, etc. While these ultimately inherit from Element in the prototype chain, they are not 'implicitly an instance of Element' - they're instances of their specific interfaces.

Multiple choice technology web technology
  1. use java script

  2. put the inline script to join

  3. put the style attribute into the tag and use css to create formatting

  4. put the CSS attribute for formatting

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

Inline styles are applied by adding the style attribute directly to an HTML tag and using CSS syntax within that attribute to format the element. Option C correctly describes this approach. Options A and B incorrectly reference JavaScript or scripts rather than CSS styling. Option D incorrectly mentions a CSS attribute rather than the style attribute with CSS code.

Multiple choice technology web technology
  1. store data controls

  2. store controls

  3. store database

  4. send requests

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

HTML forms are used to create input controls for user interaction. These controls include text boxes, checkboxes, radio buttons, dropdowns, and buttons that collect user input. Option A incorrectly says 'store data controls' - forms collect but don't store data. Option C is wrong because forms don't directly store to databases, and option D is vague.

Multiple choice technology web technology
  1. Phone data

  2. Meta Data

  3. type data

  4. call data

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

META tags provide metadata about the HTML document - information such as author, description, keywords, character set, and other page-level attributes. This data is used by search engines, browsers, and other tools. Options A, C, and D are nonsensical terms not related to META tag functionality.

Multiple choice technology web technology
  1. True

  2. False

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

SAX is a read-only, forward-only parser that cannot modify XML documents. As it processes XML sequentially, it generates events but provides no mechanism to alter the document structure. For XML modification, DOM-based parsers are required.