How is background color defined in a Cascaded Style Sheets (CSS) file??

A. ?@bgcolor "color";
B. ?@background="color";
C. ?background: color;
D. ?background-color: color;

Answer: D

Computer Science & Information Technology

You might also like to view...

Write a complete Java program that prompts the user for two nonnegative integer numbers. Your program should handle bad input data.

What will be an ideal response?

Computer Science & Information Technology

Write a function that reads delimited strings from a file with names and phone numbers and uses a database to store the names as the keys and the phone numbers as the values. Take as input the filename and the name of the person who’s phone number you are looking for. How would you look up the phone number to find the name it belongs to?

Note: This question does not specify the type of delimited strings to use, but the most common assumption would be a comma-delimited string. By relational database it could mean a relational database with hash tables, like in Program 165, or a MySQL database. The former would lead to an answer like findPhoneNumber, and the latter would lead to an answer like findPhoneNumber2. To answer the question, you would look up the phone number to find the name it belongs to by checking each of the keys to see if its value matches the phone number, then returning that name.

Computer Science & Information Technology