Web Development and Design Foundations with HTML5 (8th Edition)
8th Edition
ISBN: 9780134322759
Author: Terry Felke-Morris
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Expert Solution & Answer
Chapter 3, Problem 9MC
Program Description Answer
The code body { background-color: #00CED1; } is used to configure the background color for a web page using CSS.
Hence, the correct answer is option “A”.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
Which of the following is the correct syntax in CSS for adding a background color in HTML?
a.
<body background="yellow">
b.
<body style="background-color:yellow">
c.
<background color="yellow">text<background>
d.
<background>yellow</background>
Create a styles.css page and add the following styles?
H1
Background color: #f03Border on the bottom with the following rules
Width: thin
Style: solid
Color: #003
Centered textMargin on all sides: 35 pixels
H2
Text color: #333, bold
p
Font: GeorgiaText color: #030Padding of 15 pixels on all sides
li
Font family: ArialBackground color: grayText color: black, boldText size: 18 points
a
Color for all hyperlinks: Dark red: #CC0000
Rollover color for all hyperlinks: Dark green: #060
One additional style of your choice
In CSS3 which of the following element is used to create any shape that consists of only straight lines? a. <polyogn> b. <polyline> c. <lines> d. <multiline>
Chapter 3 Solutions
Web Development and Design Foundations with HTML5 (8th Edition)
Ch. 3.4 - Prob. 1CPCh. 3.4 - Prob. 2CPCh. 3.4 - Prob. 3CPCh. 3.8 - Prob. 1CPCh. 3.8 - Prob. 2CPCh. 3.8 - Prob. 3CPCh. 3 - Prob. 1MCCh. 3 - Prob. 2MCCh. 3 - Prob. 3MCCh. 3 - Prob. 4MC
Ch. 3 - Prob. 5MCCh. 3 - Prob. 6MCCh. 3 - Prob. 7MCCh. 3 - Prob. 8MCCh. 3 - Prob. 9MCCh. 3 - Prob. 10MCCh. 3 - Prob. 11MCCh. 3 - Prob. 12FIBCh. 3 - Prob. 13FIBCh. 3 - Prob. 14FIBCh. 3 - Prob. 15FIBCh. 3 - Prob. 1AYKCh. 3 - Prob. 2AYKCh. 3 - Prob. 3AYKCh. 3 - Prob. 1HOECh. 3 - Prob. 2HOECh. 3 - Prob. 3HOECh. 3 - Prob. 4HOECh. 3 - Prob. 5HOECh. 3 - Prob. 6HOECh. 3 - Prob. 7HOECh. 3 - Prob. 8HOECh. 3 - Prob. 9HOECh. 3 - Prob. 1WRCh. 3 - Prob. 2WRCh. 3 - Prob. 1FWD
Knowledge Booster
Similar questions
- 1) Which of the following are valid CSS properties? (There are multiple correct options. Please select all of them.) Group of answer choices a) border-up-width b) border-down-color c) border-left-style d) border-right 2) Suppose you try to set a border on a table by using the following CSS rule: td { border: 1px solid black; } and you notice that there are gaps between table cell borders. If you want a continuous border between table cells, you should add which of the following CSS rules? Group of answer choices a) table { border-collapse: collapse; } b) tr { border: 1px solid black; } c) table { border: 1px solid black; } d) table { border-collapse: separate; } 3) Suppose we set the float property on a <div> element. Which of the following statements are correct? (There are multiple correct options. Please select all of them.) Group of answer choices a) The elements after the floated element are moved up. b) The floated element is taken out of the normal flow. c) The elements…arrow_forwardJack wants to create a website that loads differently on different browsers as well as different versions of each browser. Which of the following would be the best practice? A) Use Conditional Comments B) Use Stylesheet for detecting and loading different CSS files C) Use Javascript to detect and load a different CSS file D) It is not possible to detect a browser and/or its versionarrow_forwardi. Write one CSS statement to change the color of all the text in paragraphsto \blue". ii. Tim has written the following CSS statement:a:visited fcolor: green; font: 10ptgDescribe the e ects of the CSS statement.arrow_forward
- 8.In CSS which of the following is used for spread radius? a. blur b. spread c. color d. v-offsetarrow_forwardCan you run this code, it dosen't work for me. To center the title "NJIT Credit Union" in the page, you can use the following HTML code:- <!DOCTYPE html><html> <head> <title>NJIT Credit Union</title> <style> /* Center the title */ h1 { text-align: center; } </style> </head> <body> <h1>NJIT Credit Union</h1> <!-- Add other elements here --> </body></html> Step 3 To add a background color to the client, you can use the CSS background-color property. For example, to set the background color to light blue, you can use:- body { background-color: lightblue;} So the complete HTML code would be:- <!DOCTYPE html><html> <head> <title>NJIT Credit Union</title> <style> /* Center the title */ h1 { text-align: center; } /* Set the background color */ body {…arrow_forwardwhats the difference between the two CSS selectors? p .aaap.aaaarrow_forward
- You have a division with an ID = 'div0'. What JavaScript statement would allow you to change the CSS background color of that particular division to green? document.getElementById('div0').style.background-color='green'; document.getElementByName('div').backgroundColor='green'; document.getElementById('div0').style.backgroundColor='green'; document.getElementByClassname('div0').style.backgroundColor='green';arrow_forwardPlease help me with this question. I am having trouble understanding what to do. The HTML code is provided in one of the images below as well as the instructions. The client_side.js and the CSS code are provide below Thank you CLIENT; var url = "http://localhost:3000/post"; var myID; var guessWord; function resetGame(){ var myName = prompt("What is your name?") document.getElementById("mistakes").innerHTML = "Wrong Letters: " // request server to start a new game! $.post(url+'?data='+JSON.stringify({ 'name':myName, //client's identity on the server 'action':'generateWord'}), response); } function printGuess(){ //you write code here! //1. Locate the HTML element with ID 'guessarea' //2. Cycle through the 'guessWord' array and write // each character to the 'guessarea' in turn } function makeGuess(){ //ask the server to validate the guess $.post(…arrow_forwardWhich JavaScript expression references the first element in an HTML document that belongs to the “sideBar” class? a. document.getElementByClassName("sideBar")[0] b. document.getElementsByClassName("sideBar")[1] c. document.getElementByName("sideBar") d. document.getElementsByClassName("sideBar")[0]arrow_forward
- Describe what is incorrect with the following CSS code, which causes a web page containing it not to display a border when rendered in a browser:h2 { background-color: #FF0000border-top: thin solid #000000 }arrow_forwardWrite the embedded CSS to style the following parts of a web page background color of website “light green” UTAS head level1 background color “blue”, while text color is “white” the colleges are head level3 background color “yellow”, while the text color is red. Use discerption list to display branches of CAS and education colleges Sample outputarrow_forwardWhich HTML tag would configure a scrolling textbox with the name “comments”, 2 rows, and 30characters?a. <textarea name="comments" width="30"rows="2"></textarea>b. <input type="textarea" size="30"name="comments" rows="2">c. <textarea name="comments" rows="2"cols="30"></textarea>d. <input type="comments" rows="2"name="comments" cols="30">arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Programming with Microsoft Visual Basic 2017Computer ScienceISBN:9781337102124Author:Diane ZakPublisher:Cengage Learning
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning