Web Development and Design Foundations with HTML5 (8th Edition)
8th Edition
ISBN: 9780134323534
Author: FELKE-MORRIS
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Concept explainers
Expert Solution & Answer
Chapter 9, Problem 7MC
Program Description Answer
The “action” attribute is used to specify the name and location of the script that is to be processed.
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
sys.stderr = sys.stdouts
form = cgi.FieldStorage()
print('Content-type: text/html\n')
if debugmode: cgi.print_form(form).
Results: AttributeError: module 'sys' has no attribute 'stdouts' what is incorrect
Check this code for any possible mistake
File "main.py", line 1 <!DOCTYPE html> ^SyntaxError: invalid syntax
** Process exited - Return Code: 1 **Press Enter to exit terminal
Given the html codes below:
<body>
Name: <input id ="txtName" type ="text//><br/>
NIC: <input id = "txtNIC" type = "text"/><br/>
<button id =" btnDisplay" onclick = " validateNIC()"> submit </button>
</body>
Write a function validateNIC() which checks if the NIC fields is not blank and that the length of the NIC is 14. Appropriate messages should be displayed if any of the above validtions fails
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
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- Which of the following specifies the character used to surround fields that contain the delimiter character? (a)quotechar (b)delimiter (c)lineterminator (d)escapechararrow_forwardWhich element of the JavaScript expressiondocument.write("<p>The current time in " + cityName + " is " + currentTime + ".</p>");is a literal? a. cityName b. "<p>The current time in " c. document d. writearrow_forwardTask:1. Create a personal information form using HTML5 that includes fields for various personal details (e.g., name,address, phone number) similar to the slide’s example (you can use any programming language you want)2. Implement input validation using regular expressions for two specific fields: USM ID and USM email.Validation Requirements:• USM Email: The form must validate and only accept USM email addresses in the format user@usm.edu.• USM ID: The form must validate USM IDs in the format W10123456 or w10123456. The USM ID always startswith 'W' or 'w' (one position), followed by 10 (two positions), and any combination of digits (0-9) for the next 6positions.Testing Patterns (USM ID):• Valid:• W10123456• w10123456• Invalid:• abc1012345• A10123456• 9998501234• w999123456• w121234565• W10w12345• Ww85012345• w100ABCDEF• 123456850warrow_forward
- What does the following form do on submission if we have "John" in the fname input and "Jones" in the lname input?: A) It will open up a new window or tab with the page address "/action_page.php? fname=John&lname=Jones" with the response from the submission.B) It will open up a new window or tab with the page address "/action_page.php" with the response from the submission. C) It will display the response with the page address "/action_page.php? fname=John&lname=Jones" in the original window. D) It will display the response with the page address "/action_page.php" in the original window.arrow_forwardWhich statement of the following is used to set 10px as left position of an object? Object.style.position.left='10px' Left=10px Object.style.left='10px' Object.left='10px'arrow_forwardWhich JavaScript expression can you use to retrieve the value from the web form input control with the id “numberOfParticipants”? a. getInputValue("numberOfParticipants") b. let value = document.getElementById("numberOfParticipants") c. document.getElementById("numberOfParticipants").input d. document.getElementById("numberOfParticipants").valuearrow_forward
- Which of the following actions occurs first within the browser upon the activation of a submit button? a. Asubmitevent is fired. b. A request is sent to the server handling the form data. c. The field values are checked for invalid data. d. The JavaScriptsubmit()method is executed.arrow_forwardCreate a Simple Contact us form: This contact us form should have thefollowing fields:a. Firstnameb. Lastnamec. Email Addressd. Telephone Number.e. A submit ButtonThe contact us form should have the following Javascript validation:a. Ability to check that the email entered is a valid email addressb. Ability to restrict the telephone number field from receiving a text in place ofa phone number.c. Ability to display the user details using an alert.arrow_forwardThere are two codes given (one is html code and another is external javascript code): 1. html file <html> <head> <title>JavaScript registration from validation Code</title> <h2>Registration Form</h2> <script src="my-form-validation.js"></script> </head> <body onload="document.form1.userid.focus();"> <form name='form1' onsubmit='formValidation()' > <table width="500" cellpadding="3" style="border-collapse: collapse;"> <tr> <td>User id </td> <td><input type="text" name="userid" size="12" /></td> </tr> <tr> <td>Password</td> <td><input type="password" name="passid" size="12" /></td> </tr> <tr> <td>Name</td> <td><input type="text" name="username" size="50" /></td> </tr>…arrow_forward
- Which statement about this error handling function is correct? function handleErrors(message, url, line) { console.log("The page " + url + " produced the error " + message + "on line " + line); return false; } a. This function replaces the browser’s default error handling. b. This function supplements but does not override the browser’s default error handling. c. This function contains syntax errors. d. The optional parameters sometimes used for error handling functions are omitted.arrow_forwardWhat code would you use to display the title that’s stored in the ViewBag? 1. <p>Title</p> 2. <p>Title: @ViewBag.Title</p> 3. <p>Title: ViewBag.Title</p> 4. <p>Title: <html>ViewBag.Title</html></p>arrow_forward1. What object do you use when creating a form with choices where a user can only choose one answer?a. Combo Box b. Frame c. Check Box d. Option Button2. To save a VBA project with an Excel workbook, the workbook must be saved as what type of file?arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Microsoft Visual C#Computer ScienceISBN:9781337102100Author:Joyce, Farrell.Publisher:Cengage Learning,Np Ms Office 365/Excel 2016 I NtermedComputer ScienceISBN:9781337508841Author:CareyPublisher:CengageProgramming with Microsoft Visual Basic 2017Computer ScienceISBN:9781337102124Author:Diane ZakPublisher:Cengage Learning
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning