*NURSING > QUESTIONS & ANSWERS > WGU C777 Unit 5: Forms 2022 with complete solution (All)
WGU C777 Unit 5: Forms 2022 with complete solution Which HTML tag is used to create an HTML form for user input? -Answer- <form> Which attribute specifies whether a form or an input field should... allows the browser to predict the value? -Answer- autocomplete EXAMPLES: <form action="action_page.php" autocomplete="on"> <input type="email" autocomplete="off"> Which attribute specifies that the form input should not be validated when submitted? -Answer- novalidate EXAMPLE: <form action="/action_page.php" novalidate> Which attribute defines the action to be performed when the form is submitted? -Answer- action EXAMPLE: <form action="/action_page.php"> Which attribute specifies how form input should be encoded when submitted to the server? -Answer- enctype EXAMPLE: <form action="/action_page_binary.asp" method="post" enctype="multipart/form-data"> Which attribute specifies the HTTP method to be used when submitting the form data? -Answer- method EXAMPLE: <form action="/action_page.php" method="get" target="_blank"> Which attribute specifies where to display the response that is received after submitting the form? -Answer- target EXAMPLE: <form action="/action_page.php" method="get" target="_blank"> Which attribute refers to pre-defined options contained in a datalist? -Answer- list EXAMPLE:<input list="browsers"> <datalist id="browsers"> </datalist> Which attributes define the minimum or maximum value for an <input> element? -Answer- min and max EXAMPLE: <input type="number" min="1" max="5"> Which attribute defines the maximum length of input allowed in an <input> field? -Answer- maxlength EXAMPLE: <input type="text" maxlength="4"> Which attribute allows the user to enter more than one value in the <input> element? -Answer- multiple EXAMPLE: <input type="file" id="files" multiple> Which attribute checks input into the field against a regular expression, which is a pattern of characters for use in pattern-matching and search-and-replace functions? -Answer- pattern EXAMPLE: <input type="text" pattern="[A-Za-z]{3}"> Which attribute provides a hint to the user of the input value expected in the <input> field? -Answer- placeholder EXAMPLE: <input type="tel" placeholder="123-45-678"> Which attribute requires input in the field before the form can be submitted? -Answer- required EXAMPLE: <input type="text" required> What do we call the process that tests data input to verify whether the input follows a specified format or meets minimum requirements for character number or type? -Answer- user input validation What do we call the process in which the user input in each field of a form is validated before the form is submitted? -Answer- inline validation Which pattern ensures the user enters a three digit country code? -Answer- <input type="text" pattern="[A-Za-z]{3}"> Which pattern ensures the user enters a date formatted as 1/1/2021? -Answer- <input type="text" pattern="\d{1,2}/\d{1,2}/\d{4}"> Which pattern ensures the user enters a valid email address? -Answer- <input type="email" pattern="^.+@.+$"> Which pattern ensures the user enters latitude/longitude? -Answer- <input type="text" pattern="-?\d{1,3}\.\d+"> Which pattern ensures the user enters a price? -Answer- <input type="text" pattern="\d+(\.\d{2})?"> Which pattern ensures the user enters a URL beginning with https? -Answer- <input type="url" pattern="https?://.+"> Which input type displays as round buttons in a group of mutually exclusive pre-determined choices? -Answer- <input type="radio"> Which HTML element submits a user's completed form data to the server for processing? -Answer- <button type="submit"> Which HTML element resets the form data to its initial value? -Answer- <button type="reset"> Which HTML element creates a clickable button that does not directly affect form data and allows text and images to be placed within its tags? -Answer- <button type="button"> [Show More]
Last updated: 2 years ago
Preview 1 out of 6 pages
Buy this document to get the full access instantly
Instant Download Access after purchase
Buy NowInstant download
We Accept:
Can't find what you want? Try our AI powered Search
Connected school, study & course
About the document
Uploaded On
Sep 26, 2022
Number of pages
6
Written in
This document has been written for:
Uploaded
Sep 26, 2022
Downloads
0
Views
147
In Scholarfriends, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.
We're available through e-mail, Twitter, Facebook, and live chat.
FAQ
Questions? Leave a message!
Copyright © Scholarfriends · High quality services·