Introduction To Web Development
week 5 Quiz Answer
Q1) What is true of HTML forms?
Q2) Which type of form input hides what the user types?
- Forms must be printable to be useful
- They can be used to gather almost any information from visitors
- Forms are primarily used for signing up for things
- All of these are true
- text
- radio
- secret
- password
- text with a value
Q3) What is true of radio buttons?
Q4) What do we know about checkboxes? (Select all that apply.)
- They enable live radio streaming
- They must have the same name to work as a group
- The must have the same value to work as a group
- There is a limit of three radio buttons per group
- Advertisements
Q4) What do we know about checkboxes? (Select all that apply.)
- We can check one, some or all (unlike radio buttons)
- They have a different shape than radio buttons
- They only work in conjunction with radio buttons
- All of these are true
Q5) What do we know about the input type number?
Q6) Why might we consider using the date input type?
- max is required, but min is not
- min is required, but max is no
- Neither min nor max is required
- Both min and max are required
- It gives the user an easy way to input a date
- It allows a user to type a date if they prefer
- It prevents invalid date formats
- All of these are true
Q7) Which of these strings match the HTML5 pattern=”[A-Za-z]{3} (Select all that apply.)
Q8) If using regular expressions to validate input, it may be better to use JavaScript than HTML5. Why?
- usa
- AU
- GER
- US3
- JavaScript requires less code
- Regular expressions are easier to write in JavaScript
- HTML5 pattern isn’t supported in all browsers
- The JavaScript approach is not supported in all browsers
Q9) Are tables and HTML forms compatible?
Q10) JavaScript can be maintained in a separate file by using which attribute of the script tag?
- Forms can be used to give tables structure
- No, tables and forms are incompatible
- Yes, if we use the table attribute of a form
- Tables can be used to give a form structure
- Tables can be used instead of forms if we provide an action attribute
- action
- dest
- type
- src
- source
Q11) A placeholder in an HTML form refers to
Q12) What is true of the built JavaScript function toUpperCase() (Select all that apply.)
- Is a nice feature, but it requires a lot of code
- A kind of prompt for the user’s input
- A place for to insert JavaScript code later.
- A special comment to remind us what feature we want to work on next
- It makes all letters in a string upper case
- It works on JavaScript strings
- It must be used when processing forms
- It makes most of the characters in a string upper case
---------------------------------------------------------------------------------------------------------------------------------------------
Introduction To Web Development
---------------------------------------------------------------------------------------------------------------------------------------------
2 Comments
Web Development in Dubai
ReplyDeletehttps://www.nsreem.com/ourservices/web-development/
If you are looking for develop customized Dynamic Web Development in Dubai, E-Commerce Web Development in Dubai then NSREEM is #1 Web Development Company in India.
1633154961202-7
Nice article thanks for sharing
ReplyDelete