Toggle navigation
Genres
Frontend (2)
JavaScript (6)
Database (2)
Linux Server (3)
Web Apps (4)
Misc (4)
Search
List
New Tutorials
Last Modified Tutorials
</>
Code examples
code
smiko
frontend
html
examples
forms
30fieldset_legend_css.html
30fieldset_legend_css.html
<!DOCTYPE HTML> <html lang="hr"> <head> <meta charset="UTF-8"> <title>Fieldset and Legend</title> </head> <body> <fieldset style="border:1px solid green;width:100px;padding:10px;background-color:#EEF5D6;"> <legend style="color:#eee;font-weight:bold;background-color:Green;padding:3px;">Personal Data</legend> <form action="" method="POST" enctype="application/x-www-form-urlencoded"> first name: <input type="text" name="ime"> <br> <br>e-mail: <input type="text" name="email"> <br> <br><input type="submit" value="send"> </form> </fieldset> </body> </html>
Reload page
Preview
W3C validation
Edit Code