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. RSS is written in XML-based format elements are case sensitive

  2. RSS is written in XML-based format elements must be properly nested

  3. RSS is written in XML-based format attribute values must not be quoted

  4. RSS is written in XML-based format all elements must have a closing tag

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

In XML-based formats like RSS, attribute values MUST always be quoted (single or double quotes). This is a fundamental XML rule. The statement 'attribute values must not be quoted' is false, making it the 'not true' option.

Multiple choice technology web technology
  1. Decks

  2. Cards

  3. Both 1 & 2

  4. None of these

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

In WML (Wireless Markup Language), a 'deck' is a WML file containing one or more 'cards'. Users navigate between cards within a deck. This was the WAP equivalent of pages. The question asks what WML pages are called - they're called decks (which contain cards).

Multiple choice technology web technology
  1. Home Tool Markup Language

  2. Hyperlinks and Text Markup Language

  3. Hyper Text Markup Language

  4. Happy To Markup Language

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

HTML stands for Hyper Text Markup Language. This is the universally accepted expansion; the other options are fabricated and therefore incorrect.

Multiple choice technology web technology
  1. <table><head><tfoot>

  2. <thead><body><tr>

  3. <table><tr><tt>

  4. <table><tr><td>

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

A complete structure includes the table element itself, a row (), and a cell (). The option provides exactly those tags, while the other choices contain non‑table elements or malformed tags.

Multiple choice technology web technology
  1. <img src="background.gif" background />

  2. <body background="background.gif">

  3. <background img="background.gif">

  4. <back-image img="background.gif">

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

The background attribute on the element sets a page background image in traditional HTML. Modern practice uses CSS, but this syntax remains valid. and are not real HTML elements.

Multiple choice technology web technology
  1. <img src="image.gif" />

  2. <image src="image.gif" />

  3. <img>image.gif</img>

  4. <img href="image.gif />

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

The tag with src attribute is the correct syntax for images. It is a self-closing element ending with /> in XHTML. is not valid, the path goes in src not href, and does not wrap content.

Multiple choice technology security
  1. Social Engineering.

  2. SQL Injection.

  3. Log Injection.

  4. Reflected XSS.

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

SQL Injection involves inserting malicious SQL code into input fields like search boxes. The 'crafted code' causes the database to execute unintended queries, returning excessive data ('massive amount of result') and slowing response time. Social engineering tricks people, log injection targets logs, and reflected XSS requires script execution in responses.

Multiple choice technology programming languages
  1. Alphabetical order

  2. Random. No order.

  3. Argument-declaration order

  4. Based on the datatype

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

Javadoc @param tags should follow the same order as parameters appear in the method or constructor declaration. This convention ensures documentation consistency with the actual code signature, making it easier for developers to correlate documentation with implementation.