Search Header Logo
HTML Forms

HTML Forms

Assessment

Presentation

Computers

Professional Development

Hard

Created by

Lazaro Alsina

Used 35+ times

FREE Resource

9 Slides • 6 Questions

1

HTML Forms

How to build a form on your website

media

2

Why would you need a form?

Forms are a great way of getting information from users and reacting to it.


For example, taking someone's username and password to log in to your website!

media

3

Important Elements to start your Form.

  • &

  • (Empty tag)

media

4

The importance of labels & attributes in forms.

  • type

  • id

  • name

  • placeholder

  • etc

media

5

The power the attribute "type"

The attribute type has many uses in element.


Values:

1.Test

2.Password

3.Numbers

4.Etc!

media

6

The importance of understanding id

id is very important in HTML, this allows you to give an id your element. Meaning you can locate it!


id should always have unique value this way it knows what to link.

media

7

Name and placeholder

The purpose of a name is used to give a name that can be used for action on Javascript.


Placeholder is great for telling users what it is!

media

8

Live Demo Time!

Let's do a live demo! Which will break down what we see in this image

media

9

Multiple Choice

Question image

What HTML input type is used to create this password field?

1

<input type="text">

2

<input type="submit">

3

<input type="password">

4

<input type="radio">

10

Fill in the Blanks

Type answer...

11

Multiple Choice

Question image

What form elements are used in creating this text field?

1

<select> and <option>

2

<label> and <input>

3

<textarea> and <input>

4

<select> and <input>

12

Multiple Select

HTML form is used for/to

1

Collect user input

2

It is not a section of a document

3

Contains password control only

4

Users can enter data in specific fields

5

to capture website visitors' information

13

Multiple Select

Which of the following paired correctly?

1

<button> : it defines a clickable button.

2

<fieldset> : it defines an HTML form to enter inputs by the user.

3

<label> : it defines a label for an input element.

4

<textarea> : it defines a caption for a <fieldset> element.

14

Multiple Choice

The _______ tag is used to create an HTML form for user input.

1

<fieldset>

2

<input>

3

<form>

4

<label>

15

web page not embeddable

HTML Tutorial: Learn HTML For Free | CodecademyMini Arrow Down IconCodecademy LogoArrow Chevron Down Filled IconArrow Chevron Down Filled IconArrow Chevron Down Filled IconSearch IconCodecademy LogoMenu IconTwitter IconFacebook IconInstagram IconYoutube Icon

You can open this webpage in a new tab.

HTML Forms

How to build a form on your website

media

Show answer

Auto Play

Slide 1 / 15

SLIDE