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 6RQ
Program Description Answer
The CSS code that is used to configure a class called “news” with red text and light gray background is “.news { color:#FF0000;background-color: #EAEAEA;} ”.
Hence, the correct answer is option “B”.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
a.menu {font-family : Verdana;
font-weight : bold;
font-size : 13px; }
To use the CSS style above, which of the following should be done?
"a.menu" class must be imported for a hyperlink menu.
"a.menu" class must be imported for a hyperlink.
"menu" class must be imported for a hyperlink.
"a" class must be imported for a hyperlink.
Which is the correct CSS syntax?
O body:color=black;
{body:color=black;}
{body;color:black;}
body{color:black};
JavaScript 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.
Chapter 4 Solutions
Basics of Web Design: HTML5 & CSS3 (3rd Edition)
Knowledge Booster
Similar questions
- <style>#sample { color: red; font-size: 50pt; position: absolute; left: 0px; top: 0px; animation-name: move; animation-duration: 3s;} @keyframes move { 0% {color: red; left: 0px; top: 0px; } 50% { color: blue; left: 200px; top: 0px; } 100% { color: red; left: 0px; top: 0px; }}</style><div id="sample">Hi </div> What is the error present in this code? 1) There should be an brace for the sample declaration block. 2) The font-size declaration should not use a hypen 3) There should not be “ “after id. 4) There should not be semicolon after red.arrow_forwardCSS 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?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
- 14. Which symbol must precede the name of a class in CSS?* 15. Which would be a valid CSS id name declaration in the section? * #text2 text2 .text2 none of the abovearrow_forwardAssignment 1: Design the below form using the Java Swing controls and JOptionPane Student Information First Name: Last Name: Title: Nickname: Display Format: [Item 1 Mail Format: Programming Language Skills : C HTML C Plan Text C ustom I Oracle Java ASP.NET E-mail E-mail Address: Print in TextArea Clear Exit Dispaly Welcome Note: Print in TextArea Button: must get all data from the controls in the design and display all in textArea each one in a new Line. Clear Button: clear all data in the form. Exit Button: Exit the Form with confirm dialog. Display Welcome Button: use Dialog box to display Welcome Dialog.arrow_forwardIn CSS3 which of the following selector is used to select and style when you place mouse over it? a. focus b. hover c. mouse d. all of the mentionedarrow_forward
- What is the following code called? @{ ViewData["Title"] = "Employee Page";} 1. a Razor code block 2. An HTML code block 3. A CSS code block 4. A C# Classarrow_forwardHTML/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_forwardWhich is correct for CSS syntax Select one: O a. body:color%3Dblack; O b. {body:color=Dblack;} O c. {body;color:black;} O d. body {color: black;} Clear my choice The CSS box model is a box that wraps around HTML elements that coarrow_forward
- Shee Design the following GUI: Jackets and More Black Blue Brown Red Exit • Each of the four color buttons will display an image of an appropri colored jacket in the picture control whose name is picJacket. The different colored images are stored in the BlackJacket.png, BlueJacket.png, BrownJacket.png, and RedJacket.png files. • When the user clicks the Black button, the black jacket should app the picture control. The same thing for the remaining buttons. • Hint: picJacket.Image My.Resources.BlackJacket V My refers to the current application. V Resources refers to the Resources folder. V BlackJacket refers to the BlackJacket.png file within the Resources folder. V The dot member access operator indicates that BlackJacket member of the Resources folder, which is a member of the c application.arrow_forward3- According to HTML code, which color will be the background color of the paragraph that has text "Second Line" in it. (hint: red+green = yellow, red+blue=purple, red+yellow:orange, green+blue: cyan, blue+red:magenta ) 0pacity Example .red {background-color: red;} .f-bg {background-color: rgb (255,255,0); } .f-bg2 {background-color: rgba(255,255, 0,.5);} .f-bg3 {background-color: rgb(255,255,0); opacity: .4;} First Line Second line Third linearrow_forwardCreate a Application that allows the user to customize the web page. Your design must include CSS. The application should consists of three files as follows a. Ask the user to login and read form the database to determine the authentication. If the user is not known, the second file is loaded asking the user to fill up the form to store personal data b. Write a Java script to check the user is known user c. Use cookies for storing the user details and display the user name when the user moves on the next page.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