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. <HTML>

  2. HTML

  3. <%HTML%>

  4. "HTML"

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

HTML tags are enclosed in angle brackets, with the tag name inside. The syntax is for opening tags. Option A shows which is correct. Option B is just the text without brackets, C uses &lt;% %&gt; which is JSP/ASP syntax, and D uses quotes which are not tag delimiters.

Multiple choice technology web technology
  1. .html

  2. .shtml

  3. .webpage

  4. .doc

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

HTML files use the .html file extension as the standard. While .htm was used historically on older systems with 8.3 filename limitations, .html is the modern standard. Option B .shtml is for server-parsed HTML, C .webpage isn't a standard extension, and D .doc is for Microsoft Word documents.

Multiple choice technology web technology
  1. p {font-weight:bold}

  2. p {text-size:bold}

  3. <p style="text-size:bold">

  4. <p style="font-size:bold">

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

The correct CSS property for making text bold is 'font-weight' with value 'bold'. The selector 'p' targets all paragraph elements. Options B and D use non-existent properties ('text-size', 'font-size' for boldness). Option C uses inline style syntax but with an incorrect property.

Multiple choice technology web technology
  1. body {color: black}

  2. {body;color:black}

  3. body:color=black

  4. {body:color=black(body}

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

Valid CSS syntax uses the selector followed by curly braces: selector { property: value }. Option A correctly shows 'body {color: black}' with proper syntax. Options B and D use incorrect brace placement, option C uses colon incorrectly and equals sign instead of braces.

Multiple choice technology programming languages
  1. Extensible MarkUp Language

  2. Extra Modern Link

  3. Extensible MakeUp Language

  4. X-Markup Language

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

XML stands for Extensible Markup Language, a text-based markup language designed to store and transport data in a structured, hierarchical format that is both human-readable and machine-readable.

Multiple choice technology programming languages
  1. Elements may have multiple atrribute with the same name

  2. Quoting attribute is optional

  3. Elements may nest but not overlap

  4. All of the above.

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

XML enforces well-formedness rules where elements must nest properly without overlapping - an end tag must match the most recent start tag. Attributes must be quoted and have unique names within an element.

Multiple choice technology programming languages
  1. Microsoft

  2. Sun

  3. JAVA

  4. W3C

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

XML (eXtensible Markup Language) is a recommendation specified by the World Wide Web Consortium (W3C), the main international standards organization for the World Wide Web. The W3C XML specification was first published in 1998 and has gone through multiple versions (1.0, 1.1). W3C is responsible for maintaining and standardizing web technologies including HTML, CSS, and XML to ensure interoperability across different platforms and systems.