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

  2. Browser

  3. ISP

  4. None of the above

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

JavaScript was originally designed and is primarily used as a client-side (browser-side) scripting language. It runs directly within the user's web browser to manipulate the DOM and create interactive user interfaces.

Multiple choice
  1. @param

  2. @break

  3. @find

  4. @substring

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

In Javadoc, block tags are introduced by an '@' symbol followed by the tag name at the beginning of a line. The tag '@param' is a standard Javadoc block tag used to document a method parameter, whereas the other options are not valid Javadoc tags.

Multiple choice
  1. Hyper Text Makeup Language

  2. Hyper Text Madeup Language

  3. Hypo Text Marked Language

  4. None of the above

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

HTML stands for HyperText Markup Language. Since none of the provided options (Makeup, Madeup, or Hypo) correctly state this, 'None of the above' is the correct choice.

Multiple choice
  1. Crack Site Scripting

  2. Cross Site Server

  3. Cross Site Scripting

  4. Crack Server Scripting

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

XSS stands for Cross Site Scripting. It is a vulnerability where an attacker injects malicious scripts into content delivered to other users.

Multiple choice
  1. True

  2. False

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

JavaScript and Java are distinct programming languages with different purposes, syntax, and execution environments.

Multiple choice
  1. using the alert tag and src property

  2. using the <script> tag and src property

  3. using the document.write and src property

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

To include an external JavaScript file, you use the script tag with the src attribute pointing to the file path.

Multiple choice
  1. The <body> section

  2. The <head> section

  3. Both the <head> section and the <body> section are correct

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

JavaScript can be placed in either the or the section of an HTML document, depending on when the script needs to execute.

Multiple choice

What is the purpose of using HTML in web development?

  1. To define the structure and layout of a web page

  2. To add styling and formatting to a web page

  3. To make a web page interactive

  4. To optimize the performance of a web page

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

HTML (Hypertext Markup Language) is primarily used to define the structure and layout of a web page, including the placement of headings, paragraphs, images, and other elements.