Input
Output
<html> <body> <form action="/submit" method="post"> <fieldset> <legend>Personal Information</legend> <label for="fname">First Name:</label> <input type="text" id="fname" name="firstname"><br><br> <label for="lname">Last Name:</label> <input type="text" id="lname" name="lastname"><br><br> <label for="email">Email:</label> <input type="email" id="email" name="email"> </fieldset> <br> <fieldset> <legend>Account Settings</legend> <label for="username">Username:</label> <input type="text" id="username" name="username"><br><br> <label for="password">Password:</label> <input type="password" id="password" name="password"> </fieldset> <br> <input type="submit" value="Register"> </form> </body> </html>