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 html
  1. Quit

  2. Closing

  3. Exit

  4. Anti

  5. Deactivate

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

To solve this question, the user needs to know the basic structure of HTML and how tags work. In HTML, the opening tag is used to define a specific feature or element, and the closing tag is used to indicate the end of that feature or element. This creates a nested structure in which the content within the opening and closing tags is affected by that feature or element.

Now, let's go through each option and explain why it is right or wrong:

A. Quit: This option is incorrect because there is no HTML tag named "Quit". Therefore, the browser would not apply the feature of a tag until it encounters a Quit tag because it does not exist.

B. Closing: This option is correct. The browser applies the feature of a tag until it encounters its closing tag. For example, if an

tag is used to define a heading, the browser would apply the formatting of the

tag to the text until it encounters the closing

tag.

C. Exit: This option is incorrect because there is no HTML tag named "Exit". Therefore, the browser would not apply the feature of a tag until it encounters an Exit tag because it does not exist.

D. Anti: This option is incorrect because there is no HTML tag named "Anti". Therefore, the browser would not apply the feature of a tag until it encounters an Anti tag because it does not exist.

E. Deactivate: This option is incorrect because there is no HTML tag named "Deactivate". Therefore, the browser would not apply the feature of a tag until it encounters a Deactivate tag because it does not exist.

The Answer is: B (Closing)

Multiple choice html
  1. Tags

  2. Codas

  3. Slashes

  4. Properties

  5. Code

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

HTML tags are the codes enclosed in angle brackets that control how document content appears and is structured. Examples include ,

,

. 'Codas', 'Slashes', and 'Properties' are not HTML terminology. While tags can have properties (attributes), the tags themselves are the controlling codes.

Multiple choice html
  1. Browser

  2. Editor

  3. Converter

  4. Processor

  5. Parser

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

An HTML converter transforms text from one format (like plain text, Word, RTF) into HTML code. Browsers display HTML (they don't convert formats), editors help write HTML, processors handle it, and parsers read it - but converters specifically transform between formats.

Multiple choice html
  1. True

  2. False

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

HTML tags are case-insensitive, meaning , , and all work identically in standard HTML. This differs from XHTML (which requires lowercase) and XML (which is case-sensitive), but HTML itself treats uppercase and lowercase tags as equivalent.

Multiple choice html
  1. Hypertext Mailing List

  2. Hypertext Mark Language

  3. Hypertext Markup Language

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

HTML stands for Hypertext Markup Language. 'Hypertext' refers to links connecting documents, 'Markup' means tags annotate content, and 'Language' indicates it's a formal syntax. Option B 'Mark Language' is incorrect - it's 'Markup' (one word), not 'Mark'.

Multiple choice html
  1. Iframe

  2. Inframe

  3. frame

  4. inlineframe

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

The tag creates an inline frame that embeds another document within the current page. Option C 'frame' creates frameset-style frames (a different, older technology), and options B and D ('Inframe', 'inlineframe') are not valid HTML elements.

Multiple choice html
  1. 6

  2. 8

  3. 256

  4. 16

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

To solve this question, the user needs to know about the color names recognized by HTML.

HTML defines a set of 16 named colors that can be used in your web pages. These colors are based on the VGA color set, which was developed back when CRT monitors were popular. With the advent of modern displays, these colors may no longer be as relevant, but they are still recognized by all versions of HTML.

Therefore, the correct option is:

The Answer is: D. 16

Multiple choice html
  1. True

  2. False

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

HTML heading tags range from H1 (largest) to H6 (smallest). H1 represents the most important, top-level heading and renders in the largest font size by default. H6 is the least important heading level and displays smallest. The hierarchy is H1 > H2 > H3 > H4 > H5 > H6.

Multiple choice html
  1. Body

  2. Head

  3. Division

  4. Table

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

To answer this question, the user needs to know the basic structure of an HTML document. The HTML document consists of two main parts, the head and the body. The head section contains metadata, such as the page title, while the body section contains the visible content of the webpage. Therefore, the correct answer is:

The Answer is: B, Head.

Option A, Body, is incorrect because the body section contains the visible content of the webpage, such as text, images, videos, etc.

Option C, Division, is incorrect because the division tag

is a container tag that is used to group related elements together.

Option D, Table, is incorrect because the table tag is used to create a table on a webpage.

Multiple choice javascript
  1. response.write("Hello World")

  2. document.write("Hello World")

  3. ("Hello World")

  4. echo("Hello World")

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

In client-side JavaScript, the correct method to write output to the HTML document is document.write(). The response.write() method is used in server-side ASP/VBScript, not JavaScript. Parentheses alone don't output anything, and echo() is a PHP construct, not JavaScript.