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
  1. <'a href=url> Text to be displayed>

  2. <'a href=url Text to be displayed<'a>

  3. <'a href=url> Text to be displayed<'/a>

  4. <'a href=url> Text to be displayed<'a>

  5. <'a href=url, Text to be displayed>

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

This is the correct syntax for creating link to other pages.

Multiple choice
  1. declaration tag

  2. expression tag

  3. directive tag

  4. scriplet tag

  5. none of these

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

All options are correct. Hence, ' none of these' is the correct answer.

Multiple choice
  1. All 1, 2, 3, and 4

  2. Only 2, 3 and 4

  3. Only 1, 2, and 4

  4. Only 1, 2, and 3

  5. Only 1 and 2

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

Both statements 1 and 2 are true. Statements 1 and 2 are correct while statement 3 is not because HTML is not case sensitive.

Multiple choice
  1. write a paragraph

  2. make the letters bold

  3. break the line

  4. break the table

  5. none of these

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

Yes, this is the correct answer as <br> tag is used to break the line.

Multiple choice
  1. 1,2,3,5

  2. 1,2,4,5

  3. 2,3,4,5

  4. 1,2,3,4

  5. 1,3,4,5

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

Since, HTML files run as a static web page, also JavaScript is executed in HTML  and it is also an interpreted language. So, all the given statements are correct.

Multiple choice
  1. Names can contain letters, numbers, and other characters.

  2. Names cannot start with a number or a punctuation character.

  3. Names cannot start with the letters, such as xml.

  4. Names cannot contain spaces.

  5. None of these

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

All the options are correct.

Multiple choice
  1. XML elements starts with opening tag but it does not need a closing tag.

  2. XML documents may or may not have a root element.

  3. XML attribute values need to be quoted.

  4. XML elements need to be properly nested.

  5. XML tags are not case sensitive.

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

This is correct because if we do not put the elements properly, it alters the web page. So, XML elements must be properly nested.