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 programming languages
  1. HTML

  2. XML

  3. WML

  4. JSP

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

When an .aspx page is requested, ASP.NET processes it server-side and generates HTML that is sent to the browser. The browser receives and renders standard HTML - it does not receive XML, WML (Wireless Markup Language), or JSP (JavaServer Pages) format. The output is always HTML (or XHTML which is HTML-compatible).

Multiple choice technology programming languages
  1. TagPrefix

  2. Name space of the dll that is referenced

  3. Assemblyname

  4. All of the above

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

To add a custom control to an ASP.NET Web form, you must register it using the @Register directive, which requires specifying the TagPrefix (used in markup), Namespace (where the control class resides), and Assembly name (containing the control). All three elements are mandatory for proper registration, making 'All of the above' the correct answer.

Multiple choice technology web technology
  1. Hyper Text Mark Language

  2. HyperText Multiple Languages

  3. HyperText Markup Language

  4. Hyperlink Markup Languages

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

HTML stands for HyperText Markup Language, which accurately describes its function of creating structured documents with hypertext links. Option A incorrectly omits 'up' from 'Markup,' while Option B incorrectly suggests it handles multiple languages and Option D focuses on hyperlinks rather than markup.

Multiple choice technology web technology
  1. X-TENSIBLE MARKUP LANGUAGES

  2. EXTENSIBLE MARKUP LANGUAGE

  3. XHTML MARKUP LANGUAGE

  4. EXTENSIBLE MARK-UP LANGUAGES

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

XML stands for 'eXtensible Markup Language' - a markup language designed to store and transport data in a structured, human-readable format. The 'X' comes from 'eXtensible' (with a lowercase E), emphasizing that users can define their own custom tags. Option B has the correct spelling. Option A uses 'X-TENSIBLE' incorrectly, and D adds a hyphen to 'Markup' and uses 'Languages' (plural).

Multiple choice technology performance
  1. web_reg_find

  2. web_reg_save_find

  3. web_reg_save_value

  4. web_reg_save_param

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

web_reg_save_param is the classic LoadRunner function used to register a request to save dynamic data (correlation) from the server. web_reg_find checks for text, and other functions like web_reg_save_find or web_reg_save_value either do not exist or do not serve this purpose.

Multiple choice technology web technology
  1. JavaScript library

  2. HTML component

  3. CSS component

  4. XML component

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

jQuery is a fast, small, and feature-rich JavaScript library that simplifies HTML document traversal, event handling, animation, and AJAX interactions. It is not a component of HTML, CSS, or XML, but rather a cross-browser JavaScript library designed to make client-side scripting easier.

Multiple choice technology web technology
  1. (selector).action()

  2. $(action).selector()
  3. $(selector).action()
  4. selector.action()

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

The basic jQuery syntax is $(selector).action(), where $ is the jQuery alias, selector identifies HTML elements using CSS syntax, and action() is the jQuery method to perform. This pattern is consistent throughout jQuery: first select elements, then perform actions on them. Option B reverses the order, while A and D miss the $ symbol or parentheses.

Multiple choice technology web technology
  1. prepend

  2. middle

  3. append

  4. before

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

jQuery provides prepend() (insert at beginning), append() (insert at end), and before() (insert before element) as standard DOM manipulation methods. 'middle' is not a valid jQuery method for HTML manipulation, making it the correct answer to this negative question.

Multiple choice technology web technology
  1. constructors of jquery

  2. html tags of jquery

  3. callback

  4. selectors

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

jQuery selectors are used to find and manipulate HTML elements in the DOM. Selectors use CSS syntax to identify one or more elements, which can then be modified using jQuery methods. Constructors like $() wrap selections, callbacks are functions executed after events, and jQuery doesn't have 'html tags' as a concept.

Multiple choice technology web technology
  1. css(object)

  2. css(name)

  3. css(name,value)

  4. css({properties})

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

This question is poorly designed. Options B, C, and D are all valid jQuery CSS method syntaxes, while option A (css(object)) is ambiguous. If 'object' means a plain object, then css({properties}) already covers that case. The question likely intends to test knowledge of valid CSS() method signatures, but all standard syntaxes are represented in B, C, and D, making the question confusing.

Multiple choice technology web technology
  1. Utilities

  2. server side validations

  3. JavaScript Effects and animations

  4. HTML DOM traversal and modification

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

jQuery is a client-side JavaScript library that runs in the browser and cannot perform server-side validations. It provides utilities, effects/animations, and DOM manipulation, but server-side validation requires server-side code like PHP, Node.js, or ASP.NET.

Multiple choice technology web technology
  1. ("p").css("background-color","yellow");

  2. $("p").css("background-color","yellow")
  3. $("p").css("background-color","yellow");
  4. $("p").css("back-color","yellow");
Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The correct jQuery syntax requires the $ selector function, followed by the .css() method. Option C is correct: $("p").css("background-color","yellow"); - the $ creates a jQuery object, .css() takes two string arguments (property and value), and the semicolon terminates the statement. Option A is missing the $, Option B is missing the semicolon, and Option D uses an incorrect property name.

Multiple choice technology web technology
  1. HTML

  2. DWP

  3. JSP

  4. ASP

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

The traditional file extension for a Web Part in SharePoint is .dwp (Digital Web Part). This XML-based file format was used in SharePoint 2003 and earlier versions. Note that modern SharePoint uses .webpart files, but DWP was the classic extension.

Multiple choice technology platforms and products
  1. XML

  2. WSDL,XML

  3. SOAP

  4. All of the above

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

BPEL is built on all three technologies: it's an XML-based language, uses WSDL to define service interfaces, and relies on SOAP for message exchange. These form the foundation of BPEL's web service orchestration capabilities.