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
  1. True

  2. False

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

Oracle Workflow Messages support both plain text and HTML formats for the message body. This allows flexibility in presentation - text for simple notifications and HTML for formatted content with styling, links, or structure. The format can be specified when defining the message.

Multiple choice technology mainframe
  1. Names must be 10 or less characters.

  2. Names must contain at least 1 alpha character in any position.

  3. Names must be lower case.

  4. Multiple word names must be separated with an underscore.

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

COBOL requires user-defined names to contain at least one alphabetic character. Names can be 1-30 characters, can be mixed case, and hyphens (not underscores) are used in multi-word names. Numeric characters are allowed but not required.

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.

Multiple choice technology web technology
  1. The name attribute of action tag, specifies the action name

  2. Only one controller can be defined for a module in struts application

  3. Struts configuration files should be placed only inside WEB-INF folder or its sub folders

  4. The <exception> tag can be used to forward user to a specific view in case of an exception.

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

Statement B is true: Each Struts module can have only one controller (RequestProcessor) defined. Statement D is true: The tag in struts-config.xml allows configuring exception handling, including forwarding to specific error views when exceptions occur. Statement A is false: The 'name' attribute of specifies the form bean name, not the action name (the action's logical name is the 'path' attribute). Statement C is false: While WEB-INF is recommended for security, config files can be placed elsewhere if properly configured in web.xml.

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

  2. b) A, B and C only

  3. c) All of the above

  4. d) A, B and D only

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

In SAP IS Retail, standard article categories include Single articles, Generic articles, and Structured articles (such as sets, prepacks, and displays). Unstructured is not a standard article category.

Multiple choice technology web technology
  1. Graphic designer

  2. Any text editor

  3. browsers

  4. all of the above

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

HTML is plain text markup. Any text editor (Notepad, VS Code, Sublime, etc.) can write HTML files. Graphic designers create visuals, browsers render HTML, and neither writes HTML code.