Basics of Web Design: HTML5 & CSS3 (3rd Edition)
3rd Edition
ISBN: 9780133970746
Author: Terry Felke-Morris, Terry Morris
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Expert Solution & Answer
Chapter 4, Problem 9RQ
Program Description Answer
The code “body { background-color: #FFF8DC; }” 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 is the correct CSS syntax?
O body:color=black;
{body:color=black;}
{body;color:black;}
body{color:black};
Which is correct for CSS syntax
Select one:
O a. body {color: black;}
O b. body:color=black%3;
O c {body:color=black;}
O d. {body;color:black;}
CSS external style sheet code:
Using the class that you put in the first and last div (class"turn") in a pseudo class with hover to turn those divs upside down when the mouse is over it. Remember that there can be no spaces in classname:hover.
What code would I need to turn items in a pseudo class div upside down in a CSS external style sheet?
Chapter 4 Solutions
Basics of Web Design: HTML5 & CSS3 (3rd Edition)
Knowledge Booster
Similar questions
- Question: Tumbling Dice Program - PHP/HTML/CSS Question: Roll two dice 1,000 times. Create a program that simulates the rolling of dice 500 times. Record the result of each roll that equals 7 (e.g. 1+6=7, 2+5=7, 3+4=7) and display totals for the total number of rolls that equal 7. This needs to have an html page, php page, and css page The result, after executing the program, should look similar to: "The number of sevens (7) that occured in 500 dice rolls was: 165"arrow_forwardDefine a function named createBorders that selects // the table inside the "myPage" section. The function should add a CSS border to the table cells that is 2 pixels thick and solid black (use #000 for black). The function should also return the table element. //////////// Hint: You can build a selector from the result of another selector.arrow_forwardWeb Development: You are required to create a simple six-page website using HTML5 and CSS3. This project should include Javascript or a JS Library/Framework. FrameworkUse a CSS framework such as Foundation, Bootstrap, Tailwind CSS, UiKit, Bulma etc. FontsYour fonts must be one of the following sets. Baloo with Montserrat Amaranth with Open Sans Palanquin with Roboto Sansita with Open Sans Playfair Display and Fauna One Type Scale Augmented Fourth Colour Scheme options Choose one of the following options https://coolors.co/palette/ff9f1c-ffbf69-ffffff-cbf3f0-2ec4b6 https://coolors.co/palette/555b6e-89b0ae-bee3db-faf9f9-ffd6ba https://coolors.co/palette/ff6700-ebebeb-c0c0c0-3a6ea5-004e98 https://coolors.co/palette/6b9080-a4c3b2-cce3de-eaf4f4-f6fff8 Digital Asset Must include at least two (2) video assets Must include at least six (6) image assets ( at least one must be *.webp. ) No less than three javascript elements such as on demand header, show hide div etc. Site…arrow_forward
- Each CSS rule begins with a CSS collector which specifies the JavaFX objects that will be styled according to the rule. State whether the statement is true or false. If false, explain why.arrow_forwardFor the following style rules, what is the font size of the h1 heading in pixels?body {font-size: 16px;}body > article {font-size: 0.75em;}body > article > h1 {font-size: 1.5em;} a. 16px; b. 12px; c. 18px; d. 18.25px;arrow_forwardUse the following CSS rule to write a line of HTML code that will display the text “CSC242” in an h1 header and make the text red. .special { color: red; }arrow_forward
- Use the given code to answer the following questions: External.css label { color: darkgray; } home. Html <header> <link ref “stylesheet” type”text/css” href= “external .css” <style> Label { Color: darkblue; } </style> </header> <body style=”color: darkred;”> <p> <input type “checkbox” name =”chkOrange” <label style “color: darkcyan;” for = “chkOrange”>Oranges</label> </p> </body> Which color is shown for the < label> tag? Darkred Darkcyan Darkgray Darkbluearrow_forwardIn CSS, a:hover means : Select one: O a. A link when a users mouse cursor is under it O b. A link when a users' mouse cursor is over it O C. A link the user has visited d. A link the moment it is clicked Which is correct for CSS syntaxarrow_forwardJavaScript all design notvsame as web page remember that. Allala Write the code necesary in javascript to create a webpage that contains a contact form like the one in the attatched picture. To create and style this form, copy the following HTML and CSS code exactly as follows: HTML: <form><label for="myName">Name:</label><input type="text" name="myName" id="myName"><label for="myEmail">E-mail:</label><input type="text" name="myEmail" id="myEmail"›<label for="myComments">Comments:</label><textarea name="myComments" id="myComments" rows="2" cols="20"></textarea><input id="mySubmit" type="submit" value="Submit"›</form> CSS: form { background-color:#eaeaea;font-family: Arial, sans-serif;padding: lOpx; }label { float: left;width: 100px;clear: left;text-align: right;padding-right: lOpx;margin-top: lOpx; }input, textarea { margin-top: lOpx;display: block; }#mySubmit { margin-left: 110px; }.arrow_forward
- HTML/CSS: How to make a sidebar on the left that has two buttons which are the draw mode and the proof mode? Make sure to use HTML and CSS only and show the screenshots of the full code and output.arrow_forwardJavaScript function that serves as a constructor for the Car class. The Car class is to contain the following: Properties: Brand, Model, Year, OdometerMethods: Drive Create a web page with three textboxes and two buttons. The textboxes are for entering a car's brand name, model and year. Of the two buttons one is to show "Enter" and the other "Drive". When clicking the "Enter" button, a new Car object is to be instantiated. Its properties are to be set by the values entered. When clicking the "Drive" button, the Odometer property is to be incremented by 1. Whenever the value in the odometer is divisible by ten, an alert box is to be displayed.arrow_forwardthis html page <!DOCTYPE html> <html lang="en"> <head> <style>*{ background-color: gray;}a{ text-decoration: none; color: yellow; font-size: 20px;}a:hover{ transition: 1.1px;}input{ background-color: #fff;} .div1 { border:2pxoutsetred; background-color:lightblue; text-align:center; }.boxes{ float: left; width: 49%; border: 2px solid black; background-color: gray; color: #fff;} </style> <script> function maxLengthCheck(object) { if (object.value.length > object.maxLength) object.value = object.value.slice(0, object.maxLength) } function isNumeric (evt) { var theEvent = evt || window.event; var key = theEvent.keyCode || theEvent.which; key = String.fromCharCode (key); var regex = /[0-9]|\./; if ( !regex.test(key) ) { theEvent.returnValue = false; if(theEvent.preventDefault) theEvent.preventDefault(); } } function orderfunction(){ alert("Thank you for ordering from my website!!!"); } function cancelfunction(){…arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- EBK JAVA PROGRAMMINGComputer ScienceISBN:9781337671385Author:FARRELLPublisher:CENGAGE LEARNING - CONSIGNMENT
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781337671385
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT