52,555 views
4 votes
4 votes
What do those codes do???

What do those codes do???-example-1
User Jacefarm
by
3.4k points

1 Answer

16 votes
16 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 Yam
by
3.0k points