Created
June 28, 2017 20:36
-
-
Save lolakoala/743c18d50c19b53f04fa9bfabcd2c939 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
What is the attribute for indicate on the label element? Do you always have to use it? Why or why not? Indicates what you are labeling, references the id attribute of the corresponding widget; must be used and cannot be empty string because the for attribute references the id attribute in the input, also useful for ARIA? | |
What are 5 values for the type attribute of an input element and how do they work? | |
-checkbox- creates a checkbox | |
-text- creates a single line in which you can input text | |
-date- creates a field to input a date MM/DD/YYYY | |
-password- single line text field, text is obscured | |
-textarea- creates a multi-line plain text editing control | |
What is the significance of the name attribute in a form? | |
The name attribute is used to reference elements in a JavaScript, or to reference form data after a form is submitted. | |
What is a fieldset element? | |
is a convenient way to create groups of widgets that share the same purpose, for styling and semantic purposes | |
Why would a legend element be important? it's a label/title for the entire fieldset |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment