HTML-FORMS Flashcards
1
Q
What is the purpose of an HTML form element?
A
Form controls live inside a < form> element. This element should always carry the action
attribute and will usually have a method and id attribute too.
(Note: Additional spaces have been added here and there to abide by the website’s display rules. [Cannot display code without premium version])
2
Q
Give five examples of form control elements.
A
Some examples of form control element:
- Adding Text
- Text Input
- Password Input
- Text Area - Making Choices
- Radio Buttons
- Checkboxes
- Drop-down boxes - Submitting Forms
- Submit button
- Image buttons - Uploading Files
- File Upload
3
Q
Give three examples of type attribute values for HTML < input> elements.
A
Some examples of type attribute values for HTML < input> elements:
- Image Type
- Radio
- Password
- Submit Type
4
Q
Is an HTML < input > element a block element or an inline element?
A
An HTML < input > is an inline element.