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 enterprise content management
  1. eXpendable Mother in Law

  2. eXtensible Markup Language

  3. eXtended Mobile Language

  4. eXtensive Machine Language

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

XML is a widely used standard markup language that stands for eXtensible Markup Language, designed to store and transport structured data.

Multiple choice technology
  1. True

  2. False

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

Custom tags in JSP (JavaServer Pages) are user-defined elements that allow developers to encapsulate reusable functionality. They extend JSP's standard tag library with domain-specific tags, improving code maintainability and reusability.

Multiple choice technology operating systems
  1. Hyper Text Markup Languauge

  2. Hyper Tension Maker Language

  3. Hyper Text Makeup Language

  4. Hyper Test Markup Language

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

HTML stands for HyperText Markup Language, which is the standard language for creating web pages. Note: option A has a typo (Languauge should be Language) but it's still the intended correct answer among the choices.

Multiple choice technology web technology
  1. var obj=document.findControl('controlId');

  2. var obj=document.getObjectById('controlId');

  3. var obj=document.getElementById('controlId');

  4. var obj=document.getObject('controlId');

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

The standard DOM method to retrieve an HTML element by its ID attribute is document.getElementById(). This returns the element object if found, or null if no element with that ID exists. Options A, B, and D reference non-standard methods that don't exist in the DOM API.

Multiple choice technology web technology
  1. window.parent.location='newpage.html'

  2. window.top.location='newpage.html'

  3. window.opener.location='newpage.html'

  4. Cannot be done

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

In JavaScript, window.opener refers to the window that opened the current window. To change its URL, you assign a new value to window.opener.location. window.parent and window.top refer to iframe hierarchies.

Multiple choice technology web technology
  1. Hyper Text Markup Language

  2. Home Tool Markup Language

  3. Hyperlinks and Text Markup Language

  4. Hyper Tool Markup Language

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

HTML stands for Hyper Text Markup Language. It is the standard markup language for creating web pages. 'Hyper Text' refers to the cross-linking of documents, 'Markup' indicates the tags that define elements, and 'Language' identifies it as a coding system for web content structure.

Multiple choice technology
  1. "Page Not Found Error" is displayed

  2. Opens a Blank Page without any error

  3. Opens a Blank Page with error - "No Template Exist."

  4. Unpredictable behaviour

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

The page was created with an underscore in its name ('My_Test_Page') but the URL attempts to access it without underscores ('MyTestPage'). Since the actual URL would be /urlmagic/My_Test_Page.htm to match the page name, the mismatched URL results in a Page Not Found error - Livelink URLs must exactly match the page object name.

Multiple choice technology enterprise content management
  1. A and B Only

  2. A, B and C only

  3. All of the above

  4. A, B and D only

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

SAP IS Retail has three article categories: Single (individual products), Generic (grouped similar products like different colors), and Structured (products with variants like size/color combinations). Unstructured is not a valid category.

Multiple choice technology web technology
  1. <html:errors/>

  2. <bean:errors/>

  3. <html:message/>

  4. <bean: message/>

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

In Struts 1.x, the tag is used to display error messages that have been added to the ActionErrors or ActionMessages objects in an ActionForm or Action. The tag retrieves errors from the request scope and renders them appropriately. Option B is incorrect because there is no tag. Option C is for individual messages, not error collections. Option D has a space and doesn't exist.

Multiple choice technology web technology
  1. Name

  2. Type

  3. Action

  4. Class

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

In struts-config.xml, the tag uses the 'type' attribute to specify the fully qualified class name of the Action class implementation. The 'name' attribute specifies the logical name of the action and references the form bean, not the action class. Options C and D are not valid attributes for specifying the action class.

Multiple choice technology web technology
  1. <request-processor/>

  2. <controller/>

  3. <action-processor/>

  4. <action-controller/>

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

In Struts configuration, the tag is used to specify a custom RequestProcessor class. The 'processorClass' attribute of the controller element defines the fully qualified class name of the custom RequestProcessor. Options A, C, and D are not valid Struts configuration tags.