<!DOCTYPE html>
<
html
>
<
body
>
<
h1
style
=
"text-align: center; color: green;"
>
GeeksforGeeks
</
h1
>
<
form
style
=
"text-align: center;"
>
<
label
for
=
"name"
style
=
"display: block; margin-bottom: 10px;"
>
Name:
</
label
>
<
input
type
=
"text"
name
=
"name"
id
=
"name"
required
style="padding: 5px; border-radius: 5px;
border: 1px solid #ccc; margin-bottom: 10px;">
<
label
for
=
"class"
style
=
"display: block; margin-bottom: 10px;"
>
Class:
</
label
>
<
input
type
=
"text"
name
=
"class"
id
=
"class"
required
style="padding: 5px; border-radius: 5px;
border: 1px solid #ccc; margin-bottom: 10px;">
<
label
for
=
"date"
style
=
"display: block; margin-bottom: 10px;"
>
Enter a date (YYYY-MM-DD):
</
label
>
<
input
type
=
"text"
name
=
"date"
id
=
"date"
pattern
=
"\d{4}-\d{2}-\d{2}"
required
style="padding: 5px; border-radius: 5px;
border: 1px solid #ccc; margin-bottom: 10px;">
<
input
type
=
"submit"
value
=
"Submit"
style="background-color: green; color: #fff;
padding: 10px 20px; border-radius: 5px;
border: none; cursor: pointer;">
</
form
>
</
body
>
</
html
>