This is the source code from the HTML5 Tutorial For Beginners. In this source code, you are going to learn about HTML 5 – Fieldset and Legend.
<!DOCTYPE html> <html> <head> <title>My first web page</title> </head> <body> <form> <fieldset> <legend> Personal Information: </legend> First Name: <input type="text" name="firstname"> <br /> Last Name: <input type="text" name="lastname"> <br /> <input type="submit" value="Submit"> </fieldset> </form> </body> </html>