211k views
0 votes
What do those codes do???

What do those codes do???-example-1
User Erik Fubel
by
4.4k points

1 Answer

3 votes

Step-by-step explanation:

Essentially,

<label for="fname"> First Name: </label>

Creates a label under "fname". The text that will be displayed is First Name.

<input type="text" id="fname" name="fname"

The input type is searching for text, which will be the user's entered name. After collecting the name, it then stores it into "fname".

Example:

First Name:

[enter name]

The same concept goes towards the botton email section as well.

Hope this helps! ^-^

-Isa

User Abderrahmane
by
4.0k points