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. color:

  2. bgcolor:

  3. background-color:

  4. background-colour:

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

The CSS property background-color sets the background color of an element. The American spelling "color" is correct; "colour" is not valid in CSS. The bgcolor attribute is obsolete HTML, not a CSS property. The color property sets text color, not background.

Multiple choice technology programming languages
  1. True

  2. False

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

Web components are a specific set of web platform APIs (Custom Elements, Shadow DOM, HTML Templates) that create reusable custom elements. An HTML page is a complete document served by a web server, not a reusable component.

Multiple choice technology web technology
  1. XML

  2. HTTP

  3. FTP

  4. All the above

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

The basic web service platform uses XML for encoding/decoding data (A) and HTTP as the transport protocol (B). FTP is not a standard web service transport protocol, so 'All the above' is incorrect.

Multiple choice technology programming languages
  1. EncType: application/x-www-urlencoded

  2. Content-Type: application/x-www-form-urlencoded

  3. Content-Type: multipart/form-data

  4. Encoding-Type: multipart/form-data

  5. Accept-Encoding: application/www-form-encoded

  6. Encoding-Type: multipart/www-form-data Request

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

The 'Content-Type: application/x-www-form-urlencoded' header tells the server how to decode the parameter data from an HTML form submission. This is the standard encoding for form data where key-value pairs are URL-encoded (special characters converted to %XX format). The servlet container uses this header to properly parse the request body and populate the HttpServletRequest's parameter methods. Note the header name is 'Content-Type', not 'EncType' or 'Encoding-Type'.

Multiple choice technology web technology
  1. System.Data.Xml

  2. System.Xml

  3. System.DOM.Xml

  4. System.DOM

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

System.Xml is the namespace in .NET that provides XML DOM (Document Object Model) support. It contains classes like XmlDocument, XmlNode, XmlElement for parsing and manipulating XML documents. There is no System.DOM namespace in .NET, and System.Data.Xml is not the primary XML namespace.

Multiple choice technology web technology
  1. System.Data.Xml

  2. System.XML

  3. System.DOM.Xml

  4. System.DOM

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

System.Xml (same as System.XML - case difference) is the .NET namespace for XML DOM support. This question is a duplicate of 135084 testing the same concept - that XML functionality lives in the System.Xml namespace which provides XmlDocument and related DOM classes.

Multiple choice technology web technology
  1. WSDL

  2. XML schema organisation

  3. W3C

  4. XML consortium

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

XML is standardized by the World Wide Web Consortium (W3C). WSDL is a description language for web services, and there is no "XML schema organisation" or "XML consortium" that serves as the official standards body.

Multiple choice technology web 2.0
  1. XSL

  2. XASL

  3. XAML

  4. ASMX

  5. ASPX

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

XAML (eXtensible Application Markup Language) is the declarative markup language used in WPF (Windows Presentation Foundation) for defining user interfaces and visual elements. It's analogous to HTML in web development.

Multiple choice technology
  1. eXtensive Markup Language

  2. eXtensive Markup List

  3. eXtension Markup List

  4. eXtensible Markup Language

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

XML stands for eXtensible Markup Language. It was designed to store and transport data in a structured, human-readable format. The 'extensible' means users can define their own tags and document structure, unlike HTML which has predefined tags. Options A, B, and C are incorrect expansions.

Multiple choice technology web technology
  1. As a string called xml

  2. As an object called xml

  3. As a string called node

  4. As an object called node

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

In webMethods Integration Server, when an HTML form is submitted via POST, the server's content handler parses the form fields into the pipeline. A field named 'xml' is treated as a standard input parameter and appears in the pipeline as a String variable with the same name. It is not automatically converted to a node object unless specific XML parsing services are invoked.

Multiple choice technology web technology
  1. Hyperlinks and Text Markup Language

  2. Hyper Text Markup Language

  3. Hyper Text Markinup Language

  4. All of the above

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

HTML stands for HyperText Markup Language, which is the standard markup language for creating web pages. HyperText refers to links that connect web pages, and Markup Language means it uses tags to define elements. Option A swaps 'Text' with 'and Text', and option C misspells 'Markup' as 'Markinup'.