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

Multiple choice

What is the purpose of using JavaScript 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
C Correct answer
Explanation

JavaScript is primarily used to add interactivity and dynamic behavior to web pages, allowing users to interact with elements such as forms, buttons, and animations.

Multiple choice

What is the recommended file format for publishing virtual tours on the web?

  1. HTML5

  2. Flash

  3. Java

  4. XML

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

HTML5 is the recommended file format for publishing virtual tours on the web, as it is widely supported by modern browsers and devices, providing a seamless and interactive experience for viewers.