HTML Quiz - 2

Description: HTML Quiz - 2
Number of Questions: 15
Created by:
Tags: html
Attempted 0/15 Correct 0 Score 0

Relative path make your hypertext links______.

  1. Portable

  2. Discrete

  3. Uniform


Correct Option: A

AI Explanation

To answer this question, you need to understand the concept of relative paths in hypertext links.

Option A) Portable - This option is correct because relative paths make hypertext links portable. Relative paths specify the location of a linked resource relative to the current location of the document. This means that if the document and the linked resource are moved to a different location or directory, the relative path will still work correctly. It allows for easy transfer of the document and its linked resources without requiring changes to the absolute URLs.

Option B) Discrete - This option is incorrect because relative paths do not make hypertext links discrete. The term "discrete" refers to something separate or distinct, which is not directly related to the concept of relative paths in hypertext links.

Option C) Uniform - This option is incorrect because relative paths do not make hypertext links uniform. The term "uniform" refers to something consistent or standardized, which is not directly related to the concept of relative paths in hypertext links.

Therefore, the correct answer is Option A) Portable.

A_____structure starts with a general topic that includes link to more specific topics.

  1. Hierarchical

  2. Linear

  3. Mixed


Correct Option: A
Explanation:

To answer this question, the user needs to be familiar with the different types of structures used in organizing information.

The correct answer is:

A. Hierarchical

Explanation:

A hierarchical structure is a type of organization that begins with a general topic and then branches out into more specific subtopics. This type of structure is often depicted as a tree or pyramid, with the topic at the top and the subtopics branching out below it. Each subtopic may have its own subtopics, creating a hierarchical structure.

B. Linear

A linear structure, on the other hand, presents information in a straight line or sequence. There is no branching out into subtopics, and the information is presented in a clear, chronological order.

C. Mixed

A mixed structure combines elements of both hierarchical and linear structures. It may start with a general topic and then branch out into subtopics, but these subtopics may also be presented in a linear sequence.

Therefore, the correct answer is:

The Answer is: A. Hierarchical

Which of the following path is supported by HTML?

  1. Ralative

  2. Defererenced

  3. Absolute and Relative


Correct Option: C

You cannot designate an inline image as a hypertext link.

  1. True

  2. False


Correct Option: B

Because each computer differs in terms of what fonts it can display, each individual browser determines how text is to be displayed.

  1. True

  2. False


Correct Option: A

You do not have to connect to the internet to verify changes to a Web page on your computer.

  1. True

  2. False


Correct Option: A

You can combine structures e.g, linear and hierarchical.

  1. True

  2. False


Correct Option: A
Explanation:

To solve this question, the user needs to have knowledge of data structures and their characteristics.

The given statement is:

"You can combine structures e.g, linear and hierarchical."

Now, let's analyze each option to determine if it is right or wrong:

A. True: This option is correct. It is possible to combine different data structures, such as linear and hierarchical structures, to create more complex and efficient data organization systems. For example, a tree data structure can be used to represent a hierarchical relationship within a linear structure like an array or a linked list.

B. False: This option is incorrect. The statement clearly states that you can combine different data structures, so the option "False" is not the correct answer.

The Answer is: A

  1. Hypertext Mailing List

  2. Hypertext Mark Language

  3. Hypertext Markup Language


Correct Option: C

What is the tag for an inline frame?

  1. Iframe

  2. Inframe

  3. frame

  4. inlineframe


Correct Option: A

Can you create an e-mail form with auto responder using form action method=mailto:youdomainname.com?

  1. Yes

  2. No


Correct Option: B

AI Explanation

To answer this question, you need to understand the limitations of the mailto form action method.

Option A) Yes - This option is incorrect. The mailto form action method is used to open the user's email client with a pre-filled email when the form is submitted. However, it does not support auto-responders. Additionally, using the mailto method in the form element's action attribute is not considered a best practice, as it relies on the user's email client being properly configured.

Option B) No - This option is correct. The mailto form action method does not support auto-responders. If you want to implement an auto-responder for an email form, you would need to use server-side scripting or a third-party service that provides this functionality.

The correct answer is B.

What is the most widely use e-mail form script?

  1. ASP

  2. PHP

  3. Perl CGI

  4. JSP


Correct Option: B
Explanation:

To determine the most widely used email form script, we need to consider the popularity and usage of different programming languages for web development.

Now, let's go through each option and evaluate its suitability for creating email form scripts:

A. ASP (Active Server Pages): ASP is a server-side scripting language developed by Microsoft. While it is capable of handling email form scripts, it is not the most widely used option compared to other languages.

B. PHP (Hypertext Preprocessor): PHP is a popular server-side scripting language that is widely used for web development. It has built-in functions and libraries for handling email form scripts, making it a common choice for developers. PHP is known for its ease of use, flexibility, and extensive community support. Therefore, option B is the most likely correct answer.

C. Perl CGI (Common Gateway Interface): Perl CGI is a scripting language often used for web development. While it is capable of handling email form scripts, it is not as widely used as PHP.

D. JSP (JavaServer Pages): JSP is a technology used for developing web applications using Java. Although JSP can handle email form scripts, it is not as commonly used as PHP in web development.

Based on the popularity and usage of different programming languages for web development, the most widely used email form script is PHP (option B).

The Answer is: B. PHP

There are_____color names recognized by all version of HTML.

  1. 6

  2. 8

  3. 256

  4. 16


Correct Option: D
Explanation:

To solve this question, the user needs to know about the color names recognized by HTML.

HTML defines a set of 16 named colors that can be used in your web pages. These colors are based on the VGA color set, which was developed back when CRT monitors were popular. With the advent of modern displays, these colors may no longer be as relevant, but they are still recognized by all versions of HTML.

Therefore, the correct option is:

The Answer is: D. 16

Software programs, like your Web browser, use a mathemathical approach to define color.

  1. True

  2. False


Correct Option: A

AI Explanation

To answer this question, you need to understand how software programs define color. Let's go through each option to understand why it is correct or incorrect:

Option A) True - This option is correct because software programs, including web browsers, use a mathematical approach to define color. Colors in digital devices are represented using numerical values for red, green, and blue (RGB) channels. These values are then used in mathematical formulas to determine the final color displayed on the screen.

Option B) False - This option is incorrect because software programs do use a mathematical approach to define color.

The correct answer is A) True. This option is correct because software programs, including web browsers, use a mathematical approach to define color.

If you want to increase the font size by 2 relative to the surrounding text, you enter +2 in the tag.

  1. True

  2. False


Correct Option: A

AI Explanation

To answer this question, we need to understand how to increase the font size using HTML tags.

In HTML, to increase the font size relative to the surrounding text, we can use the <big> tag. The <big> tag increases the font size by one level compared to the default size.

To increase the font size by 2 relative to the surrounding text, you can use the <big> tag inside another <big> tag. Each nested <big> tag increases the font size by one level.

Therefore, the statement "If you want to increase the font size by 2 relative to the surrounding text, you enter +2 in the tag." is false. The correct answer is B) False.

- Hide questions