HTML5- Form and Multimedia Flashcards

(54 cards)

1
Q

What is the full form of HTML?

A

Hyper Text Markup Language

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

Give two examples of web browsers

A
  • Google Chrome
  • Safari
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is HTML?

A

HTML is a language in which you can make web pages on the Internet and view them using a web browser

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

What are HTML documents made of?

A

HTML documents are made up of text content and special codes known as tags.

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

What is the function of text content and tags?

A

They tell web browsers how to display the content

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

What is input control?

A

– An INPUT CONTROL is a type of input mechanism on a form.
– A form may contain several different types of input controls classified as DATA or TEXT input controls.

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

What is data input control?

A

A data input control can be a:
- Radio button (RADIO)
- Check box (CHECKBOX)
- Submit button (SUBMIT)
- Reset button (RESET)
- Selection menu (SELECT)

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

What is text input control

A

A TEXT input control allows the user to enter text through the following:
> Text box (TEXT) -
for small amount of text
> Textarea box (TEXTAREA) -
for large amount of text
> Password box (PASSWORD) -
for entering a password

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

What is text control?

A

A text control creates a text box that is used for a single line of input

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

What are the attributes of text control?

A

The text controls have two attributes:
1. MAXLENGTH: determines the number of characters that are displayed on the form.
2. SIZE: specifies maximum length of the input field

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

What is PASSWORD control?

A
  • creates a text box used for single line of input, except that the characters entered into the field can appear as asterisks or bullets.
  • a password text box holds the password entered by a visitor,
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is RADIO control?

A
  • limits the web page visitor to only one choice from a list of choices.
  • each option is preceded by a radio or option button, which typically appears as a circle
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is CHECKBOX control?

A
  • allows a web page visitor to select more than one choice from a list of choices.
  • each choice in a checkbox list can either be on or off
  • by default, all checkboxes are deselected.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is SELECT control?

A
  • creates a selection menu from which the visitor selects one or more choices.
  • this prevents the visitor from having to type information into a text or textarea field.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is TEXTAREA control?

A
  • creates a field that allows multiple lines of input.
  • it is useful when detailed input is required from or desired by a web page visitor.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is SUBMIT button?

A
  • send the information to the appropriate location for processing.
  • a web page form must include a Submit button.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What is RESET button?

A
  • clears any input that was entered in the form. resetting the input controls back to the default.
  • a web page form must also include a reset button
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What is a FORM?

A
  • we can use forms to collect information from people who visit our websites.
  • a form has input fields for users to enter information and limits choices to valid options to avoid incorrect data entry.
  • forms provide an easy way to collect required information.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What are the three important parts of a web page?

A

Web page forms have three important parts
i. a <FORM> tag
ii. form input elements
iii. a SUBMIT button

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

While making a form, why do we write HTML?

A

While designing and building a form, you write HTML to define the different objects that allow users to type or select information.

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

What does these objects include?

A

These objects can include text fields, radio buttons, checkboxes and other options.

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

What should all forms also include?

A

All forms should include a SUBMIT BUTTON for sending the data to a web server for processing

23
Q

When should we set up a form?

A

We must set up a form before we can add information to it.

24
Q

What should we do in order to set up a form?

A

To set up a form, we need to specify two important information, i.e. METHOD and ACTION property of <FORM> tag.

25
What is METHOD property?
METHOD property tells the form how to transfer the data to the form processor, which is your CGI script or e-mail address.
26
What values can be assigned to METHOD property?
We can assign either of the two values to the METHOD property, which are: GET and POST.
27
What is GET value?
- if the METHOD property of FORM is set to GET, then the data in the form is given to the form processor in the form of environment variable (QUERY_STRING). - if no value is given to METHOD property of
tag , the default value is set to GET.
28
What is POST value?
If the METHOD property of FORM is set to post, then the data in the form is given to the form processor as the standard input to the program.
29
What is ACTION property?
ACTION property of the tag tells what action the form should take when the user presses the SUBMIT button.
30
What should we do if we would like to receive the e-mail without an attachment in a text form? OR What should we do if we would want to receive the information as text in our e-mail?
In the tag, type ENCTYPE= "TEXT/PLAIN"
31
ACTION= '?', what should we replace '?' with?
1. With the location of your CGI script on your web server that will process the information submitted by your form. 2. with the e-mail address, if we would like to get the information to it.
32
What is the purpose of a text box?
>> A text box allows users to enter a line of text. >> text boxes are normally used for entering names and addresses
33
What is a DEFAULT TEXT VALUE?
A DEFAULT TEXT VALUE appears in the text box when the user views the form.
34
What is the purpose of default text value?
We can use DEFAULT VALUES to: - display information about the type of data required - give users an example of the type of data you are looking for. - show a popular choice or response
35
What should we do to specify a default?
Add the VALUE attribute to the tag
36
What is the purpose of a password box?
A password bow allows a reader to enter confidential or secret information, such as credit card number and password.
37
How does a password box differ from a standard text box?
It differs from a standard text box in a manner that when a user types in any character, an asterisk or a bullet appears for each character typed on screen.
38
What is the purpose of large text area?
A large text area allows visitors to enter several lines of input. It is ideally used for getting comments and feedbacks from the visitors.
39
What is the purpose of READONLY attribute?
If we want to display default text in a text area and do not want users to move or edit the text, we can use the READONLY attribute.
40
How can we use the READONLY attribute?
If we want to use a large text area to explain something about our form or offer detailed instructions, we can place the READONLY attribute without assigning a value within the