Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions forms.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
<html>
<head>
<title>
Introduction to Forms
Introduction to Forms in PHP
</title>
</head>
<body>
<body>\
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove the slash at the end of body tag.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for informing me

<h5> Here you can learn about how to create form using php as a backend</h5>

<!--simple textbox-->
<form action="server side url/filename" method="post">
Expand All @@ -17,8 +18,8 @@
<br />
<!-- TextBox with Password type-->
<form>
User Name: <input type="text" name="txtUserName" /><br />
Password : <input type="password" name="txtPassword" /><br />
User Name: <input type="text" name="txtUserName" id ="textUserName /><br />
Password : <input type="password" name="txtPassword" id ="password /><br />
</form>

<br />
Expand All @@ -42,13 +43,14 @@
Please Select your Gender <br />
<input type="radio" name="rdGender" Value="Male"/> Male
<input type="radio" name="rdGender" Value="FeMale" /> Female
<input type="radio" name="rdGender" Value="FeMale" /> Other
</form>

<br />
<br />
<!--Select Option-->
<form action="" method="get">
Please Select your Education:
Please Select your Desire Education:
<select name="slEdu">
<option value="Matric">Matric</option>
<option value="Inter">I.C.S/F.S.C/F.A</option>
Expand All @@ -71,4 +73,4 @@
Time: <input type="time" name="txtTime"/><br />
</form>
</body>
</html>
</html>