Skip to main content
added 2 characters in body
Source Link
Uwe Keim
  • 40.9k
  • 61
  • 193
  • 311

In a nutshell what it does is refer to the idid of the input, that's all:

<label for="the-id-of-the-input">Input here:</label>
<input type="text" name="the-name-of-input" id="the-id-of-the-input">

In a nutshell what it does is refer to the id of the input, that's all:

<label for="the-id-of-the-input">Input here:</label>
<input type="text" name="the-name-of-input" id="the-id-of-the-input">

In a nutshell what it does is refer to the id of the input, that's all:

<label for="the-id-of-the-input">Input here:</label>
<input type="text" name="the-name-of-input" id="the-id-of-the-input">
use same id; use always double quotes
Source Link
superjos
  • 12.8k
  • 6
  • 95
  • 143

In a nutshell what it does is refer to the id of the input, that's all:

<label for="the-id-of-the-input">Input here:</label>
<input type='text'type="text" name='theinput'name="the-name-of-input" id='theinput'>id="the-id-of-the-input">

In a nutshell what it does is refer to the id of the input, that's all:

<label for="the-id-of-the-input">Input here:</label>
<input type='text' name='theinput' id='theinput'>

In a nutshell what it does is refer to the id of the input, that's all:

<label for="the-id-of-the-input">Input here:</label>
<input type="text" name="the-name-of-input" id="the-id-of-the-input">
Source Link
user4133690
user4133690

In a nutshell what it does is refer to the id of the input, that's all:

<label for="the-id-of-the-input">Input here:</label>
<input type='text' name='theinput' id='theinput'>