Edit

HTML label Tag

The <label> tag is used to display the text in large size. We can apply label tag to <button>, <input>, <meter>, <output>, <progress>, <select>, or <textarea> element. 

Example of Code

<body>
  <label for = "email">EMAIL-ID:<br /> 
     <input type = "email" value = "" name = "emailid"
     size = "30" placeholder = "Enter a valid email address"><br />
  <label for = "phone">PHONE NO:<br /> 
     <input type = "text" value = "" name = "phno"
     size = "30" maxlength = "10" placeholder = "Enter a valid phone number"
     pattern = "[0-9]{10}">
</body>

Output