Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> <style> fieldset { background: #abffb3; } legend { padding: 20px 0; font-size: 20px; } div { margin-bottom: 10px; } label { display: inline-block; width: 100px; } </style> </head> <body> <form> <fieldset> <legend>Personal Information:</legend> <div> <label>Name:</label> <input type="text"> </div> <div> <label> Surname:</label> <input type="text"> </div> <div> <label>Date of birth:</label> <input type="number"> </div> </fieldset> </form> </body> </html>