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])

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Give five examples of form control elements.

A

Some examples of form control element:

  1. Adding Text
    - Text Input
    - Password Input
    - Text Area
  2. Making Choices
    - Radio Buttons
    - Checkboxes
    - Drop-down boxes
  3. Submitting Forms
    - Submit button
    - Image buttons
  4. Uploading Files
    - File Upload
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Give three examples of type attribute values for HTML < input> elements.

A

Some examples of type attribute values for HTML < input> elements:

  1. Image Type
  2. Radio
  3. Password
  4. Submit Type
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Is an HTML < input > element a block element or an inline element?

A

An HTML < input > is an inline element.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly