Computer Knowledge

Markup and Web Languages

1,492 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. Text, Password, Reset, List

  2. Submit, Reset, List, Password

  3. Radio, Reset, List, Password

  4. Submit, Reset, Checkbox, Password

  5. Submit, Reset, Background image, Password

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

Submit, Reset, Checkbox and Password all are input types.

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. Only (a)

  2. Only (b)

  3. Only (c)

  4. Only (d)

  5. None of these

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

It is correct, and follows the right syntax for a function, for example, function message( ).

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.