Tag: web technology

Questions Related to web technology

8.What is the name of the proposed software application that would allow users of automated teller machines (ATMs) to alert the police of a forced cash withdrawal by entering their personal identification number (PIN) in reverse order?

  1. (A)ATM SafetyPIN

  2. (B)ATM SafetyPro

  3. (C)ATM SafetyCode

  4. (D)ATM SafetySign

  5. (E)ATM SafetyDigit


Correct Option: A

9.In the MICR Code Line Structure what do represent the first three digits of Sort field number consisting of nine digits?

  1. (A)City

  2. (B)Bank

  3. (C)Branch

  4. (D)Account Type

  5. (E)None of the above


Correct Option: A
  1. Colorful Style Sheets

  2. Cascading Style Sheets

  3. Creative Style Sheets

  4. Computer Style


Correct Option: B

What is the correct HTML for referring to an external style sheet?

  1. mystyle.css

  2. None of the above


Correct Option: C

Where in an HTML document is the correct place to refer to an external style sheet?

  1. In the section

  2. At the top of the document

  3. In the section

  4. At the end of the document


Correct Option: A

Which HTML tag is used to define an internal style sheet?

  1. None of the above


Correct Option: A

Which is the correct CSS syntax?

  1. {body;color:black}

  2. {body:color=black(body}

  3. body {color: black}

  4. body:color=black


Correct Option: C

How do you insert a comment in a CSS file?

  1. /* this is a comment */

  2. // this is a comment

  3. // this is a comment //

  4. ' this is a comment


Correct Option: A

AI Explanation

To answer this question, you need to understand how to insert comments in a CSS file. Let's go through each option to understand why it is correct or incorrect:

Option A) /* this is a comment / - This option is correct because in CSS, comments are written using the / comment / syntax. Any text enclosed within / and */ will be treated as a comment and will not be interpreted as CSS code.

Option B) // this is a comment - This option is incorrect. In CSS, the // syntax is not used for comments. This syntax is used in languages like JavaScript or C++.

Option C) // this is a comment // - This option is incorrect for the same reason as Option B. The // syntax is not used for comments in CSS.

Option D) ' this is a comment - This option is incorrect. In CSS, single quotes ('') are used for specifying string values, not for commenting out code.

The correct answer is Option A. This option is correct because the /* comment */ syntax is used for inserting comments in a CSS file.

Which property is used to change the background color?

  1. color:

  2. bgcolor:

  3. background-color:

  4. None of the above


Correct Option: C

AI Explanation

To answer this question, you need to understand CSS (Cascading Style Sheets) properties.

The correct answer is C) background-color.

Explanation:

A) color: This property is used to change the text color, not the background color.

B) bgcolor: This property was used in older versions of HTML to change the background color, but it is no longer supported in modern web development.

C) background-color: This property is used to change the background color of an element. It allows you to specify a color using various formats such as named colors (e.g., "red", "blue"), hexadecimal values (e.g., "#FF0000", "#0000FF"), RGB values (e.g., "rgb(255, 0, 0)", "rgb(0, 0, 255)"), or HSL values (e.g., "hsl(0, 100%, 50%)", "hsl(240, 100%, 50%)").

D) None of the above: This option is incorrect because the correct answer is C) background-color.

Therefore, the correct answer is C) background-color. This option is correct because it is the CSS property used to change the background color of an element.