Web Development and Design Foundations with HTML5 (9th Edition) (What's New in Computer Science)
9th Edition
ISBN: 9780134801148
Author: Terry Felke-Morris
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Expert Solution & Answer
Chapter 4, Problem 10MC
Program Description Answer
“background-repeat:repeat-y” is used to repeat the image or other graphic from top to downside of the web page.
Hence, the correct answer is option “D”.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
The following code adds a button to a web page. (It doesn't do anything.) Where is the button added?
let body = document.body;
let button = document.createElement('button');
button.innerHTML = "Press Here";
%3D
body.prepend (button);
a. Before the body element.
O b. At the end of the body of the document, after anything else on the page.
In the body of the document, before anything else on the page.
Hands-On Project 1-3In this project, you will explore how to write text to a specific element in your web page in response to theonclick event handler. To complete the exercise, you will apply the following JavaScript expression:document.getElementById('id').innerHTML = 'text';where id is the value of the id attribute for the page element and text is the text of the content to be writteninto the element. You will use this expression to enhance a web form by displaying the message “Thank you foryour order” when the user clicks the Submit button. Figure 1-25 shows the completed web page.Do the following:1. Use your code editor to open project01-03_txt.html from the HandsOnProject_01 folder. Enter your name and the date in the comment section of the document and save it as project01-03.html.2. Scroll down to the bottom of the file and locate the input element for the Submit button.3. Add an onclick event handler to the <input> tag that changes the innerHTML value of the page element…
3- 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 line
Chapter 4 Solutions
Web Development and Design Foundations with HTML5 (9th Edition) (What's New in Computer Science)
Ch. 4.1 - Prob. 1CPCh. 4.1 - Prob. 2CPCh. 4.1 - Prob. 3CPCh. 4.5 - Prob. 1CPCh. 4.5 - Prob. 2CPCh. 4.5 - Prob. 3CPCh. 4.7 - Prob. 1CPCh. 4.7 - Prob. 2CPCh. 4.7 - Prob. 3CPCh. 4 - Prob. 1MC
Ch. 4 - Prob. 2MCCh. 4 - Prob. 3MCCh. 4 - Prob. 4MCCh. 4 - Prob. 5MCCh. 4 - Prob. 6MCCh. 4 - Prob. 7MCCh. 4 - Prob. 8MCCh. 4 - Prob. 9MCCh. 4 - Prob. 10MCCh. 4 - Prob. 11FIBCh. 4 - Prob. 12FIBCh. 4 - Prob. 13FIBCh. 4 - Prob. 14FIBCh. 4 - Prob. 15FIBCh. 4 - Prob. 1AYKCh. 4 - Prob. 2AYKCh. 4 - Prob. 3AYKCh. 4 - Prob. 1HOECh. 4 - Prob. 2HOECh. 4 - Prob. 3HOECh. 4 - Prob. 4HOECh. 4 - Prob. 5HOECh. 4 - Prob. 6HOECh. 4 - Prob. 7HOECh. 4 - Prob. 8HOECh. 4 - Prob. 9HOECh. 4 - Prob. 10HOECh. 4 - Prob. 1WRCh. 4 - Prob. 2WRCh. 4 - Prob. 1FWD
Knowledge Booster
Similar questions
- Create a webpage (as shown below) that has two buttons 'Start' and 'Stop'. When the "Start' button is pressed, Animation starts after half-second (500msec) the website displays the equation based on the generated a random three-digit number is generated and random number. on For example, the generated random number is 956. When the animation starts, the web page will display 956 + 0= 956, • After half second, will be displayed 956 + 20 = 976, then another half second later 956 + 40 = 996, and so on. In this animation, you must use generated random three-digit number. The second number in the equation is increased by 20 every 500 milliseconds. When the button "Stop" is clicked, then the web page stops the animation, whatever the equation is currently displayed will stay there on the page. When the user clicks the start button again, the animation is reset and a new random number is generated. Animation Start Stop 956 + 40 = 996arrow_forwardCreate a web page with three paragraphs and three buttons. Write code for these buttons by following the instructions given below: • When buttonl will be clicked, color of first paragraphs should be blue. • When button2 will be clicked, color of first two paragraphs should be red. • When button3 will be clicked, color of all paragraphs should be green. This is first paragraph. This is first paragraph. This is second paragraph. This is second paragraph. This is third paragraph. This is third paragraph. Button1 Button2 Button3 Button1 Button2 Button3arrow_forwardQuestion: 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_forward
- Add the necessary code (JavaScript, HTML, and/or CSS) to generate a set of lotto numbers. Your page should work as follows: Ask the user the highest number that they want to generate. (Some lotteries are 1 - 47, some 1 - 49, etc.) Be sure that they have given you a number. If the number is not greater than 0, use 50. Ask the user how many numbers they want to generate. Be sure that they have given you a number. If the number is not between 0 and 10, use 6. Create a function that returns a random number between 1 and the highest number. Create an array of numbers. Run the function the correct number of times, putting a random number in each place in the array. Print the arrayarrow_forwarda.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.arrow_forwardHTML PROJECTarrow_forward
- You are going to add some javascript to your webpage to greet the user. All the below instructions can be found with further explanations in the Javascript lectures. Don not only give me the html code, i need javascript If you do not already have them, add two <h1> title tags so they display at the top of your webpage The first tag should have the contents: “Welcome” The second tag should have an id='username' and contents: “Placeholder” All Javascript must go in a file with the extension “.js”, such as “main.js” or “script.js”. Create a file to hold your javascript if one is not already there. Add a script tag at the end of your body tag that includes your javascript file. In your script tag, use the javascript prompt command to save input from the user into a variable Ask the user their name in the prompt command You can name the variable whatever you like Change the second <h1 id=’username’> contents to the name entered by the user it should be stored in the…arrow_forwardCreate a web page with three paragraphs and three buttons. Write code for these buttons by following the instructions given below: When button1 will be clicked, color of first paragraphs should be blue. When button2 will be clicked, color of first two paragraphs should be red. When button3 will be clicked, color of all paragraphs should be green.arrow_forwardTrue or false: the "id" property should be used to style multiple HTML elements simultaneously. a. false b. truearrow_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_forwardWhen a CSS stylesheet is used and class="btn-group" is found in HTML, what CSS selector would style that HTML? A) btn-group B) #btn-group C) .btn-group D) :btn-grouparrow_forwardWrite htmi code for the given image. Create a div having background-colar = red. EESEERER O TTTE.arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education