Back Code Run <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> </head> <body> <form> <h2>Hobbies</h2> <input type="checkbox" id="writing" value="writing"> <label for="writing">Writing</label> <br> <input type="checkbox" id="photograph" value="photograph"> <label for="photograph">Photograph</label> <br> <input type="checkbox" id="cooking" value="cooking"> <label for="cooking">Cooking</label> <br><br> <input type="submit" value="Submit"> </form> </body> </html> Result