The HTML <label> tag is used to specify a label for an <input> element.
The HTML <label> tag is used to specify a label for an <input> element.
See this example:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Example of HTML Label Tag</title>
</head>
<body>
<form action="#">
<label for="email">Email Id:</label><input type="email" value="" name="email_id" placeholder="Enter a valid email" />
</form>
</body>
</html>