index.html
<!DOCTYPE html>
<html>
<head>
    <title>Frontend to Backend Example</title>
</head>
<body>
    <h1>Frontend to Backend Example</h1>
    <form action="backend.php" method="POST">
        <label for="name">Name:</label>
        <input type="text" id="name" name="name" required><br><br>
        <label for="email">Email:</label>
        <input type="email" id="email" name="email" required><br><br>
        <input type="submit" value="Submit">
    </form>
</body>
</html>