Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

html label tag

<!-- First Way -->
<label for="username">Username</label>
<!-- You can now assign id="username" so when you click on label element, it will go to the element. -->
<input type="text" id="username" />
<!-- Second Way -->
<label>
  Password
  <input type="text" />
</label>
 
PREVIOUS NEXT
Tagged: #html #label #tag
ADD COMMENT
Topic
Name
4+7 =