Question

7.    Write a statement (as you would in CSS) to set the division ContactUs with a...

7.    Write a statement (as you would in CSS) to set the division ContactUs with a black font color and white background. You may use, description, hexadecimal, or RGB code

Homework Answers

Answer #1

Program code for the following question:

<!DOCTYPE html>
<html>
<head>
<style>
.myDiv {
color : black;
background-color: white;
}

body
{
background-color: blue;
}
</style>
</head>
<body>
<div class="myDiv">
<h2>ContactUs</h2>
</div>
</body>
</html>

In the above code, I used

body

{

    background-color: blue;

}

just to make you see the font color and background color of ContactUs, it is optional.

Compilation of the above code:

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
We wish to produce a graphic that is pleasing and easily readable. Suppose we make the...
We wish to produce a graphic that is pleasing and easily readable. Suppose we make the background color pink. What color text font should we use to make the text most readable? Justify your answer.Assume that the color Pink is obtained by mixing equal amounts of Red and White. Use the RGB color model and assume that the amount of each primary color in the model is described in the interval [0 255]. Describe the color of the text font...
We wish to produce a graphic that is pleasing and easily readable. Suppose we make the...
We wish to produce a graphic that is pleasing and easily readable. Suppose we make the background color pink. What color text font should we use to make the text most readable? Justify your answer.Assume that the color Pink is obtained by mixing equal amounts of Red and White. Use the RGB color model and assume that the amount of each primary color in the model is described in the interval [0 255]. Describe the color of the text font...
solve problem #13. Assume that the color Pink is obtained by mixing equal amounts of Red...
solve problem #13. Assume that the color Pink is obtained by mixing equal amounts of Red and White. Use the RGB color model and assume that the amount of each primary color in the model is described in the interval [0 255]. Describe the color of the text font you would choose using these conventions. We wish to produce a graphic that is pleasing and easily readable. Suppose we make the background color pink. What color text font should we...
Part One: Write a program to draw a picture by defining functions and using Turtle Graphics....
Part One: Write a program to draw a picture by defining functions and using Turtle Graphics. Use the following guidelines to write your program. Give your artwork a name. Print the name to the output Draw a picture using the turtle. You can pick the subject of your picture. Some suggestions include a house, a car, a face, a robot. At least two programmer-defined functions must be used. Use at least one color apart from black. The picture should include...
3. Write a JavaScript code that print 3 color (yellow, black, red). You should create an...
3. Write a JavaScript code that print 3 color (yellow, black, red). You should create an array that has all the color then use a loop to print the array.
TASK 2: Open numberic-variable_problem.js file in a text editor (e.g., NotePad++). What is the syntax error...
TASK 2: Open numberic-variable_problem.js file in a text editor (e.g., NotePad++). What is the syntax error in the JavaScript file? Find error message in console in a browser’s developer tool. Fix that error and reload the web page in browser. What is the change in the content displayed in the web page after fix the syntax error in the JavaScript code? Replace the line#18 statement (el.textContent = '$' + total;) in the JavaScript code with    el.textContent = '$' + total.toFixed(3);...
Use 25 to 50 words to discuss one of the Shift, Rotate, Multiplication, Division Instructions and...
Use 25 to 50 words to discuss one of the Shift, Rotate, Multiplication, Division Instructions and give a simple example of the .asm complete program code that you have compiled. Just keep the code simple with not much program description. Put your code in a program and make sure it compiles then copy it. Do some research, using articles other than your textbook would be great also. Please write the code s well or a screenshot also just write on...
Make a statement about how you would best determine if a solution of a specific metallic...
Make a statement about how you would best determine if a solution of a specific metallic cation would be clear and colorless or would have a color. Also make a statement about how you would best determine if the precipitates (when formed) of a specific metallic cation would be white or colored.
Using the React Js / bootstrap below how would you change the background color for this...
Using the React Js / bootstrap below how would you change the background color for this specific page alone. (tried using css but only changes the color of the specific div not the entire page) import React from 'react'; import ReactDOM from "react-dom"; import Layout from '../core/Layout'; import "./searchbar.css" const people = [     "Artificial Intelligence",     "Machine learning",     "Blockchain",     "Internet",     "Robotics",     "Cloud Computing",     "Internet of Things",     "5G",     "Augmented Reality",     "Virtual Reality",   ]; function Search() {     //searching function       const [searchTerm, setSearchTerm] =...
Write a mission statement for Nice Foods. What would you consider to be a good location...
Write a mission statement for Nice Foods. What would you consider to be a good location for Nice Foods? In relation to the mission stated above, outline 4 strategies the Nice Foods can use to achieve its mission.