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


  2. <hr>

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

To create a horizontal rule in HTML, we can use the <hr> tag.

Now let's go through each option and determine if it is the correct answer:

A. <b>: This tag is used to make text bold, not to create a horizontal rule. So, this option is incorrect.

B. </b><p>: This tag is used to create a paragraph, not a horizontal rule. Therefore, this option is incorrect.

C. <br>: This tag is used to insert a line break, not a horizontal rule. Hence, this option is incorrect.

D. </p><hr>: This tag is specifically used to create a horizontal rule. So, this option is the correct answer.

Therefore, the correct answer is D - <hr>.

Multiple choice technology web technology
  1. /* This is a comment */

  2. 'This is a comment

  3. //This is a comment

  4. <!-- This is a comment -->

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

HTML comments use the syntax . Option A is JavaScript/C-style, option B is not valid HTML comment syntax, and option C is used in programming languages like JavaScript or C++.

Multiple choice technology web technology
  1. <input type='radio' name='rdButton' id='rdButton'>

  2. <input type='check' name='rdButton' id='rdButton'>

  3. <input type='input' name='rdButton' id='rdButton'>

  4. <input type='text' name='rdButton' id='rdButton'>

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

Radio buttons in HTML are created using . The name attribute groups related radio buttons together so only one can be selected at a time. The id attribute is used for label association and scripting purposes.

Multiple choice technology programming languages
  1. That all pages are saved in .asp extensions.

  2. Check that the web server has Microsoft FrontPage extensions installed

  3. Make sure the web server is capable of hosting ASP pages

  4. Check the coding and be sure the ASP code is surrounded with

  5. All of the above

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

Before adding ASP capability, verify the web server supports ASP (IIS or compatible). Option C is correct. Option A (.asp extension) is a consequence, not a prerequisite. Option B (FrontPage) is unrelated. Option D's syntax is incomplete and ASP delimiter check is premature.

Multiple choice technology web technology
  1. Hyperlinks and Text Markup Language

  2. Hyper Text Markup Language

  3. Home Tool Markup Language

  4. Higher Text Markup Language

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

HTML stands for Hyper Text Markup Language, which accurately describes its purpose: a markup language for creating hypertext documents. 'Hyper Text' refers to the interconnected nature of web content through links, and 'Markup Language' indicates it uses tags to structure and format content.