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 9, Problem 11MC
Program Description Answer
The browser displays an input text box when it encounters a new HTML5 form control which it does not support.
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
Jack 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 version
Write a Web page, displaying the following text with styles as close to the example as possible, change my hobbbies to your hobbies. Resize all elements, choose a new font sizes by yourself. Provide your source code in full in a readable format.
The following HTML is loaded into the browser:
a) When the user clicks on the blue region around the button, what will happen?b) When the user clicks “Click me!”, what will happen?
Chapter 9 Solutions
Web Development and Design Foundations with HTML5 (8th Edition)
Ch. 9.4 - Prob. 1CPCh. 9.4 - Prob. 2CPCh. 9.4 - Prob. 3CPCh. 9.6 - Prob. 1CPCh. 9.6 - Describe the purpose of the access key attribute...Ch. 9.6 - Prob. 3CPCh. 9.8 - Prob. 1CPCh. 9.8 - Prob. 2CPCh. 9 - Prob. 1MCCh. 9 - Prob. 2MC
Ch. 9 - Prob. 3MCCh. 9 - Prob. 4MCCh. 9 - Prob. 5MCCh. 9 - Prob. 6MCCh. 9 - Prob. 7MCCh. 9 - Prob. 8MCCh. 9 - Prob. 9MCCh. 9 - Prob. 10MCCh. 9 - Prob. 11MCCh. 9 - Prob. 12FIBCh. 9 - Prob. 13FIBCh. 9 - Prob. 14FIBCh. 9 - Prob. 15SACh. 9 - Prob. 1AYKCh. 9 - Prob. 2AYKCh. 9 - Prob. 3AYKCh. 9 - Prob. 1HOECh. 9 - Prob. 2HOECh. 9 - Prob. 3HOECh. 9 - Prob. 4HOECh. 9 - Prob. 5HOECh. 9 - Prob. 1WRCh. 9 - Prob. 2WRCh. 9 - Prob. 3WRCh. 9 - Prob. 1FWD
Knowledge Booster
Similar questions
- Create two prompts in JavaScript and ask the user what their name is and what their favorite color is. After the user fills out both of these prompts, write a string to the HTML page saying "My name is (inputted name) and my favorite color is (inputted color)"arrow_forwardWhat is the content of the webpage if the following HTML code is executed? <!DOCTYPE html><html><body><!--<h1>Hello World!</h1>--></body></html>arrow_forwardWhen your main page loads, prompt the user for their name and store it in a variable. Then create an alert that welcomes the user to the page using the name they entered. (HINT: the instructions indicate the event handler to use!) On each of your pages, use javascript to display automatically the day/time the page was last updated. (HINT: This is a property of the document!) On at least two of your images on your image page, add a script that displays an alert when the user clicks one of the images. The alert should give a short description or additional information about the image. Add a countdown to something relevant to the company (holiday, event, specials/sales, etc.) and display the output in your HTML. This should update automatically subtracting the date of the event and the current date. The output will look something like "There are ### days until the sale!" where ### is automatically filled in with the number of days calculated using the javascript. This should not be a…arrow_forward
- The following picture shows a sample webpage, you are required to write the HTML and CSS code to produce this result in the browser.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_forwardCreate a web site that will infinitely loop over at least 4 images sequentially displayed in a canvas with a controlled speed sliderUse: javascript: setInterval, clearInterval HTML : < input type="range" > , < img >, <canvas> Please label where I can change the images at as wellarrow_forward
- Q2: Write a JavaScript code to change the background color of a Webpage on the click of a button “change Color”.arrow_forwardWhat is the purpose of coding height and widthattributes on an <img> tag?a. They are required attributes and must alwaysbe included.b. They help the browser render the page fasterbecause it reserves the appropriate space forthe image.c. They help the browser display the image in itsown window.d. none of the abovearrow_forwardBy using the program below: Kindly use CSS, Set the text color for the page to "red", and the text color for <h1> to "blue". <!DOCTYPE html> <html> <head> <style> </style> </head> <body> <h1>This is a Heading</h1> <p>This is a paragraph.</p> <p>This is another paragraph.</p> </body> </html>arrow_forward
- Write an HTML code to produce an output as the following: The output should have:1. Title: Lab Exercise Three2. Background color: Lavender3. Border (Size: 2px, Color: Firebrick)Text: CHANCES FOR SUCCESS (Align: Center, Font family: Tahoma, Font size: Heading 2, Font color: Purple)4. Text: Setting goals is the first step in turning the invisible into the visible (Font size: 15px, Font color:Brown)5. Background color: DarksalmonText: Sometimes we’re tested not to show our weakness but to discover (Align: Center, Font family: Century, Font size: 30px, Font color: Ghostwhite, Font format: Italic) OUR STRENGTHS (Font format: Strong)arrow_forwardHereWrite 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_forward2,3Please help me with this homework! 1. HTML5 a. Configure an alert message to pop up using Javascript when the page is displayed in the browser. Edit the body tag as follows: <body onload="alert ('Today only-10% off on a weekend- coupon code ZenTen');"> . The onload event handler in this case pops up an alert message. b. Add a script block to the head section as follows: <script> function validateForm () { if (document.forms [0]. myEmail. value== "") { (alert (Pleade enter an e-mail address."); return false // end if return true; } end function validateForm </script> Many thanks for your time! Khin. .arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- New Perspectives on HTML5, CSS3, and JavaScriptComputer ScienceISBN:9781305503922Author:Patrick M. CareyPublisher:Cengage Learning
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:9781305503922
Author:Patrick M. Carey
Publisher:Cengage Learning