Topics to master 2 <3 Flashcards
input (entrada)
Specifies an input field where the user can enter data.
type attribute
Specifies the input type to display
input types
- button
- text
- radio
- checkbox
- color
- date
- file
- password
(main ones)
fieldset
Es una caja que agrupa elementos relacionados entre si de un formulario.
ex:
name:
age:
country:
year:
legend
we use it to describe a heading or main text for the fieldset element.
datalist
Specifies a drop-down list of pre-defined options.
output
We use it to represent the result of a calculation (with JavaScript)
output (tag) name (attribute)
Specifies a name for the output element
output (tag) for (attribute)
Specifies the relationship between the result of the calculation, and the elements used in the calculation.
what is the relationship between input list y datalist id?
Basically, el input list y datalist id tienen el mismo valor porque están conectados