purpose of label for attribute code example Example: label for attribute <label for="username">Click me</label> <input type="text" id="username">