Label HTML

HTML <label> Tag: To define a label for an input element, the HTML <label> Tag is used. To write a parser, browser-friendly and user-friendly, the use of HTML <label> Tag is recommended in HTML forms. Example: <!DOCTYPE html> <html> <body> <form> <label for=”name”>Name:</label><br/> <input type=”text” id=”name” name=”name”/> <br/> <label for=”city”>City:</label><br/> <input type=”text” id=”city” name=”city”/> <br/> … Read more