<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Student ID Card Maker</title> <link rel="stylesheet" href="styles.css"> </head> <body> <div class="container"> <h1>Student ID Card Maker</h1> <form id="idCardForm"> <label for="bgImage">Background Image:</label> <input type="file" id="bgImage" name="bgImage" accept="image/*" required><br><br> <label for="name">Name:</label> <input type="text" id="name" name="name" required><br><br> <label for="studentID">Student ID:</label> <input type="text" id="studentID" name="studentID" required><br><br> <label for="department">Department:</label> <input type="text" id="department" name="department" required><br><br> <label for="photo">Photo:</label> <input type="file" id="photo" name="photo" accept="image/*" required><br><br> <button type="submit">Generate ID Card</button> </form> <div id="idCardPreview"></div> </div> <script src="script.js"></script> </body> </html>